Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (786) Code (22) Doc (235) Help (67) Quark (457) Plugin (5) SCDoc ↗ Forum ↗ Google ↗
  1. WFSFocusDetector Quark

    ... ss = true } { vectors = size.collect({ |i| cornerPoints[i] - cornerPoints[(i-1).wrap(0,size-1)] }); }; } kr { |point = (0@0)| if( bypass ) { ^1 } { ^(vectors.collect({ |v,i| ( (v.x * (point.y - cornerPoints[i].y)) - (v.y * (point.x - corner ...

  2. steinberg-cmc-pd_port2.desc Quark

    ... lative knob: m.elAt(\kn).action = { |el| var delta = el.deviceValue.fold(0, 64).wrap(-31, 32); [el.deviceValue, delta].postln; }; // use it to control a parameter with RelSet m.trace(false); Ndef(\test, { |freq = 600| VarSaw.ar(freq) * 0.1 ...

  3. Position Quark

    ... d; } next { previous = current; current = current + 1; this.changed; ^current } wrapNext { arg min,max; previous = current; current = (current + 1).wrap(min,max); this.changed; ^current } }

  4. Position Quark

    ... d; } next { previous = current; current = current + 1; this.changed; ^current } wrapNext { arg min, max; previous = current; current = (current + 1).wrap(min, max); this.changed; ^current } }

  5. MoscaSpatializer Quark

    ... nvGen.kr(Env.asr(0.02, 1, 0.02), gate, doneAction: 2); // ADD envelope SynthDef.wrap(playInFunc[j], prependArgs: [ p, channum ]); p.value = p.value * env; // Apply envelope early in chain dRad = Lag.kr(rrad, 1.0); dopamnt = Lag.kr(dopamnt, ...

  6. msc-synthdefs Quark

    ... _playback_sig * (gesture_rec_disarmed)) + (gesture_sig * gesture_rec_armed); // wrap at end of buffer writing to account for all changes to position live_pos_sig = [ live_pos_sig[0].wrap(-180, 180).linlin(-180, 180, 0, 1), live_pos_sig[1].w ...

  7. addSimpleNumber Quark

    ... , numturns + 1, maxturns, origval) }, { ^this; }) }, { "Your Number couldn't be wrapped into the desired range. Check your parameters or increase maxturns.".warn; ^origval; }) } mapIntoBounds {arg low, high, steps = 12; var tmp, dif; (low > ...

  8. Diamond Quark

    ... n a n-iad of ratios start: The index in the lattice row in which to start. This wraps if need be. orientation: Use true for utonality or false for otonailty. niad: The number of contigious ratios to return in the chord. This defaults to 3 f ...

  9. OssiaAutomationProxy Quark

    ... domain:[[-pi, -pi, -pi], [pi, pi, pi]], default_value:[0, 0, 0], bounding_mode:'wrap', critical:allCritical, repetition_filter:true); ossiaOrient.unit_(OSSIA_orientation.euler); heading = AutomationProxy(0.0); pitch = AutomationProxy(0.0); ...

  10. TorusPanAz Quark

    ... idal shaped setups. Can also be used for cylinders where panning beyond the top wraps back into the bottom. *ar(numSpeakers, in, hPos, vPos, level, hWidth, vWidth) numSpeakers number of speakers per ring, default is #[ 16, 12, 8, 4 ] in the ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow