Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1381) Code (129) Doc (443) Help (138) Quark (657) Plugin (14) SCDoc ↗ Forum ↗ Google ↗
  1. ServerPatternTriggering2 Quark

    ... nf), freqBuffers, bufSeries2, loop:0)); //[trig, id].poll(trig); // can remove, just for display Pause.kr(trig, id); }.play(outbus: 1000, args: [bufnum: ~nodeIDs, freqBuffers: ~freqBuffers, neutralID: ~dummy.nodeID]); ) ~dummy.free; b.free; ...

  2. PullSet Quark

    ... pec(obj, paramName); }).asSpec; currVal = obj.get(paramName); // can't tell, so just do it if (currVal.isNil or: {spec.isNil}) { ^[paramName, value] }; // if we have a current value and a spec if (spec.notNil) { newValNorm = spec.unmap(valu ...

  3. OffsetCP Quark

    ... ngth- phrasepos; nextblock= dofunc.value(beatsleft, currphraselength, block); //just overlap in scheduling if a problem cuts=(nextblock.at(0))*(durationscale.value); //always new slice/roll to calculate blocklength=cuts.sum; //safety to for ...

  4. 03. GeoGraphyAudio Quark

    ... eed to inherit from GoeAudio // initAudio is not necessary here // so we use it just to let you know that it can be used initAudio { "nothing to do here" .postln } // this method is simply a container for the synthDef you like sendDef { // ...

  5. scrolless by vividsnow (vividsnow) Code

    ... lobal dict loc = ( //and define local(this file) dict, but if don't need it - just return anonymously selector: { |self, ev| self.at([\p1,\p2].choose).fn(ev) }, // sample selector p1: ( // some object fn: { |self, ev| // reciev ...

  6. RedVector Doc

    ... olute differences as a Float . (vec1-vec2).abs.sum . Discussion: Sometimes when just comparing distances it is not necessary to perform pow2 and sqrt calculations. In those situations this method will be a lot faster than -distance . . dot ...

  7. SS_SCMIRAudioFileNormalization Quark

    ... al)*maxminusminr; }); temp = temp+ numfeatures; }); } { //everything is already just one value, leave array alone }; ^array; } quantileFeature { |array, which=0, num=1, numquantiles=10, useglobal=false| var percentiles, numqr; //maxminusmin ...

  8. 177-springs_double Doc

    ... r2 = RedSpring(obj2, trg, 0.7, 0.92, 100); //--loop w.draw{ if(mp!=w.mouse, { //just to keep target in middle if no mouse input trg.loc= w.mouse; }); spr1.update2; //here interconnect first white dot with red dot spr2.update2; //here interc ...

  9. 177-springs_double Quark

    ... r2 = RedSpring(obj2, trg, 0.7, 0.92, 100); //--loop w.draw{ if(mp!=w.mouse, { //just to keep target in middle if no mouse input trg.loc= w.mouse; }); spr1.update2; //here interconnect first white dot with red dot spr2.update2; //here interc ...

  10. Radial loudness meter by snappizz (snappizz) Code

    ... This is entirely interchangeable with a loudness algorithm of your // choice. Just make sure that the values returned are in [0..1]. SynthDef(\loudness, { |in = 0, shortRate = 6, longRate = 6| var sig, chain, loudness; sig = In.ar( ...

prev 31 32 33 34 35 36 37 38 39 40 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow