Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1643) Code (228) Doc (514) Help (194) Quark (697) Plugin (10) SCDoc ↗ Forum ↗ Google ↗
  1. MIDIPort Quark

    ... DIIn.connect(2, MIDIClient.sources[1]) *init { |sourceInports| var srctemp; var randsrc; // now set up MIDIIn // if a MIDI message is on a channel not defined, it will be passed // to whatever function was in MIDIIn before initialization in ...

  2. XiiPitchCircle Quark

    ... edge; aHLDots = []; if(win.isNil, { win = GUI.window.new( "Pitch circle", Rect(rrand(0, 50), rrand(10, 500), width, height), false ).front; win.view.background_(Color.new255(240, 240, 240)); // grey win.view.decorator=FlowLayout(win.view.bo ...

  3. FbNode Quark

    ... ar fbNode = FbNode ( 2 , 1.0 ); var signal = Mix .fill( 10 ,{fbNode.delay( 1.0 .rand)}); fbNode.write(in + (signal* 0.1 )); // if you want, you can use FbNode as a normal multi-tap delay, just by not adding in the // feedback signal here. s ...

  4. AutomationClient Quark

    ... te.stamp; while({File.exists(backupname)},{ backupname = filename ++ "_" ++ 999.rand; }); ("mv" + filename + backupname).systemCmd; }; // now write it out. f = File(filename, "wb"); if (f.isOpen.not) { ("Automation: FAILED to open `" ++ fil ...

  5. MIDIPort Quark

    ... nect(2, MIDIClient.externalSources[1]) *init { |sourceInports| var srctemp; var randsrc; var extSources; // now set up MIDIIn // if a MIDI message is on a channel not defined, it will be passed // to whatever function was in MIDIIn before i ...

  6. CtkBuffer Quark

    ... uffer (size: 2048); a.load(sync: true ); a.set(0.0, 0, Array .fill(1024, {-1.0.rrand(1.0)})); b = { PlayBuf .ar(1, a, loop: 1)}.play(s); // change the values in the buffer a.set(0.0, 1024, Array .fill(1024, {-1.0.rrand(1.0)})); // zero it o ...

  7. preprocessor-generators Quark

    ... of repeats ~makeStream = { ~seqStream = Pdup( Pfunc { max(1, ~offset.next) }, Prand(~pool.asArray, inf) ).collect(_.item).asStream; }; ~embedInStream = { |inval| Pdup(Pfunc { max(1, ~offset.next) }, Prand(~pool)).embedInStream(inval) }; ~s ...

  8. GettingStartedWithChucklib Quark

    ... erVariable = 20; // store a function in the Environment ~aMethod = { ~aVariable.rand; // the function's return value is the method's result }; ~anotherMethod = { // you can call this Proto's methods by value-ing the function rrand(~aMethod. ...

  9. GettingStartedWithChucklib Quark

    ... erVariable = 20; // store a function in the Environment ~aMethod = { ~aVariable.rand; // the function's return value is the method's result }; ~anotherMethod = { // you can call this Proto's methods by value-ing the function rrand(~aMethod. ...

  10. Automation Quark

    ... Automation will seek to that position. Pitfalls: * If a slider seems to take a random value at each rewind, it's probably because you haven't recorded a starting value for it. (The slider keeps its previous level, might seem "random".) Eac ...

prev 61 62 63 64 65 66 67 68 69 70 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow