-
... , [ \instrument , \simpleMorph , \midinote , Pkey ( \val ) * 30 + 60 + [0, 9] + Pxrand ([0, 1.5, -1.5], inf ), \amp , 0.07, \morphQ , Pkey ( \val ) ] ).play(c,q); ) // sync it with a normal pbind (EventStreamPlayer) with default instrument ...
-
... r while it's trivial with Psmartstutter. p = Psmartstutter ( Pfunc ({ |n| n }), Pxrand ((1..5), inf )).asStream; p.nextN(20); [ 1, 5, 5, 5, 5, 5, 4, 4, 4, 4, 3, 3, 3, 1, 2, 2, 3, 3, 3, 2 ] If you want lower return values to be repeated more ...
-
... r while it's trivial with Psmartstutter. p = Psmartstutter ( Pfunc ({ |n| n }), Pxrand ((1..5), inf )).asStream; p.nextN(20); [ 1, 5, 5, 5, 5, 5, 4, 4, 4, 4, 3, 3, 3, 1, 2, 2, 3, 3, 3, 2 ] If you want lower return values to be repeated more ...
-
... ({ Pn(notes.asChord, 1) }, { Pn(notes, 1) }); } => ArpegPat(\block); #{ |notes| Pxrand(notes, inf) } => ArpegPat(\xrand); #{ |notes| Pseq(notes.sort, inf) } => ArpegPat(\up); #{ |notes| Pseq(notes.sort({ |a, b| a > b }), inf) } => ArpegPat( ...
-
... ({ Pn(notes.asChord, 1) }, { Pn(notes, 1) }); } => ArpegPat(\block); #{ |notes| Pxrand(notes, inf) } => ArpegPat(\xrand); #{ |notes| Pseq(notes.sort, inf) } => ArpegPat(\up); #{ |notes| Pseq(notes.sort({ |a, b| a > b }), inf) } => ArpegPat( ...
-
... ~rhythms [ _ ]).flatten * 0.3, \midinote , Pstutter ( Pwhite (1, 2), Pclump (3, Pxrand ((50..100), inf ))).flatten + [0, 12], \pan , Pstutter ( Pwhite (1, 2), Pclump (3, Pwhite (-1.0, 1))).flatten ).play; ) p.stop Ex.8) Proof of concept ( / ...
-
... .global.read; BP ( \flexscale ).play; // chuck new patterns into the variables Pxrand ((0..7), inf ) =>.degree BP ( \flexscale ); Pwrand ([0.25, Pseq ([0.25, 0.125], 1)], [2, 1].normalizeSum, inf ) =>.delta BP ( \flexscale ); // assignment ...
-
... .global.read; BP ( \flexscale ).play; // chuck new patterns into the variables Pxrand ((0..7), inf ) =>.degree BP ( \flexscale ); Pwrand ([0.25, Pseq ([0.25, 0.125], 1)], [2, 1].normalizeSum, inf ) =>.delta BP ( \flexscale ); // assignment ...
-
... ~rhythms [ _ ]).flatten * 0.3, \midinote , Pstutter ( Pwhite (1, 2), Pclump (3, Pxrand ((50..100), inf ))).flatten + [0, 12], \pan , Pstutter ( Pwhite (1, 2), Pclump (3, Pwhite (-1.0, 1))).flatten ).play; ) // more variation by larger devia ...
-
... ivial example (sc output in purple): ( n = Proto .new({ // a variable ~stream = Pxrand ([0, 2, 4, 5, 7, 9, 11], inf ).asStream; // a "method" ~next = { ~stream.next }; }); // keep the method, but change the variable o = n.clone({ ~stream = ...