Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (953) Code (42) Doc (312) Help (77) Quark (517) Plugin (5) SCDoc ↗ Forum ↗ Google ↗
  1. TempoClick Quark

    ... re SynthDef("TempoClick", { arg tempo = 1, subd = 1, bus = 0; // kill the synth every beat - this helps the client enforce sync Line.kr(0, 1, tempo.reciprocal, doneAction:2); Out.kr(bus, Impulse.kr(tempo * subd)); }).send(server); aliveThre ...

  2. ServerTreeView Doc

    ... ed to variable s: s.boot; // Play a repeating pattern that triggers a new synth every 0.4 seconds: x = Pn((dur: 0.4, midinote: 69, amp: 0.1)).play; // Create a ServerTreeView instance assigned to variable a: a = ServerTreeView(s) // Start p ...

  3. jitlib_basic_concepts_03 Help

    ... hdef has random elements. UGens like Rand(300, 400) create new random values on every send, while client-side random functions like exprand(1, 1.3) only get built once; to force new decisions with these, one can use rebuild . ( ~z = { Splay ...

  4. TempoClick Quark

    ... re SynthDef("TempoClick", { arg tempo = 1, subd = 1, bus = 0; // kill the synth every beat - this helps the client enforce sync Line.kr(0, 1, tempo.reciprocal, doneAction:2); Out.kr(bus, Impulse.kr(tempo * subd)); }).send(server); aliveThre ...

  5. DebounceCounter Doc

    ... ys get a double click. You can use DebounceCounter to only execute the function every nth time within a certain period. This means you can use mouseUpAction too, which has no clickCount, and is much better for use in lists or TreeViews. See ...

  6. FilterCoef Quark

    ... ros.notNil }, { //Only multiply factors if poles or zeros are supplied if(zeros.every({ |item| item.magnitude == 0 }), { acoefs = Polynomial[1] }, { acoefs = zeros.neg.multiplyFactors }); if(poles.every({ |item| item.magnitude == 0 }), { bc ...

  7. DynKlang Doc

    ... , 24, 12]), [0.3, 0.3, 0.3], [pi, pi, pi] ] ) * 0.1 }; ) // building new synths every 2 seconds ( fork { loop { play { var mod = SinOsc.kr(Rand(0.1, 0.9), 0, Rand(5, 20)); Pan2.ar(DynKlang.ar(`[Array.rand(12, 200.0, 2000.0), 1, mod]), 1.0.r ...

  8. PLtuple Quark

    ... so here default repeats = inf of PLshuf has no effect: // new permutation with every loop as Pshuf has repeats = 1 ~a = [ Pshuf ((60..65)), 70, PLshuf ((75..80)) ]; // both Patterns have repeats = inf, // permutation is kept ~a = [ PLshuf ...

  9. extVarGui_3 Quark

    ... ors[varCtrColorPairs[k][0] + varOffset].at(varCtrColorPairs[k][1]); varCtr[i+1].every(_.isSequenceableCollection).if { varCtr[i+1].do({|item,j| str = varCtr[i].asString ++ "[" ++ j.asString ++ "]" ++ " "; cview.decorator.nextLine; cview.dec ...

  10. plusSymbol Quark

    ... |default, label, minval, maxval, warp, step| if( [ minval, maxval, warp, step ].every(_.isNil) ) { Udef.addBuildSpec( ArgSpec(this, default, TriggerSpec(label)) ); } { Udef.addBuildSpec( ArgSpec(this, default, TriggerSpec(label, ControlSpec ...

prev 21 22 23 24 25 26 27 28 29 30 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow