-
... 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 ...
-
... 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 ...
-
... 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 ...
-
... 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 ...
-
... 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 ...
-
... 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) ...
-
... 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 ...
-
... - 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 ...
-
... 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 ...
-
... ); 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 ...