-
... mes ( Pdef ( \Kendhangan , Pbind ( \instKey , \Kendhang , \noteKey , Pstutter ( Prand ([2,3,4], inf ), Pseq ( VGSamp .instDicts.neutral[ \Kendhang ].keys.asArray, inf )), \amp , 1, \dur , Prand ( [1/4, 1/8, 1/8], inf ), \samp , Pfunc ({ |ev ...
-
... - Pdefn ( \a )); // (re)define Pdefn(\c) 8.do { t.value.postln }; Pdefn ( \a , Prand ([1, 4, 2], inf )); // (re)define Pdefn(\a) Embedding Pdefn in other patterns Pdefn ( \x , Pseq ([1, 2, 3], inf )); x = Pseq ([0, 0, Pdefn ( \x )], inf ). ...
-
... \dur, 0.2).trace.play; // replace elements ~a[0] = 72.5; ~a[1] = 74.5; ~a[2] = Prand([85, 86, 87]); // replace array // Ptuple and PLtuple start with new embedding of ALL patterns // if one ends, so here default repeats = inf of PLshuf has ...
-
... Within a given range rrand(24, 48) // linear distribution in the given range. exprand(0.01, 1) // exponential distribution; // both numbers must have the same sign. // (Note that the distribution of numbers is not exactly an exponential dis ...
-
... series(0, 1, Pwavesets.currentSize - 1))).play; Pwavesets(Pbind(\name, Pdup(30, Prand([\one, \two], inf)), \start, Pseries(0, 1, Pwavesets.currentSize - 1))).play; ( Pwavesets( Pseq([ (start: 56, num: 78, name: \one), (start: 123, num: 78, ...
-
... sustain: 0.1, amp: 0.1, out: verbBus ]); synOctaveSeq = Pseq([Prand([1,2], 8), Pwrand([1,2,3], [0.25, 0.5, 0.25], 10)], inf); syn = Pbind(*[ instrument: \randomAddSynth, note: Prand([2.5,5.5,3.5,4.3,4.7], inf ...
-
... ould just pass in your own protoEvent to the play method. ( Pbind( \instrument, Prand([\help_SPE7_BerlinB, \help_SPE7_CFString1],inf), \degree, Pseq([0,1,2,4,6,3,4,8],inf), \dur, 0.8, \octave, 3, \amp, 0.03 ).play; // this returns an EventS ...
-
... (snd, pan)); }).add; // Buffer list bufferList = List.newClear(1); // Prand won't like if initial list is empty // Pattern pattern = Pbind( \instrument, "grain-asr", \buffer, Prand(bufferList, inf), \bufnum, Pfunc ...
-
... lements can be dynamically replaced by Patterns or Streams. repeats - Symbol or Prand repeats arg. Defaults to inf. If a Symbol is passed, repeats can be assigned to an envir variable later on. cutItems - Symbol or Boolean or Integer (0 or ...
-
... or example SinOsc works. Generators PBlip PClipNoise PCuspN PDC PDust PDust2 PExpRand PFBSineN PFSinOsc PGbmanN PHenonN PImpulse PIRand PLatoocarfianN PLFClipNoise PLFNoise0 PLFNoise1 PLFNoise2 PLFPulse PLFSaw PLFTri PLinCongN PLine PLorenz ...