Tone.AutoWah
↳ EXTENDS Tone.EffectTone.AutoWah connects a Tone.Follower to a bandpass filter (Tone.Filter). The frequency of the filter is adjusted proportionally to the incoming signal’s amplitude. Inspiration from Tuna.js.
CONSTRUCTOR
new Tone.AutoWah ( [The frequency the filter is set to at the low point of the wah
The number of octaves above the baseFrequency the filter will sweep to when fully open
The decibel threshold sensitivity for the incoming signal. Normal range of -40 to 0.
DEFAULTS
EXAMPLE
Members
.sensitivity
↝ Decibels #The sensitivity to control how responsive to the input signal the filter is.
.context
↝ Tone.Context READONLY #Get the audio context belonging to this instance.
.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
.connect ( )
#optionally which output to connect from
optionally which input to connect to
this
connect the output of a ToneNode to an AudioParam, AudioNode, or ToneNode
.disconnect ( )
#Either the output index to disconnect if the output is an array, or the node to disconnect from.
this
disconnect the output
.toMaster ( )
#this
Connect ‘this’ to the master output. Shorthand for this.connect(Tone.Master)