-
... eName = noteNameAll[0].asString; var isSharp = noteNameAll.contains("#"); // boolean //[noteNameAll, noteName, octNumber, isSharp].postln; var midiNumber = (octNumber +1) * 12; switch( noteName, "c", { midiNumber = midiNumb ...
-
... about the next lines: // http://supercollider.sourceforge.net/wiki/index.php/Boolean_logic_in_the_server wingFreq = Select.ar(wingFreq > 0, [K2A.ar(MouseX.kr(0, 300)), wingFreq]); wingRes = Select.ar(wingRes > 0, [K2A.ar(MouseY.kr(3 ...
-
... eName = noteNameAll[0].asString; var isSharp = noteNameAll.contains("#"); // boolean //[noteNameAll, noteName, octNumber, isSharp].postln; var midiNumber = (octNumber +1) * 12; switch( noteName, "c", { midiNumber = midiNumbe ...
-
... all the input event streams (and signals) *** //button value are converted to boolean since we will be doing checks on their value mostly var flatPads = q.buts.flat; var allButtonsESs = (flatPads[0..2]++flatPads[4..]).collect{ |x| x.e ...