Tone.OR
↳ EXTENDS Tone.SignalBaseOR the inputs together. True if at least one of the inputs is true.
CONSTRUCTOR
new Tone.OR ( [inputCount
= 2 ]
)
inputCount
the input count
type:
number
default:
2
EXAMPLE
var or = new Tone.OR(2);
var sigA = new Tone.Signal(0)connect(or, 0, 0);
var sigB = new Tone.Signal(1)connect(or, 0, 1);
//output of or is 1 because at least
//one of the inputs is equal to 1. - dispose
METHODS