Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (953) Code (42) Doc (312) Help (77) Quark (517) Plugin (5) SCDoc ↗ Forum ↗ Google ↗
  1. 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 ...

  2. 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 ...

  3. 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 ...

  4. 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 ...

  5. 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 ...

  6. OSCClockSender Quark

    ... h ++ "/time", clock.seconds.asString, freq); } ); // we want to get called once every 1/freq secs. (1.0/freq); } ); } ); } /** Stop sending */ stop { if (verbose == true, {"[OSCClockSender]: stopping..".postln; }); state = \stopped; } }

  7. UVoicer Quark

    ... Controller( next ) .put( \end, { if( next.isKindOf( UPattern ) or: { next.units.every({ |unit| unit.synths.size == 0 }) } ) { events[ note ].remove( next ); ctrl.remove; }; }); ^next; } startEvent { |note = 69, value = 0.5| events[ note ] = ...

  8. Scala Quark

    ... s and creates a Tuning basedon them. It can also generate a Scale that includes every interval in the Tuning. See Tuning for the principle methods. More information about the Scala file format, and a link to the scale library, can be found ...

  9. CutMixer Quark

    ... immediate? //perhaps need to have a version which doesn't keep updating volume every cut, only update if different CutMixer : CutSynth { var <outbus,<>ampfunc, <>panfunc, <>volume; var synthid; var lastvol, lastpan; *initClass { StartUp.ad ...

  10. ArduinoQuaternion Quark

    ... dev/tty.AdafruitEZ-Link416c-SPP", 38400) // set the action to be performed with every new // reading of the sensor. yaw, pitch, and roll are // passed into your action function a.action = { |y,p,r| [ y,p,r ].raddeg.postln}; a.setHome a.clea ...

prev 11 12 13 14 15 16 17 18 19 20 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow