-
... 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 ...
-
... Env .perc(0.001, 0.03, 0.4), doneAction:2) }; // jittery tone. ( r = Routine { loop { 200.do { arg i; ~x.spawn; (0.005).wait; }; 1.wait; } }.play; ) ProxySynthDef .sampleAccurate = true ; // steady tone, because sample accurate. ~x.rebuild ...
-
... ~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 ...
-
... aSignal.source = { HPF.ar(PlayBuf.ar( ~hoaSoundFile.numChannels, ~hoaSoundFile, loop:1 ), 100) }; ~toaSignal.fadeTime = 1; ) ⧉ ✔ Let's make two more nodes that generate 2nd and 1st order HOA sounds to go with it. ( ~soaSignal = NodeProxy.ne ...
-
... on expects mono input ( { var harmonic, percussive; var source = PlayBuf.ar(1,d,loop:1); var fft = FFT(a,source,0.5); //can try overlap 0.25 harmonic = PV_Copy(fft, b); percussive = PV_Copy(fft, c); //#harmonic,percussive = MedianSeparation ...
-
... t, parA, parB | var startTime, thisVal, thisTime; startTime = thisThread.beats; loop { thisTime = thisThread.beats - startTime; inval = this.at(thisTime, dist, parA, parB); inval.yield; } ^inval; } asStream { |dist| ^Routine({ arg inval; th ...
-
... r can keep going indefinitely. ( p = Pspawner({ |sp| // sp = the Spawner object loop { // run a new pattern in parallel // the pattern is finite // after a few events, it stops and the Pspawner forgets about it sp.par(Pbind( \degree, Pserie ...
-
... ng.openInFinder }); w.view.decorator.nextLine; counterRoutineFunc = { Routine({ loop{ controls[ \counter ].posD = controls[ \counter ].pos + 0.05; 0.05.wait } }) .play( SystemClock ); }; controls = ( counterText: StaticText( w, 60@20 ).stri ...
-
... this.duplicateSelected; }, 105, { // i this.editSelected; }, 108, { // l score.loop = score.loop.not; }, 112, { // p case { score.isPlaying } { score.pause; } { score.isPaused } { score.resume( ULib.servers ); } { score.isPrepared } { scor ...
-
... '/clientLaunched', addrBook[nickname.asSymbol].addr).oneShot; pingTask = Task({ loop { addrBook.send(nickname, '/launchJackTripClient', addrBook.me.name, port); 0.5.wait; } }).play; } waitToLaunchClients {|myIndex| myClients.do({|nickname| ...