Tone.Clip

↳ EXTENDS Tone.SignalBase

Clip the incoming signal so that the output is always between min and max.

CONSTRUCTOR

new Tone.Clip (
min
,
max
)
min

the minimum value of the outgoing signal

type: number
max

the maximum value of the outgoing signal

type: number

EXAMPLE

var clip = new Tone.Clip(0.5, 1);
var osc = new Tone.Oscillator().connect(clip);
//clips the output of the oscillator to between 0.5 and 1.

Members

∿

.max

↝ Number #

The max clip value

</>
∿

.min

↝ Number #

The min clip value

</>

Methods

.dispose ( )

#
↪ returns Tone.Clip

this

clean up

</>
docs generated Sep 15 2019