Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (2937) Code (123) Doc (1095) Help (322) Quark (1383) Plugin (14) SCDoc ↗ Forum ↗ Google ↗
  1. readme Quark

    ... e exports a class `Limiter` that implements some of the `Array` API. Pass async functions (ones that accept a callback or return a promise) to an instance's additive array methods. ## Motivation Certain functions, like `zlib`, have [undesir ...

  2. Gen Quark

    ... nStream class defined in Stream.sc can wrap a Gen as a Stream. */ Gen : AbstractFunction { var <>current; *new { arg current; ^super.newCopyArgs(current) } genCurrent { ^current } genNext { ^this.next } next { ^nil } value { ^this } storeAr ...

  3. TestFunction Quark

    TestFunction : UnitTest { test_function_scope { var generator, list, result, a; generator = { var x = 0; { |y| a = x = x + y } }; list = 10.collect(generator); result = list.collect { |each, i| each.value(i) }; this.assert(result == (0..9), ...

  4. extFile-checkDo Quark

    ... eDir { |dir = ""| ^dir.makeDir; } *checkDo { // open file to write to, evaluate function, and close it again // - everything you need in one method // - asks for options when ask == true and file exists // - generates new name when overwrit ...

  5. InteractiveEnvironment Quark

    InteractiveEnvironment { // Dimple instance var <>dimple; // Function to invoke to create the virtual environment var <>creationFunc; // Function to be invoked for every object created in the virtual environment var <>objectFunc; // Map fro ...

  6. KeyCodeResponder Quark

    ... const <controlModifier = 0x00040000; const <optionModifier = 0x00080000; const <functionKeyModifier = 0x00800000; const <commandModifier = 0x00100000; /* classvar <>normalModifier=0,<>shiftModifier=0x00020000,<>controlModifier=0x00040000, < ...

  7. KeyCodeResponder Quark

    ... const <controlModifier = 0x00040000; const <optionModifier = 0x00080000; const <functionKeyModifier = 0x00800000; const <commandModifier = 0x00100000; /* classvar <>normalModifier=0, <>shiftModifier=0x00020000, <>controlModifier=0x00040000, ...

  8. BufferSystem Quark

    ... ffers, { bufcount = bufcount + 1; }, { bufcount = 0; }); } *read {arg pathName, function, channels; var buffer, globVar; this.new; if(server.serverRunning, { server.makeBundle(nil, { { bufAlloc = true; globVar = "~buffer" ++ bufcount; globV ...

  9. SWWatcherNode Quark

    ... nc, dt=0.05 ) Creates a node that regularly (at time interval dt ) performs the function func , and puts the data resulting from the function onto the network as a node with id . The function must return an Array with values. start ( ) Star ...

  10. BStore Quark

    ... skBufSize=1, <>cueCount=1, <>allocCount=1; *addRaw {arg type, format, settings, function; var path, boolean, typeStore, existFormat, bstoreIDs, filesInFolder; this.updateFree; bstoreIDs = this.bstoreIDs; case {type == \play} { path = this.g ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow