-
... ike this... (only standard patterns) a= Pbind(\dur, 0.25, \freq, Pn(Pstutter(4, Pseq([800, 400])))+(sin(Ptime()/Pkey(\dur)*2pi*(1/40))*10).trace).play a.stop //and the equivalent (well, roughly) synth as well... (compare how time is handled ...
-
... octave: 3, amp: 0.4, dur: 3.0, scale: Scale.minor, degree: Pseq([7, 6, 2, 3, 5], inf), legato: 1.1 ]).play; ) // contributors so far: nathan ho
-
... nition ( ~d = ( def: { SinOsc.ar(\freq.kr(440)) * EnvPerc.ar }, dur: 0.5, freq: Pseq([440, 880], inf) ) ) ⧉ ✔ helpfile source: /tmp/scquark_hs/AlgaLib/HelpSource/Classes/AlgaProxySpace.schelp link::Classes/AlgaProxySpace::
-
... le must act on grace notes before the notes are embedded in the stream // thus, PseqFunc // change in ~useRh will take effect only at segment boundaries ~asNotePattern = #{ |passInValue| var dur, length, rhy, out; out = (passInValue[\useRh] ...
-
... ed at the time of evaluating the resulting function or stream. 1 |==| 1 // true Pseq([1], inf) == 1 // false (because "a Pseq" is not 1) Pseq([1], inf) |==| 1 // a Pbinop (Pseq([1], inf) |==| 1).asStream.next // Pbinop evaluates to true ⧉ ✔ ...
-
... 0] = 97; e.a[0] = 96; // ... or arrays f.a = (72, 72.5..77); e.a = [60]; e.a = [Pseq([60, 47.5]) + [0, 5], [61, 65.5]]; x.stop; y.stop; ////////////////////// // placeholder may also get lists of event patterns ( p = PLrand(\a); ~a = [ Pbin ...
-
... // update array ~a = [59, 85]; // update index pattern, used to stop also ~w = Pseq ([0, 0, 1], 5); ////////////////////// // placeholder may also get lists of event patterns ( p = PLswitch1 ( \a , \w ); ~a = [ Pbind ( \midinote , Pwhite ( ...
-
... ).notNil.if({ pos = pos + stepp }, { ^inval }); }, { ^inval }); }); ^inval; } } PseqFunc : Pseq { // executes a function on the list item before embedding in stream // if func is nil, the item is used as is var <func; *new { |list, repeats ...
-
... //play the digits Pbind( \instrument, \digitsplayer, \freq, Pseq(digits.mirror2+60).midicps, \cutoff, 500*(a+1), \dur, 0.1 ).play; 0.8.wait; //play greatest and smallest if (smallest < 15 ...
-
... , 3); r = Pfxb (q, \distort , \pregain , 20, \amp , 0.25); o = Pfxb (r, \wah ); Pseq ([p, q, r, o], 2).play; ) // test order of effect chain ( SynthDef ( \echo , { arg out=0, maxdtime=0.2, dtime=0.2, decay=2, gate=1; var env, in; env = Line ...