Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... t a Function").algaThrow; }); // build the controls from args output = SynthDef.wrap(func, rates, prependArgs); output = output.asUGenInput; //Invalid return value if(output == nil, { Error("AlgaSynthDef: could not retrieve the return value ...

  2. Radicles Quark

    ... count; count = min; schedFunc = { |a,b| if(a.isNumber, { if(loop, { func.(count.wrap(min,max)); count = count + 1}, { if(count <= max, { func.(count); count = count + 1 }); }); }); }; } *specUnmap {arg unmapVal, thisSpec, thisFunc; var spec ...

  3. AutomationClient Quark

    ... sor; } // records the GUI's current value at the given time. // You may have to wrap this in a defer{ ... } (Mac). snapshot {|now| var cursor = recordCursor; cursor = this.record(now, controllableThing.value); if ((recordCursor >= 0) && (cu ...

  4. macroRh Quark

    ... creating a nested process, always chuck the inner layer into the BP first, then wrap the outer layer around it. // Inner layer: note generator PR ( \arpeg1 ) => BP ( \chord ); // Outer layer: chord parameters PR ( \macroRh ) => BP ( \chord ...

  5. macroRh Quark

    ... creating a nested process, always chuck the inner layer into the BP first, then wrap the outer layer around it. // Inner layer: note generator PR ( \arpeg1 ) => BP ( \chord ); // Outer layer: chord parameters PR ( \macroRh ) => BP ( \chord ...

  6. SPList Quark

    ... g at { arg i; ^array.at(i) } clipAt { arg i; ^array.at(i.clip(0,this.size -1))} wrapAt { arg i; ^array.at(i.wrap(0,this.size -1))} foldAt { arg i; ^array.at(i.fold(0,this.size -1))} put { arg i, item; item.parent_(this); ^array.put(i, item) ...

  7. XiiSlicer Quark

    ... here mylength = length; if (mysttime > (width + displays[0].bounds.left), { // wrap on right mysttime = mysttime % width; mylength = length; if (mylength > width, { // cut on right mylength = width; }); }); if (mysttime + mylength < displa ...

  8. FreqSpectrum Quark

    ... - in place principalPhase { phase = this.phase.sin.atan2(this.phase.cos) } // unwrap phase - via group delay /* assume signal is real, i.e., mirrored spectrum */ continuousPhase { arg groupDelay; var size, halfsize, rfftsize; var principalP ...

  9. PLx suite Quark

    ... typing which is saved by PLx Patterns (lazy evaluation). They are either plain wrapper classes or include variant implementations for the most common pattern types and deliver a more or less unified way for the described kind of placeholdi ...

  10. sStream Quark

    ... ); Pdefn(\sStream_lvPitches_index, Pseq(indices, inf)); pitches= lvPitchesArray.wrapAt(indices); if(lvScaleButtonElement.value==1, { pitches= pitches.collect{|x| x.nearestInScale(scales[lvScaleList.value])}; }); Pdefn(\sStream_pitches, Pseq ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow