Tone.AutoPanner
↳ EXTENDS Tone.EffectTone.AutoPanner is a Tone.Panner with an LFO connected to the pan amount. More on using autopanners here.
CONSTRUCTOR
new Tone.AutoPanner ( [frequency
]
)
DEFAULTS
{
frequency
:
1
,
type
:
sine
,
depth
:
1
}
EXAMPLE
//create an autopanner and start it's LFO
var autoPanner = new Tone.AutoPanner("4n").toMaster().start();
//route an oscillator through the panner and start it
var oscillator = new Tone.Oscillator().connect(autoPanner).start();Members
∿
.depth
↝ NormalRange #The amount of panning between left and right. 0 = always center. 1 = full range between left and right.
↳ inherited from
Tone.Effect
∿
.wet
↝ NormalRange #The wet control is how much of the effected will pass through to the output. 1 = 100% effected signal, 0 = 100% dry signal.
Methods
.start ( )
#
time
When the LFO will start.
type:
Time
default:
now
↪ returns
Tone.AutoPanner
this
Start the effect.
.stop ( )
#
time
When the LFO will stop.
type:
Time
default:
now
↪ returns
Tone.AutoPanner
this
Stop the effect.
.sync ( )
#
delay
Delay time before starting the effect after the Transport has started.
type:
Time
default:
0
↪ returns
Tone.AutoPanner
this
Sync the panner to the transport.