-
... max(0.12, Pkey(\dur) * Pwrand(#[0.2, 0.4, 0.8], #[0.6, 0.3, 0.1], inf)), \amp, Pexprand(0.02, 0.1, inf) ).play; ) p.stop; a.free; c.free; b.free; ⧉ ✔ helpfile source: /tmp/scquark_hs/ddwCommon/HelpSource/Classes/TempoClick.schelp link::Cla ...
-
... Pwhite(0, 12, inf), \dur, Pwrand([0.25, Pn(0.125, 2)], #[0.8, 0.2], inf), \amp, Pexprand(0.1, 0.5, inf), \sampleBaseFreq, 440, \instrument, \sampler, \bufnum, b ).play(protoEvent: samplerEvent); ) p.stop; b.free; ⧉ ✔ Multi-sampled instrumen ...
-
... gth): Random numbers, equal distribution ("white noise"). Like rrand(lo, hi). * Pexprand(lo, hi, length): Random numbers, exponential distribution. Like exprand(lo, hi). * Pbrown(lo, hi, step, length): Brownian motion, arithmetic scale (add ...
-
... ength) Random numbers, equal distribution ("white noise"). Like rrand(lo, hi) . Pexprand(lo, hi, length) Random numbers, exponential distribution. Like exprand(lo, hi) . Pbrown(lo, hi, step, length) Brownian motion, arithmetic scale (additi ...
-
... y Pseg ~loDev = -1; ~hiDev = 1; p = Pbind ( \instrument , \noise_grain , \rel , Pexprand (0.05, 0.15), \dur , PIdev ( // be careful not to exceed index bounds Pseg ( Pseq ([ ~loDev .abs, ~rhythmNum - ~hiDev - 1], inf ), 10, \sin , inf ).rou ...
-
... rel.kr(1.0)), \gate.kr, doneAction: 2) * \amp.kr(0.5) }, dur: 4, freq: Pseed(1, Pexprand(100.0, 800.0).round(27.3)), amp: Pseq([0.3, 0.2], inf), //sustain: 4, legato: Pseq([1, 0.5], inf), rel: 0.1, callback: { |ev| ev.postln }, )).sustainTo ...
-
... ], \stepsPerOctave , 19, \degree , Pwhite (0, 7, inf ), \dur , 0.125, \legato , Pexprand (0.2, 6.0, inf ) ).play; ) p.stop; Amplitude conversion Finally, you can specify amplitude as \db or \amp . If it's given as \db, the amplitude will be ...
-
... r:{hiVal.isNil}, {^inval}); inval= lo.rrand(hi).asInteger.yield; }; ^inval; } } PExpRand : Pattern { var <>lo, <>hi, <>length; *new {|lo= 0.01, hi= 1, length= inf| ^super.newCopyArgs(lo, hi, length); } storeArgs {^[lo, hi, length]} embedInS ...
-
... ed by Pseg ~loDev = -1; ~hiDev = 1; p = Pbind( \instrument, \noise_grain, \rel, Pexprand(0.05, 0.15), \dur, PIdev( // be careful not to exceed index bounds Pseg(Pseq([~loDev.abs, ~rhythmNum - ~hiDev - 1], inf), 10, \sin, inf).round, 2, // l ...
-
... 14, 17], \stepsPerOctave, 19, \degree, Pwhite(0, 7, inf), \dur, 0.125, \legato, Pexprand(0.2, 6.0, inf) ).play; ) p.stop; ⧉ ✔ Amplitude conversion Finally, you can specify amplitude as \db or \amp . If it's given as \db , the amplitude will ...