Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... ormalizeValues: true ); ) // Register a singular responder function that simply posts everything ( c.func_({|val, chan, cc1, cc2| "Received value: %, cc1: %, cc2: %, chan: %".format(val, cc1, cc2, chan).postln; }) ) // Register a collection ...

  2. 02-First-Steps Doc

    ... Hello World!' to well, wherever it prints text. In SC that's a place called the post window. The post window is the one that opened up when you first started SC, and a bunch of stuff was printed there which looks something like this: init_O ...

  3. ProcEvents Doc

    ... GUI should advance */ ( s.boot; s.waitForBoot({ a = ProcEvents.new([ [{"event1".postln}, nil], [{"event2".postln}, nil], [{"event3".postln}, nil], [{"event4".postln}, nil], [{"event5".postln}, nil], [{"event6".postln}, nil], [{"event7".post ...

  4. Pipe Doc

    ... nts in long format l = p.getLine; // get the first line while({ l.notNil }, { l.postln; l = p.getLine }); // post until l = nil p.close; // close the pipe to avoid that nasty buildup ) ⧉ ✔ without using a shell: // this pipes in stdout from ...

  5. AbstractPlayerGui Doc

    ... ay button stop button [ ] free button tempo control save button save as #path - post the path # - post the object as a compile string Class Methods Inherited class methods Instance Methods . gui Arguments: parent bounds ... args . backgroun ...

  6. EventList Doc

    ... to a time grid. // printing is quite flexible: a.print; ""; // name the keys to post first: a.print([\dur]); ""; // and post the rest or not: a.print([\dur], false);""; a.print([\absTime, \dur], true);""; a.print([\absTime, \dur], false);"" ...

  7. MKtlDesc Doc

    ... older userFolder folderName descFolders addFolder openFolder loadDescs allDescs postStatus postLoadable postLoaded descKeysUsed deviceTypesUsed elementTypesUsed notePair notePairs isValidDescDict new at fromFileName fromDict findFile fromPa ...

  8. Stream Doc

    ... vs. a FuncStream ( f = { 33.rand }; x = FuncStream(f); 10.do({ [f.next, x.next].postln }); ) ⧉ ✔ // Example 2: the reset function ( f = { 33.rand }; x = FuncStream(f, { thisThread.randSeed_(345) }); x.reset; 10.do({ [f.next, x.next].postln ...

  9. MIDIMonitor Doc

    ... umMsgTypes chanMsgTypes allMsgTypes start stop monitoring verbose trace msgTree postTree treeAt sources srcAt msgTypes midiNumsAt indexForSrcID Inherited class methods Instance methods Inherited instance methods Classes (extension) | Utilit ...

  10. DataSequencer Doc

    ... n time (~ board sample rate) d.dataAction= {|num, data, accel| if(num==0, {data.postln})}; //only post every 256th d.dataAction= nil; //measure delta time. the following should post 1/sr (~0.004 default for cyton) t= 0; d.dataAction= {|num, ...

prev 1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow