Class: AutoPanner

AutoPanner

new AutoPanner(rate, amount)

AutoPanner creates a left-right panner effect (not a 3D panner).
Parameters:
Name Type Argument Description
rate number <optional>
(optional) rate in HZ of the left-right pan
amount number <optional>
(optional) of the pan in dB (0 - 1)
Source:

Methods

setAmount(amount)

Set the amount of the AutoPanner.
Parameters:
Name Type Description
amount number in dB (0 - 1)
Source:

setFrequency(rate)

Set frequency of the oscillator attached to the AutoPanner.
Parameters:
Name Type Description
rate number | string in HZ of the oscillator's frequency.
Source:

setType(type)

Set the type of oscillator attached to the AutoPanner.
Parameters:
Name Type Description
type string of oscillator the panner is attached to (sine|sawtooth|triangle|square)
Source:

start(Time)

Start the panner
Parameters:
Name Type Description
Time Tone.Time the panner begins.
Source:

stop(time)

Stop the panner
Parameters:
Name Type Description
time Tone.Time the panner stops.
Source: