Tone.Chebyshev

↳ EXTENDS Tone.Effect

Tone.ChebyShev is a Chebyshev waveshaper, an effect which is good for making different types of distortion sounds. Note that odd orders sound very different from even ones, and order = 1 is no change. Read more at music.columbia.edu.

CONSTRUCTOR

new Tone.Chebyshev ( [
order
] )
order

The order of the chebyshev polynomial. Normal range between 1-100.

optional

DEFAULTS

{
order : 1 ,
oversample : none
}

EXAMPLE

//create a new cheby
var cheby = new Tone.Chebyshev(50);
//create a monosynth connected to our cheby
synth = new Tone.MonoSynth().connect(cheby);

Members

.order

Positive #

The order of the Chebyshev polynomial which creates the equation which is applied to the incoming signal through a Tone.WaveShaper. The equations are in the form:
order 2: 2x^2 + 1
order 3: 4x^3 + 3x

</>

.oversample

string #

The oversampling of the effect. Can either be “none”, “2x” or “4x”.

</>
inherited from Tone.AudioNode

.context

Tone.Context READONLY #

Get the audio context belonging to this instance.

</>
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

.dispose ( )

#
↪ returns Tone.Chebyshev

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