-
Avant Garde - Assignment 4: Algorithmic Harp (Pluck) [musc-9-pluck] by jonathan-coon (Jonathan Coon) Code
... Pwhite(0.5, 0.9), \decay, Pwhite(7, 12), \coef, Pwhite(0.01, 0.1), \dur, Prand([3/16, 3/8, 1/8, 1/16], 50); ); ) // Drones ( ~drone1 = Pbind( \instrument, "plucking", \degree, 0, \ctranspose, -36, \amp, Pseq([Pseries(0 ...
-
... 440), Pwhite(440, 880)]), [440, 660], 880 ], inf), time: Pwhite(0.01, 1), dur: Prand([0.125, 0.25, 0.5, 1], inf) )); //Mono sequencer featuring AlgaTemps modulating at audio rate ~ampSeq = AlgaMonoPattern(( rate: \audio, in: AlgaTemp({ Sin ...
-
... is block 3. ( ~ffreq= 200; ~amp = 1; x = Pmono(\bass, \midinote, Prand([36, 39, 36, 42], 4), \dur, Pseq([0.75,0.75], 4), \amp, 0.3, \detune, 1.005, \ffreq, Pfunc({~ffreq}) ); t = Pmono(\bass, ...
-
... .01); patternArray[2] = Pbind( \instrument, "noise-quneo-2", \degree, Prand([0,3,5,7,9,11,14,17], inf) - 12, \pulseFreq, Pwhite(1, 9), \dur, 0.3, \sustain, 0.1, \amp, 1, \rq, 0.1); patternArray[3] = Pbind( \i ...
-
... lay Pbind with new shortcuts, using key/value notation here ( p = Pbind (*[ de: Prand ([[0, 1, 26, 27], [-6, 4, 10], [0, 8, 14]], inf ), // degree t: Pwhite (0, 1) + Pwrand ([0, -10, 10], [0.9, 0.05, 0.05], 200), // ctranspose d: 0.2, // du ...
-
... .ar(40) }, scale: [-200, 200]) ], inf) )).play(chans: 2); }); ) //Connect a new Prand using AlgaTemps ( a.from( Prand([ AlgaTemp({ LFNoise0.ar(10) }, scale: [-200, 600]), AlgaTemp({ SinOsc.ar(100) }, scale: [-100, 1000]), AlgaTemp({ Pulse.a ...
-
... hite(0.0, 1.0, inf) < 0.7, Pwhite(60, 80.5, inf), Pwhite(45, 55.5, inf)), \dur, Prand([0.125, 0.25, 0.5], inf) ); p.play ⧉ ✔ Add the next 40 Events in our Fomus object: f.add(p.asStream, 40) ⧉ ✔ Make and show a Lilypond Score f.ly ⧉ ✔ If yo ...
-
... 1), -1, rrand(4, 10)), \dur , 0.125 * 4/3) } ); p = Pspawn ( Pbind ( \pattern , Prand ([ \up , \down ], inf ), \delta , Pwhite (1, 5, inf ) * 0.125, \method , \par ), (dict: patternChoices)).play; ) p.stop; // Using pattern composition (per ...
-
... .softclip * 0.8); }, [ \ir , 0]).add; ) ( var p, q, r, o; p = Pbind ( \degree , Prand ((0..7),12), \dur , 0.3, \legato , 0.2); q = Pfx (p, \echo , \dtime , 0.2, \decay , 3); r = Pfx (q, \distort , \pregain , 20, \amp , 0.25); o = Pfx (r, \w ...
-
... elements as there are keys. Examples ( a = Pbind ( \x , Pseq ([1, 2, 3]), \y , Prand ([100, 300, 200], inf ), \zzz , 99); x = a.asStream; ) x.next(()); // pass in an event () x.next(()); x.next(()); x.next(()); // end: nil // sound example ...