Skip to content
Tone.js

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.

new Vibrato(frequency?: Frequency, depth?: number)

Parameters

  • frequency Frequency optional

    The frequency of the vibrato.

  • depth number optional

    The amount the pitch is modulated.

new Vibrato(options?: Partial<VibratoOptions>)

Parameters

read-only

depth: Param<"normalRange">

The depth of the vibrato.

read-only

frequency: Signal<"frequency">

The frequency of the vibrato

↳ inherited from Effect

input: Gain

The effect input node

read-only

name: string

The name of the class

Default: "Vibrato"

↳ inherited from Effect

output: CrossFade

The effect output

↳ 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.

Type of oscillator attached to the Vibrato.

dispose(): this

Dispose and disconnect

Returns this

static

getDefaults(): VibratoOptions

Returns all of the default options belonging to the class.

Returns VibratoOptions