Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1702) Code (152) Doc (537) Help (191) Quark (806) Plugin (16) SCDoc ↗ Forum ↗ Google ↗
  1. Event patterns and LFOs Quark

    ... , \amp , 0.05, \dur , 0.15 ).play; ) p.stop; // you can use modulo calculus for looping ( p = Pbind ( \dev , Ptime ().collect { |t| e[t % (e.times.sum)] }, \midinote , Pkey ( \dev ) + 60 + [0, 4], \amp , 0.05, \dur , 0.15 ).play; ) p.stop; ...

  2. CtkBuffer Quark

    ... ); a.set(0.0, 0, Array .fill(1024, {-1.0.rrand(1.0)})); b = { PlayBuf .ar(1, a, loop: 1)}.play(s); // change the values in the buffer a.set(0.0, 1024, Array .fill(1024, {-1.0.rrand(1.0)})); // zero it out a.zero; // refill them a.set(0.0, 0 ...

  3. DOMDocument Quark

    ... ( s[pos] == ch[0] , { // found a character to replace with entity (first run of loop must replace & with &) r = "&" ++ standardEntities.at(ch) ++ ";"; s = s.copyFromStart(pos - 1) ++ r ++ s.copyToEnd(pos + 1); pos = pos + r.size; },{ pos = ...

  4. HISTORY Quark

    ... Fix handling of modified headers with invalid dates - perf: improve ETag match loop - perf: improve `If-None-Match` token parsing 0.15.4 / 2017-08-05 =================== * deps: debug@2.6.8 * deps: depd@~1.1.1 - Remove unnecessary `Buffer` ...

  5. AnaUtils Quark

    ... BufRateScale.kr(soundBufnum), startPos: start * BufSampleRate.kr(soundBufnum), loop: 0) * env; // note the window type and overlaps... this is important for resynth parameters chain = FFT(bufnum, in, hop, winType); chain = PV_RecordBuf(cha ...

  6. MackieControl Quark

    ... ]); dict.putTree( 'transport', [ \rewind, 0, \forward, 0, \stop, 0, \play, 0, \loop, 0, \record, 0, \r, 0, \w, 0 ]); this.changed( \init ); } selected_ { |newSelection = 0| selected = newSelection; this.changed( \selected, selected ); if( ...

  7. EnvScaleView Quark

    ... tingsView,bottomSettingsView,numGridLinesPerUnit,vhorzGridDist,selGridLineCoord,loopStartNode,loopEndNode,timeIncr,timeStep,uI,breakPointCoords,curvePointCoords,<>selectedBreakPoint,breakPointTime,envGrid,envGridHeight,<action; classvar uni ...

  8. JMDecompiler Quark

    ... ch, hit antecedents first conn[\antecedents].do { |antecedent| // in a feedback loop, the antecedent will have the descendant // as its own antecedent // avoid infinite recursion by breaking the chain connections[antecedent].antecedents.rem ...

  9. SynthTracker Quark

    ... { oldRoutines.do( _.stop ); SynthTracker.cleanRoutines; }; routine = Routine({ loop { while { SynthTracker.isRunning(defName, minCount) } { time.wait; }; func.value; while { SynthTracker.isRunning(defName).not } { time.wait; }; }; }); rout ...

  10. CHANGELOG Quark

    ... do({ var bank = AlgaNode(\sines); reverb <<+ bank; }); //Print CPU usage fork { loop { ("CPU: " ++ s.avgCPU.asStringPrec(4) ++ " %").postln; 1.wait; } } } ) //Boot Alga with the supernova server //Alga will automatically spread the load acr ...

prev 71 72 73 74 75 76 77 78 79 80 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow