-
... (ctl + freqOffest, 0, 0.1 / 8)), LFNoise0.kr(2)) }; ) ~out.setn(\array, Array.exprand(8, 400, 2000)); ~out.set(\freqOffest, rrand(300,200)); ~out.map(\freqOffest, ~lfo); // a simpler short form for this is: ( ~out = { arg freqOffest=0, arra ...
-
... orm for the Quant object: #[1, 0, 0.1] ~chords = Pbind ( \topNote , Pseries (7, Prand (#[-2, -1, 1, 2], inf ), inf ).fold(2, 14), \bassTriadNotes , Pfunc { ~lastBassEvent[ \degree ] } + #[0, 2, 4], // merge triad into topnote // raises tria ...
-
... Pbind( \instrument, "melody", \degree, Pseq([7, 6, 4, 6, 7, 6, 4, 6, Prand([8, 9], 1), 6, 4, 6, 11, 6, 4, 6], inf), \dur, 1/4, \att, 0.01, \rel, 1.5, \amp, 0.6, \ffreq, 3800, \ctranspose, 2 ).play.stop; ~k ...
-
... .kr(Env.perc(0.03, sustain), 1, doneAction: Done.freeSelf); 5.do { var d; d = exprand(0.01, 1); u = SinOsc.ar(d * 300, u, rrand(0.1, 1.2) * d, 1) }; Out.ar(out, Pan2.ar(SinOsc.ar(u + 1 * freq, 0, amp * env), pan)); }).add; s.boot; ) ( x = P ...
-
... r form for the Quant object: #[1, 0, 0.1] ~chords = Pbind( \topNote, Pseries(7, Prand(#[-2, -1, 1, 2], inf), inf).fold(2, 14), \bassTriadNotes, Pfunc { ~lastBassEvent[\degree] } + #[0, 2, 4], // merge triad into topnote // raises triad note ...
-
... n, \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).scramble); var freq = IndexL.kr(buf, MouseX.kr(0, BufFrames.kr(buf))).poll * ...
-
... hannel, 0, \degree, Pwhite(-8, 8), \octave, 6, \scale, #[0,2,3,5,7,8,10], \dur, Prand( [0.25, 0.5, 0.75, 1], inf) ); ~low = Pbind(\track, 2, \channel, 0, \degree, Pwhite(-3, 8), \octave, 3, \scale, #[0,2,3,5,7,8,10], \dur, 1); ~pat = Ppar([ ...
-
//redFrik PRand : Pattern { var <>lo, <>hi, <>length; *new {|lo= 0, hi= 1, length= inf| ^super.newCopyArgs(lo, hi, length); } storeArgs {^[lo, hi, length]} embedInStream {|inval| var loStr= lo.asStream; var hiStr= hi.asStream; var loVal, hi ...
-
... ore a sequence of 6 events ( p = Pbind ( \midinote , Pwhite (60, 90, 6), \dur , Prand ([0.2, 0.4], inf ) ); // As the sequence ends with nil, nil is also stored in the buffer of PStream's MemoRoutine. // Hence to store the whole sequence we ...
-
... ) ) }).store ); ) // start a process ( q.rout = Routine { var dt; loop { dt = exprand(0.01, 1.2); Synth(\help_PlayBuf, [ \bufnum, q.b[\apollo], \rate, 0.06 * [1, 2, 3, -1, -2, -3].choose + 1, \offset, 1.0.rand, \sustain, dt * rrand(1.0, 1.3 ...