-
... ld hear a C major triad in first inversion. ( p = Pbind ( \degree , Pseries (7, Pwhite (1, 3, inf ) * Prand (#[-1, 1], inf ), inf ).fold(0, 14) + Prand (#[[0, -2, -4], [0, -3, -5], [0, -2, -5], [0, -1, -4]], inf ), \dur , Pwrand (#[1, 0.5], ...
-
... env * amp)); }).add; Pdef(\lfo_demo, Pbind(\instrument, \temposync, \dur, Pwhite(0.1, 1.0, inf), \legato, 1, \tbeat, Pfunc({thisThread.clock.beats}), \tempo, Pfunc({thisThread.clock.tempo}), ));
-
... efix: "rhythm type: ") .collect(~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 ...
-
... sp. p y.nextN(10) // data sharing with event patterns ( p = Pbind ( \midinote , Pwhite (60, 90) + PLrand ([0, 0, [0, -3]]), \dur , PLrand ([0.2, 0.4]), \amp , PLrand ([0.07, 0.12, 0.2]), \type , Pfunc { 0.1.coin.if { \rest }{ \note } }, \pa ...
-
... nd( 50 ) ); dur = [ Pseq( [ 0.15.rrand( 0.2 ), Pwhite( 1.0, 4.0, 1 ) ], inf ), Pgauss( 3.rrand( 4.0 ), 1.0, 1 ) ].wchoose( [ 0.05, 0.95 ] ); amp = [ rrand( -35.0, -28.0 ...
-
... e, Pseq((3..0)))); // Random scale degrees Pdef(\c, Pbind(\dur, 0.125, \degree, Pwhite(0, 10, 8))); // Use the L-system to put together a sequence of keys // Psym will then retrieve the patterns from the global Pdef dictionary // See the po ...
-
... ction: 2)) // inverse FFT }).add; ) ( Pbind ( \instrument , \fftgrain , \rate , Pwhite ().linexp(0, 1, 0.01, 300), \legato , Pwhite (1, 3.0, inf ), \dur , Prand ([0.2, 1, 1.2], inf ) ).play ) // IndexL ( { var buf = LocalBuf .newFrom((0..5) ...
-
... ow"); // using it in a Pbind ( Pbind( \instrument, "wow", \freq, Pwhite(50, 2000), \dur, Pwhite(0.5, 2), \amp, 1 ).play; ) ( SynthDef("guitar2", { arg freq, amp, pan = 0; var out, pluck, period, string; fr ...
-
... ttom ) + ~chord, \freq , Pfunc ({ |ev| ev[ \mode ].cps(ev[ \notes ]) }), \dur , Pwhite (1, 4, inf ) * 0.5, \instrument , \default ).play; p.stop; // better way if you do this kind of thing often: // create a new protoevent, replacing the ~f ...
-
... ttom ) + ~chord, \freq , Pfunc ({ |ev| ev[ \mode ].cps(ev[ \notes ]) }), \dur , Pwhite (1, 4, inf ) * 0.5, \instrument , \default ).play; p.stop; // better way if you do this kind of thing often: // create a new protoevent, replacing the ~f ...