-
... trary Environments, // Poisson distribution gives positive integer values ( p = Pbind ( \midinote , ( PLpoisson ( \mean ) + 50).clip(60, 90), \dur , 0.1 ); ) // prepare current Environment ~mean = 10; // run x = p.play; // changing mean val ...
-
... 0), 9, inf ).asStream; // slowly changing x.nextN(100).plot2; // sound example: Pbind( \note, Phrand( (..12), 11, inf ), \dur, 1/8 ).play; // proof of concept x = Phrand( (..10), 1, inf ).asStream; ( y = x.value; 100.do({ var val; val = x.v ...
-
... ams[i] = ~instrParms[i].asStream; }; ~instrParmStreams[i].next(ev) ?? { ev } }, Pbind( \instrument, Pfunc { |ev| ~fileInfo[ev[\bufIndex]][\instrument] }, \bufnum, Pindex(~bufs, Pkey(\bufIndex)), \amp, BPStream(\amp) / Pfunc { |ev| ~fileInfo ...
-
... th that of some (one might think at a first glance) related objects (Synths and Pbinds). A HS contains a SynthDef but will also hold Synths derived thereof. A PHS holds Pbind pairs but, when played, instantiates two EventStreamPlayers to be ...
-
... vPerc.ar(release: 0.01)); }).add; s.sync; ~dur = 1; t = TempoClock.default; d = Pbind( \type, \note, \instrument, \imp, \dur, Pfunc { var val = ~dur.next; val.postln; val } ).play(clock: t) }) ) //The .stop for AlgaPseg allows to "stop" tim ...
-
... list.every({ |item| item.tryPerform(\spec) == firstItemSpec }),{ // an array of Pbinds etc. if(firstItemSpec.isKindOf(EventStreamSpec),{ ^firstItemSpec }); // a stream of my items ^StreamSpec(firstItemSpec) }); }); // something with spec un ...
-
... ist.every({ |item| item.tryPerform(\spec) == firstItemSpec }), { // an array of Pbinds etc. if(firstItemSpec.isKindOf(EventStreamSpec), { ^firstItemSpec }); // a stream of my items ^StreamSpec(firstItemSpec) }); }); // something with spec u ...
-
... s; s.boot; ) // definition for future reference in arbitrary Environments ( p = Pbind ( \freq , Pn ( PLgeom ( \start , \grow , 50)) % 2000 + 400, \dur , 0.1 ); ) // prepare current Environment ( ~start = 100; ~grow = 1.1; ) // from ascendin ...
-
... ume, ChordtrisPreferences.getPreferences.at(\musicVolume).value); Pdef(\voice1, Pbind( \instrument, \tetris, \degree, Pseq([notes_voice1_part1, notes_voice1_part2], inf), \dur, Pseq([times_voice1_part1, times_voice1_part2]/timeDivisor, inf) ...
-
... which, for playing purposes, behaves just like a Task.) Proto ({ ~asPattern = { Pbind ( \degree , Pn ( Pseries (0, 1, 8), inf ), \dur , 0.125) }; }); That's just a generic Proto that happens to conform to the specifications for a chucklib p ...