Tone.Pow

↳ EXTENDS Tone.SignalBase

Pow applies an exponent to the incoming signal. The incoming signal must be AudioRange.

CONSTRUCTOR

new Tone.Pow (
exp
)
exp

The exponent to apply to the incoming signal, must be at least 2.

EXAMPLE

var pow = new Tone.Pow(2);
var sig = new Tone.Signal(0.5).connect(pow);
//output of pow is 0.25. 

Members

.value

↝ number #

The value of the exponent.

</>

Methods

.dispose ( )

#
↪ returns Tone.Pow

this

Clean up.

</>
docs generated Sep 15 2019