Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (3519) Code (203) Doc (848) Help (193) Quark (2225) Plugin (50) SCDoc ↗ Forum ↗ Google ↗
  1. trig_select Quark

    ... st value. trigger: switch to next value reset: return to first value step: step size reverse: if true, step backwards instead of forward range: min and max index to choose from lag: lag time between steps (linear lag) vals: the values of th ...

  2. RadTest Quark

    ... plit($\n).collect{|line| line.stripWhiteSpace.isEmpty.if({""}, { var end = line.size - 1; while({ end >= 0 and: { line[end].isSpace } }, { end = end - 1 }); line.copyRange(0, end) })}.join("\n"); // Numbers measured from timing (a timed rec ...

  3. GTriangle Quark

    ... = [1, 1, 0], normal = [0, 0, 1]; if (((vector1 ++ vector2 ++ vector3 ++ normal).size == 12), { ^this.multiNewList(['audio'] ++ vector1 ++ vector2 ++ vector3); }, { ^this.multiNew('audio', 'argh, vector and normal in wrong format'); }) } }

  4. Markov Chain Experiment II by jacobjoaquin (Jacob Joaquin) Code

    ... ain here: http://codehop.com/supercollider-markov-chain/ */ ( // Synthesizer SynthDef(\my_synth, {|dur = 1.0, amp = 1.0, freq = 440| var env = EnvGen.ar(Env.new([1, 0.1, 0], [0.06, dur - 0.06]), doneAction: 2); Out.ar([0, 1], ...

  5. 005-multiple_synth Doc

    ... rand(14); RedObject(world, loc, vel, 0, mass, mass*5); //world,loc,vel,acc,mass,size }.dup(n); //--loop w.draw{ Pen.strokeColor= Color.black; Pen.fillColor= Color.red(1, 0.7); world.objects.do{|o| var osize, freq, amp, pan; o.addForce(world ...

  6. Plazy Doc

    ... a = Plazy({ var x, y; x = Array.series(rrand(2, 4), [1, 5].choose, 1); x.put(x.size.rand, 8+0.1.rand2); Pseq(x, 1); }); x = Pn(a, inf).asStream; Routine({ loop({ Synth(\help_sinegrain, [\freq, (x.next*5+70).midicps]); 0.13.wait; }) }).play ...

  7. 005-multiple_synth Quark

    ... rand(14); RedObject(world, loc, vel, 0, mass, mass*5); //world,loc,vel,acc,mass,size }.dup(n); //--loop w.draw{ Pen.strokeColor= Color.black; Pen.fillColor= Color.red(1, 0.7); world.objects.do{|o| var osize, freq, amp, pan; o.addForce(world ...

  8. XiiSlicer Quark

    ... nil ) { buffer = XQ.globalBufferDict.at(poolName)[0][bufferPop.value] }; boxes.size.do ({ arg i; try { var srate = 44100; var synthdef; if ( server.actualSampleRate != nil ) { srate = server.actualSampleRate } ; if ( buffer.numChannels == ...

  9. UX Quark

    ... ys; var numIns = keys.select{ |key| "u_i_ar_.*_bus".matchRegexp(key.asString) }.size; var numOuts = keys.select{ |key| "u_o_ar_.*_bus".matchRegexp(key.asString) }.size; if(numIns > 1) { Error("UX - must use Udef with no more then one audio ...

  10. BusMonitor Quark

    ... This creates a GNUPlot.monitor on the bus, with an update time of 0.05, a data size of 1000, and a skip of 20. You can also get a BusHistoMonitor directly from a control bus, by calling bus.monitor See also: GNUPlot You need to have GNUPlo ...

prev 131 132 133 134 135 136 137 138 139 140 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow