Tone.js/Tone/signal/NOT.js
Yotam Mann 2e753b80dc renamed Tone.Not -> Tone.NOT
much clearer this way.
2014-09-24 14:44:56 -04:00

15 lines
No EOL
321 B
JavaScript

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}
*/
Tone.NOT = Tone.EqualZero;
return Tone.NOT;
});