-
... val| var localGenerators = generators.value; ^Pfin(length.value, Pn(PstepNadd(*(Pwhite(0.0, 1.0, 2) ! localGenerators)), inf) / localGenerators * (hi - lo) + lo ).embedInStream(inval); } storeArgs { ^[lo, hi, generators, length] } } Pmcvoss ...
-
... // Play pattern ( Pdef('🌻', Pbind( \instrument, \rongsinator, \amp, 0.20, \pan, Pwhite(-1.0,1.0), \f0, Pseq([0.025,0.01,0.018], inf) + Pseg(Pseq([0.008,0.0016], inf), 14, \exp, inf), \dur, 0.125, \structure, Pseg([0.1,1.0], 5, \lin, inf), \ ...
-
... .01, \buffer, b, // which buffer to play from \dur, 0.25, \panning, Pwhite(-0.5, 0.5) ); ~three3 = Pbind( \instrument, "granny2", // notice I'm using granny2 synthdef here \rate, Pseq([-1, 2], inf), \amp, 5, // boos ...
-
... , 2, 3, 4, 5 Pgeom (start, grow, length) geometric series, e.g., 1, 2, 4, 8, 16 Pwhite (lo, hi, length) random number generator, uses rrand(lo, hi) -- equal distribution Pexprand (lo, hi, length) random number generator, uses exprand(lo, hi ...
-
... wrand((1..5), (5, 4..1).normalizeSum, inf) * 0.15, \amp, 0.1, \ratioPlug, Pdup( Pwhite(2, 10, inf), Pseq([ 0, // alternate between no-plug and plug Pfuncn({ { |ratio| Plug({ |ratio| ratio * Demand.kr( Impulse.kr(12), 0, Dseq([Dseries(1, 0.1 ...
-
... c filter patterns Pset Pfset Pmul Padd Psetp Pmulp Paddp Pfindur other Patterns Pwhite Pbrown Ppatmod Plazy Pbind PstepNadd PstepNfunc Streams BinaryOpStream UnaryOpStream Event Stream EventStreamPlayer helpfile source: /usr/local/share/Sup ...
-
... Pbrown ().linexp(0, 1, 0.004, 0.02), \legato , Pbrown (1, 3, 0.1, inf ), \pan , Pwhite () * Pbrown () ) ).play ) // modulating width only ( Pdef ( \x , Pbind ( \instrument , \gabor , \freq , 1000, \dur , 0.01, \width , Pseg ( Pseq ([0.25, 0 ...
-
... (addition). * Pgeom(start, grow, length): Geometric series (multiplication). * Pwhite(lo, hi, length): Random numbers, equal distribution ("white noise"). Like rrand(lo, hi). * Pexprand(lo, hi, length): Random numbers, exponential distribu ...
-
... /8), 8)], 7), sustain: 0.5, rateScale: Pseq((128!16).add(64!16).flatten, inf) * Pwhite(0.8, 1.2), amp: Pwhite(0.02, 0.03), attack: 0.001, release: 0.001, out: ~crushBusNoHPF]); //64 ~basilisk.singleKick = Pbind(*[bufnum: ~buffers.steamLo ...
-
... egister, small random add for pitch ~pitchBaseStream = ( Pseq ([60,80], inf ) + Pwhite (0.0,5.0)).asStream; p = PHSpar (h, 2, // switchDur = half phase of sine wave Pseq ([0,1], inf ), // switchIndex [ \center , ~pitchBaseStream] ! 2, [0.25 ...