Chebyshev
class Effect ↳ extends Effect<ChebyshevOptions>
Chebyshev is a waveshaper 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.
// create a new cheby
const cheby = new Tone.Chebyshev(50).toDestination();
// create a monosynth connected to our cheby
const synth = new Tone.MonoSynth().connect(cheby);
synth.triggerAttackRelease("C2", 0.4);Constructor
Section titled “Constructor”new Chebyshev(order?: number)Parameters
-
order
numberoptionalThe order of the chebyshev polynomial. Normal range between 1-100.
new Chebyshev(options?: Partial<ChebyshevOptions>)Parameters
- options
Partial<ChebyshevOptions>optional
Properties
Section titled “Properties”↳ 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.
order: numberThe order of the Chebyshev polynomial which creates the equation which is applied to the incoming signal through a Tone.WaveShaper. Must be an integer. The equations are in the form:
order 2: 2x^2 + 1order 3: 4x^3 + 3xRange: 1 to 100
oversample
Section titled “oversample”oversample: OverSampleTypeThe oversampling of the effect. Can either be “none”, “2x” or “4x”.
Methods
Section titled “Methods”getDefaults()
Section titled “getDefaults()”static
getDefaults(): ChebyshevOptionsReturns all of the default options belonging to the class.
Returns ChebyshevOptions
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()