Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    /* An environment that can storing and retrieving functions Will not evaluate the functions when retrieved which is a necessary condition for doing functional programming. ( x = Namespace.make{ ~f = { |x| x + 1 }; ~g = { |x| x + 10 }; } ) ( ...

  2. SortedNList Quark

    SortedNList : SortedList { var <>maxSize = 8; *new { |maxSize=8, function| ^super.new(maxSize, function).maxSize_(maxSize) } add { |item| // just add if (this.size < maxSize) { ^super.add(item) }; // when maxsize, only add if better than la ...

  3. SETO_OSCServer Quark

    ... CServer(netaddr); } start{ interface.start; } stop{ interface.stop; } setFunc_{|function| setFunc = function; OSCReceiverFunction(interface, \set, setFunc); } aliveFunc_{|function| aliveFunc = function; OSCReceiverFunction(interface, \alive ...

  4. Bend Quark

    ... f = LFSaw .kr(0.4, 0, 24, LFSaw .kr([8,7.23], 0, 3, 80)).midicps; // glissando function CombN .ar( SinOsc .ar(f, 0, 0.04), 0.2, 0.2, 4) // echoing sine wave }) }.play) ( // random bent analog bubbles, probablity of a bend is 0.6, intensity ...

  5. Bend Quark

    ... f = LFSaw .kr(0.4, 0, 24, LFSaw .kr([8,7.23], 0, 3, 80)).midicps; // glissando function CombN .ar( SinOsc .ar(f, 0, 0.04), 0.2, 0.2, 4) // echoing sine wave }) }.play) ( // random bent analog bubbles, probablity of a bend is 0.6, intensity ...

  6. Sensitivity Quark

    ... gen - jamshark70@dewdrop-world.net // if value ranges from 0..1: // sense == 0: function always returns 1 // sense == 0.5: function ranges from 0.5..1 // sense == 1: function ranges from 0..1 (unchanged) // this mimics the sensitivity param ...

  7. Sensitivity Quark

    ... gen - jamshark70@dewdrop-world.net // if value ranges from 0..1: // sense == 0: function always returns 1 // sense == 0.5: function ranges from 0.5..1 // sense == 1: function ranges from 0..1 (unchanged) // this mimics the sensitivity param ...

  8. PLnaryFunc Quark

    PLnaryFunc dynamic scope Pnaryop variant for Functions Part of: miSCellaneous Inherits from: Pnaryop Takes Symbol args for later reference by the Streams, which will read from variables in the Environments of their instantiation. See PLx su ...

  9. VoicerProcessGroup Quark

    ... g the information for one state. Here, however, each state also needs an action function and a task: [ [ "Label", { action }, { arg v; { task } } or nil, foreground color, background color ], [ "Label", { action }, ..... ] ..... ] The actio ...

  10. VoicerProcessGroup Quark

    ... g the information for one state. Here, however, each state also needs an action function and a task: [ [ "Label", { action }, { arg v; { task } } or nil, foreground color, background color ], [ "Label", { action }, ..... ] ..... ] The actio ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow