-
... , Pkey ( \val ), \amp , 0.1], [ \midinote , Pkey ( \val ) + [-7, 4, 7], \amp , Pwrand ([0.04, 0.08], [0.8, 0.2], inf ), \type , Pkey ( \val ).collect { |x| x.asInteger.even.if { \note }{ \rest } } ] ] ).play; ) // stop player and free HS p ...
-
... \instrument, \bell, \out, ~revSend, \root, Pfunc({~root}), \octave, Pwrand([4, 5, 6, 7], [6,8,3,1].normalizeSum, inf), \degree, Prand(Scale.lydian.degrees, inf), \ctranspose, Pwhite( -0.05, 0.05, inf), \amp, 1.1 * Pe ...
-
... ([0, 0, 0.5, 0, 0], inf), \pan, Pseq([0, 1], inf), \legato, Pwhite(0.01, 1.4) + Pwrand([0, 16], [0.9, 0.1], inf) ) ).play; ) ( var keys = ~dirt.buffers.keys.asArray; Pdef(\x, Pbind( \instrument, Pn(Plazy { var k = keys.scramble.keep(16); Ps ...
-
... ynthDescLib .global.read; p = Pbind ( \mode , ~mode, \bottom , Pvbrown (30, 39, Pwrand (#[1, 2, 3], #[0.4, 0.35, 0.25], inf ) * Prand (#[-1, 1], inf ), inf ), \notes , Pkey ( \bottom ) + ~chord, \freq , Pfunc ({ |ev| ev[ \mode ].cps(ev[ \no ...
-
... ynthDescLib .global.read; p = Pbind ( \mode , ~mode, \bottom , Pvbrown (30, 39, Pwrand (#[1, 2, 3], #[0.4, 0.35, 0.25], inf ) * Prand (#[-1, 1], inf ), inf ), \notes , Pkey ( \bottom ) + ~chord, \freq , Pfunc ({ |ev| ev[ \mode ].cps(ev[ \no ...
-
... \midinote, Pkey(\val), \amp, 0.1], [ \midinote, Pkey(\val) + [-7, 4, 7], \amp, Pwrand([0.04, 0.08], [0.8, 0.2], inf), \type, Pkey(\val).collect { |x| x.asInteger.even.if { \note }{ \rest } } ] ] ).play; ) // stop player and free HS p.free; ...
-
Avant Garde - Assignment 4: Algorithmic Harp (Pluck) [musc-9-pluck] by jonathan-coon (Jonathan Coon) Code
... ing", \freq, Pwhite(0, 880), \amp, 0.5, \decay, 50, \coef, 0.1, \dur, Pwrand([Prand([0.51, 0.1, 0.1], 4), Pwhite(0, 4, 8), Pwhite(0, 1, 4)], [0.9, 0.05, 0.05] , 4) ); ) // Freq3 ( ~freq3 = Pbind( \instrument, "plucking", ...
-
... add; ) p = PmonoArtic(\sawpulse, \dur, 0.2, \freq, Pwhite(1, 8) * 100, \legato, Pwrand(#[0.5, 1.0], #[0.1, 0.9], inf)).play; p.stop; ⧉ ✔ helpfile source: /usr/local/share/SuperCollider/HelpSource/Classes/PmonoArtic.schelp link::Classes/Pmon ...
-
... dom order, and use the same random order 'repeats' times. Like list.scramble. * Pwrand(list, weights, repeats): Choose randomly by weighted probabilities (like list.wchoose(weights)). * Pseries(start, step, length): Arithmetic series (addit ...
-
... s converted to midinote, not just frequency \degree, Pwhite(-7, 12, inf), \dur, Pwrand([0.25, Pn(0.125, 2)], #[0.8, 0.2], inf), \legato, sin(Ptime(inf) * 0.5).linexp(-1, 1, 1/3, 3), \amp, Pexprand(0.5, 1.0, inf) ).play(quant: 1); ) p.stop; ...