-
... ap a single slider's action f.mapCC( \sl01 , { |ccval| "PFKtl test: ccval %\n" .postf(ccval) }); // warns if no midi info for that key f.mapCC( \wrongKey , { |ccval| "PFKtl test: ccval %\n" .postf(ccval) }); Class Variables *verbose // a fl ...
-
... var diffString, returnValues; oldTokens = oldTokens ? prevTokens; if(verbose) { postf("old tokens:%\nnew tokens:%\n", oldTokens, newTokens) }; if(oldTokens == newTokens) { ^this.prKeepAll(oldTokens) }; // shortcut. identity sometimes causes ...
-
... refcount = 0; ~fftdict = (); ~maxIndex = a.size; fork { "--- bitte warten ...".postln; (a.size-1).do { |i| refcount = refcount + 1; a.getFFT(i, 1, ~fftSize, { |c| ~fftdict[i] = c.magnitude; i.postln; }); }; "-----ready------ (% entries)".f ...
-
... FSArrayPanSynthDefs.generateAll( { |defs| d = defs } ); // takes apx 30s, watch post window ) d; // these are all the array defs // result: 104 files with a total size of 2.7MB SynthDef.synthDefDir.openInFinder; ( // loading goes quite fast ...
-
... lues and provides noumerous ways for handling timecode. The object shows in the post window as an array with hours, minutes, seconds, frames and subFrames. All values are rounded to whole numbers except the subframes. Used by SMPTEView, Tra ...
-
... E. ( var args, caseName, testName, mode, resultFile, test, blocks, current, lastPost; var quietWait, runCmd, finish, headless; args = thisProcess.argv; #caseName, testName, mode, resultFile = args; mode = (mode ? "check").asSymbol; headless ...
-
... arr = aString.split($ ).reject({arg i ; i=="" ; }) ; // strip away spaces //arr.postln ; // the grammar case // avoid bad strings { specials.select ({ arg i ; (i.asSymbol == arr[0].asSymbol)}).size == 0 } { "unknown command".postln } // ope ...
-
... Buffer.read( server: Server.default, path: path ); // does entry already exist? Post a warning if yes if(dict[key.asSymbol].notNil, { ("WARNING: " ++ key.asString ++ " already existed in the dictionary and is being overwritten.").postln; }) ...
-
... mode f.mapCCS(1, \kn08 , { |chan, ccnum, val| "PDKtl test: ch % cc % val % \n" .postf(chan, ccnum, val); "map val here with a spec..." }); ) ( // in scene one, map a single knob's action in endless mode f.endless = true ; f.mapCCS(1, \kn08 ...
-
... ; NoteOnResponder({ arg src, chan, note, vel; if(ports[src].isNil) { // true == post warning // warning should not post repeatedly // unless the MIDI subsystem replies with random uids for each message! this.portForSource(src, true); }; [0x ...