Vibrato
class Effect ↳ extends Effect<VibratoOptions>
A Vibrato effect composed of a Tone.Delay and a Tone.LFO. The LFO modulates the delayTime of the delay, causing the pitch to rise and fall.
Constructor
Section titled “Constructor”new Vibrato(frequency?: Frequency, depth?: number)Parameters
-
frequency
FrequencyoptionalThe frequency of the vibrato.
-
depth
numberoptionalThe amount the pitch is modulated.
new Vibrato(options?: Partial<VibratoOptions>)Parameters
- options
Partial<VibratoOptions>optional
Properties
Section titled “Properties”frequency
Section titled “frequency”read-only
frequency: Signal<"frequency">The frequency of the vibrato
↳ inherited from Effect
wet: Signal<"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
Section titled “Methods”getDefaults()
Section titled “getDefaults()”static
getDefaults(): VibratoOptionsReturns all of the default options belonging to the class.
Returns VibratoOptions
Inherited members
Section titled “Inherited members”- From
ToneWithContext: context, blockTime, sampleTime, get(), immediate(), now(), set(), toFrequency(), toSeconds(), toTicks() - From
Tone: debug, version, disposed, toString() - From
ToneAudioNode: channelCount, channelCountMode, channelInterpretation, numberOfInputs, numberOfOutputs, chain(), connect(), disconnect(), fan(), toDestination(), toMaster()