define(["Tone/core/Tone", "Tone/signal/EqualZero"], function(Tone){ "use strict"; /** * @class Just an alias for EqualZero. but has the same effect as a NOT operator. * Outputs 1 when input equals 0. * * @constructor * @extends {Tone.SignalBase} * @example * var not = new Tone.NOT(); * var sig = new Tone.Signal(1).connect(not); * //output of not equals 0. * sig.value = 0; * //output of not equals 1. */ Tone.NOT = Tone.EqualZero; return Tone.NOT; });