-
... al usage a = 4; b = 3; b = b + a; // some sound a = Synth(\default); g = fork { loop { 0.1.wait; a.set(\freq, 200 + 20.0.rand2.postln) } }; g.stop; a.free; // an overview of all the variables this.inspect; ⧉ ✔ NOTE: Use these variables with ...
-
... ar * LFPulse.kr(1); //son = (PlayBuf.ar(~dictsize, ~dict, MouseX.kr(0.1, 2, 1). loop: 1) * ([0.1, 0.3, 0.5]++{0}.dup(~dictsize-3))).sum; outputs = MatchingP.ar(~dict, son, ~dictsize, ntofind: ~ntofind); trig = outputs[0]; residual = outputs ...
-
... Spec(\sustain, [0.003, 3, \exp]); // define what the Tdef does Tdef(\a, { |env| loop({ ( instrument: \pingbend, freq: env[\freq], bend: env[\bend] + env[\bendVar].rand2, sustain: env[\sustain], pan: 1.0.rand2 ).play; env[\dt].wait; }) }); T ...
-
... 50),0.01,LFNoise0.kr(1,4),LFNoise0.kr(1,4)),1000,0.1),0.0)}.play //48k spectrum looping {Pan2.ar(Resonz.ar(GravityGrid.ar(Impulse.kr(5),0.01,LFNoise0.kr(1,4),LFNoise0.kr(1,4)),1000,0.1),0.0)}.play b = Buffer.alloc(s, 9, 1); //weights buffer ...
-
... n; }); }; ~echoBot.onMessageReceived = { | chatMessage | // Avoid infinite echo loop! if (chatMessage.isEcho.not, { var echoString = "% says: %".format( chatMessage.senderName, chatMessage.contents); echoString.postln; ~echoBot.sendMessage( ...
-
... ttern Guide Cookbook 05: Using Samples Playing a pattern in time with a sampled loop Using audio samples to play pitched material Pattern Guide Cookbook 06: Phrase Network Building a more complicated melody using shorter phrase patterns Als ...
-
... -<number> and <number> Within a given range Test them multiple times with a do loop Collect the results in an array Seeding Histograms on Collections Arbitrary random distributions Random decisions Generating Collections of random numbers ...
-
... t this function is set to just post the filter cutoff ratio. . close stops main loop and closes the serial port. Inherited instance methods Examples SerialPort.listDevices; //start reading at 2Hz with a cutoff filter of 0.33 a= IBVA("/dev/t ...
-
... ayButton() .action_({ |playing| if(playing) { routine = Routine({ var beat = 0; loop { // Use coin to implement the probabilist behavior if(triggers[beat % triggers.size].coin) { Synth(\GMWhitePerc); }; 0.2.wait; beat = beat + 1; // Update ...
-
... ~cutItems = false it will be completed and // replacement takes effect in next loop ~b[0] = ~trill_2; // replace back ~b[0] = ~trill_3; // change replacing behaviour ~cutItems = true; // now replacing while long trill will take immediate e ...