Tone.Expr

↳ EXTENDS Tone.SignalBase

Evaluate an expression at audio rate.

Parsing code modified from https://code.google.com/p/tapdigit/ Copyright 2011 2012 Ariya Hidayat, New BSD License

CONSTRUCTOR

new Tone.Expr (
expr
)
expr

the expression to generate

type: string

EXAMPLE

//adds the signals from input[0] and input[1].
var expr = new Tone.Expr("$0 + $1");

Members

.input

↝ Array #

The inputs. The length is determined by the expression.

</>

.output

↝ Tone #

The output node is the result of the expression

</>

Methods

.dispose ( )

#

clean up

</>
docs generated Sep 15 2019