-
Neuromodule : Stream { /* x: one-dimensional array, with init values theta: one-dimensional array, with inputs weight: two-dimensional array with weights from ... to outs: if not nil, select those indices as a return for calling the next me ...
-
... 2]; } next { ^value } streamCode { |stream| // trickier than you think. // non-patterns --> Pfunc({ expr }); patterns --> no Pfunc. // we have to evaluate the expression to know which is which. // avoid code duplication in the generated st ...
-
PR(\break) Breakbeat slicer, based on bufPerc . The handling of the rhythm arrays is fundamentally the same as in bufPerc. What is different in break is the handling of the starting playback position in the buffer. bufPerc assumes that you ...
-
PseqFunc : Pseq PseqFunc executes a function on each list item before embedding the item in the stream. This is different from Pattern:collect, which executes the function on the values yielded by the stream. This is useful for manipulating ...
-
/* numeric patterns that play within min and max */ Instr([\minmax, \wrapgeom], { arg grow=1.05, length=0, min=0.0, max=1.0; # min, max = [min, max].sort; // gets chaotic Pwrap( Pgeom(if(grow > 1, {min}, {max}), grow, length.infer), min, ma ...
-
PR(\break) Breakbeat slicer, based on bufPerc . The handling of the rhythm arrays is fundamentally the same as in bufPerc. What is different in break is the handling of the starting playback position in the buffer. bufPerc assumes that you ...
-
PseqFunc : Pseq PseqFunc executes a function on each list item before embedding the item in the stream. This is different from Pattern:collect, which executes the function on the values yielded by the stream. This is useful for manipulating ...
-
/* Here's a continuation of what I did with feedbackPad1. The core of the sound is a triangle this time, and the feedback from it is used in different ways. While feedbackPad1 uses phase modulation, feedbackPad2 uses frequency modulation. T ...
-
... c(\maxfreq, \freq); // get rid of unused \freq Tdef(\tink).set(\freq, nil); /// patterns go into Pdefs to be globally accessible! Pdef(\test, Pbind( \note, Pbrown(0, 12, 2), \dur, 1/6 ) ).play; // PdefAllGui.new; //// or use Butz window sho ...
-
AudioSpec : Spec { var <>numChannels; *new { arg numChannels; ^super.new.numChannels_(numChannels) } *initClass { var mono,stereo,either; either = AudioSpec(nil); mono=AudioSpec(1); stereo=AudioSpec(2); specs.addAll( [ \audio -> either, \au ...