Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1299) Code (80) Doc (443) Help (108) Quark (663) Plugin (5) SCDoc ↗ Forum ↗ Google ↗
  1. PFKtl Quark

    ... 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 ...

  2. DiffString Quark

    ... 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 ...

  3. mrkov Quark

    ... 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 ...

  4. load panner synthdefs Quark

    ... 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 ...

  5. SMPTE Quark

    ... 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 ...

  6. child Quark

    ... 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 ...

  7. graphParser Quark

    ... 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 ...

  8. SCLOrkSamples Quark

    ... 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; }) ...

  9. PDKtl Quark

    ... 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 ...

  10. MIDIPort Quark

    ... ; 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 ...

prev 41 42 43 44 45 46 47 48 49 50 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow