-
... and], 4) }); Out .ar( i_out, out ); }).send(s); ) ( // streams as a sequence of pitches var stream, dur; dur = 1/8; stream = Routine .new({ loop({ if (0.5.coin, { // run of fifths: 24.yield; 31.yield; 36.yield; 43.yield; 48.yield; 55.yield; ...
-
... 1,0.005, 12, 12, 0.2,0.2,0.2), 0.0)}.play //modulate distributions //change of pitch as distributions change the duration structure and spectrum { Pan2 .ar( Gendy2 .ar( MouseX .kr(0,7), MouseY .kr(0,7),mul:0.2), 0.0)}.play //modulate num o ...
-
... y(quant: [4, 4]); ) [p, q, r].do( _ .stop); b.free; Using audio samples to play pitched material To use an instrument sample in a pattern, you need a SynthDef that plays the sample at a given rate. Here we will use PlayBuf , which doesn't a ...
-
... 50,1000, 1,0.005, 12, 12, 0.2), 0.0)}.play //modulate distributions //change of pitch as distributions change the duration structure and spectrum { Pan2 .ar( Gendy1 .ar( MouseX .kr(0,7), MouseY .kr(0,7),mul:0.2), 0.0)}.play //modulate num o ...
-
... note sequencing The previous example controls the generation of one parameter (pitch) by looping over an array inside the Task. What if you want to control several parameters? Remember that routines can also generate data, in addition to t ...
-
... Pnsym have cousins that do exactly this: Pswitch1 , Psym1 and Pnsym1. // random pitches in two distinct ranges; use a coin toss to decide which for this event // 70% low, 30% high ( TempoClock .default.tempo = 1; p = Pbind ( \degree , Pswit ...
-
... e .kr(b),trig, MouseX .kr(0, BufFrames .kr(b)),1) }.scope(1); ) // accelerating pitch ( { var rate; rate = XLine .kr(0.1,100,60); PlayBuf .ar(1, b, rate, 1.0,0.0, 1.0) }.scope(1); ) // sine wave control of playback rate. negative rate plays ...