Tone.FeedbackCombFilter

↳ EXTENDS Tone.AudioNode

Comb filters are basic building blocks for physical modeling. Read more about comb filters on CCRMA’s website.

CONSTRUCTOR

new Tone.FeedbackCombFilter ( [
delayTime
] , [
resonance
] )
delayTime

The delay time of the filter.

optional
resonance

The amount of feedback the filter has.

optional

DEFAULTS

{
delayTime : 0.1 ,
resonance : 0.5
}

Members

.delayTime

Time #

The amount of delay of the comb filter.

</>

.resonance

NormalRange #

The amount of feedback of the delayed signal.

</>
inherited from Tone.AudioNode

.context

Tone.Context READONLY #

Get the audio context belonging to this instance.

</>

Methods

.dispose ( )

#
↪ returns Tone.FeedbackCombFilter

this

clean up

</>
inherited from Tone.AudioNode

.connect ( )

#
outputNum

optionally which output to connect from

type: number
default: 0
inputNum

optionally which input to connect to

type: number
default: 0
↪ returns Tone.AudioNode

this

connect the output of a ToneNode to an AudioParam, AudioNode, or ToneNode

</>
inherited from Tone.AudioNode

.disconnect ( )

#
output

Either the output index to disconnect if the output is an array, or the node to disconnect from.

↪ returns Tone.AudioNode

this

disconnect the output

</>
inherited from Tone.AudioNode

.toMaster ( )

#
↪ returns Tone.AudioNode

this

Connect ‘this’ to the master output. Shorthand for this.connect(Tone.Master)

EXAMPLE

//connect an oscillator to the master output
var osc = new Tone.Oscillator().toMaster();
</>
docs generated Sep 15 2019