-
... ) * envgen * \amp.kr(1), \pan.ar(0) ); Out.ar( 0, snd ); }).add; rout = Routine { loop { freq.do( { |f| Synth(\grain, [\freq, f, \amp, volume/freq.size, \env, env, \pan, pan.asFloat.rand] ) }); lifetime.yield; }; }.play() ...
-
... ndex_(0); bufPlot.redraw; }.defer(0.5); // either defer or put the thing into a Routine }); }); }); bufNameView = GUI.textView.new(win, Rect(10, 122, 63, 14)) .font_(GUI.font.new("Helvetica", 9)) .string_("strato"++(this.findMySlot+1)++"_0" ...
-
... nil' bp = BP(~bpKey); }; ~asPattern.(bp).embedInStream(inval); }; ~asStream = { Routine { |inval| ~embedInStream.(inval) } }; ~canEmbed = true; // do not override! ~yieldsKeys = { if(~isMain) { [~parm, \dur] } { ~parm }; // if(~isPitch.()) ...
-
... ings" +/+ "Events"; }{ pathEvents = SGME_Path.rootPath +/+ "Events" }; player = Routine { events.do { |event, i| var time, string, value; #time, string, value = event; // Wait for the adjusted time for subsequent events time.clip(0, if (max ...
-
... he PitchCircle window. p.close; // Examples ( var newSet; p = PitchCircle .new; Routine { p.labelAlign_( \left ); 24.do({ |i| if(i.even, { { newSet = p.complement.scramble.keep(rrand(4, 6)).sort; p.hlDots_(newSet.sect([11, 0, 1]).choose); p ...
-
... he current thread if needed till the result is returned. You should be inside a Routine, { }.defer {}.fork or similiar result = API.sync("apiname.method", [arg1, arg2, ...]); ⧉ ✔ Arguments: path "apiname.method" args array of arguments onEr ...
-
... t; ( q = Tdef(\cloud0).set.envir; // use Tdef's own envir for everything Routine.run{ q.soundPath = (Platform.resourceDir +/+ "sounds/a11wlk01.wav"); s.sync; q.buffer = Buffer.readChannel(s, q.soundPath, channels: [0]); s. ...
-
... e so a race condition doesn't upset image display after image rendering pause = Routine({ 1.do({ arg i; displayLatency.wait; ("open " ++ path ++ "/" ++ name ++ fileType).unixCmd; }); }); pause.play(AppClock); // reset the instance variable ...
-
... ilters.notNil, { c.data= bandpassFilters[i].filterN(c.data.last); }); }); }; }; Routine({ var nextTime; while({win.isClosed.not}, { nextTime= Main.elapsedTime+(1/fps); if(channels[0].data.size>=fft.fftSize, { usr.refresh; }); (nextTime-Main ...
-
... may wish to exclude those and just iterate over the units on the grid. Returns: Routine . clearPending very private clears any state changes requested through .add and .remove . children all channels including the master channel Returns: ar ...