Constant signal of 0 or 1
bool = T("boolean", value=false);
bool = T(false);
bool.value; // [Boolean]
// Toggle true/false
bool.bang();
bool = T(true);
sin = T("sin", 880, 0.25);
synth = T("*", bool, sin).play();
// push [bang] button to execute the below code
synth.onbang = function() {
bool.bang();
};
bool = T(false);
bool.add = 660;
bool.mul = 220;
synth = T("fami", bool, 0.25).play();
// push [bang] button to execute the below code
synth.onbang = function() {
bool.bang();
};