-
... , or, if closer, the next timepoint \ task = Task \\ var nextDelta, nextIndex;\ loop \\ nextIndex = dispatch.timepoints.indexOfGreaterThan(scaledValue);\ if(nextIndex.isNil) \\ if(dispatch.timepoints.last.notNil \ and: \dispatch.timepoints. ...
-
... a routine that can pause under certain conditions: ( c = Condition.new; fork { loop { 1.wait; "going".postln; c.wait } }; ) c.test = true; c.signal; c.test = false; ⧉ ✔ // the same, using hang ( c = Condition.new; Routine { 1.wait; "waited ...
-
... ////////////////////////////////////////////////////// このルーチンを.doメッセージを使って書き直すと、loopを作ります。 ( r = Routine({ var array; array = [ "hello, world", "what a world", "i am a world" ]; 3.do({ array.choose.yield }) }); ) ⧉ ✔ このdo loopをルーチンの中のループよりも ...
-
... eakersCorner"); To Do: * better sounding noise spikes to drop into the feedback loop, * task or function plays them on trigger from interface */ // two grain-like synthdefs, just to show the concept SynthDef(\whytnoyz, { |out, amp = 0.25, g ...
-
... le use, plotting some fake data: ( // some fake data e = 0; f = 0; r = Routine{ loop { e = 0.0.rrand(1); f = 0.0.rrand(1).cos; 0.5.wait; } }.play; // look at the data m = SWPlotterMonitor.new( { //data to plot [ [e, f], // view the two stre ...
-
... Impulse.ar(100), seq = Sequencer.ar({ str.next }, t); RecordBuf.ar([seq, t], b, loop: 0); Line.kr(1, 0, 1, doneAction:2) }.play; ) b.plot; // control rate ( { var t = Impulse.kr(2.3); var str = (Pseq([0, 12], inf) + Pstutter(Prand([2, 5], i ...
-
... sysex, <slaved = false, ossiaAutomation, ossiaPlay, // automation control ossiaLoop, ossiaTransport, ossiaSync, ossiaRec, ossiaSeekBack, watcher; var <graphicpath, <>graphicImage, <>graphicOrigin, <>window, <>zoomfactor = 1, <>fontsize = 1 ...
-
... x = f.(p, { |outval| outval[\note] < 20 }); // always stop at 20 Pn(x).play; // loop it. ); ⧉ ✔ Class Methods EventStreamCleanup. new Create a new instance. Inherited class methods Instance Methods . addFunction ( event , function ) Add a n ...
-
... 1 2", "sr @1 2 0.5 0.5", "sr @1 t 1", "sr @1 t 2 0.5 0.5"] ); ~radTest.("buffer-loop-record-overdub", setup: ["start 2", "@ 2"], cmds: ["lr @1", "lr @1 2", "lr @1 2 0.5 0.5", "or @1", "or @1 2", "ol @1", "ol @1 2"] ); ~radTest.("buffer-play ...
-
... 4, offset); OffsetOut.ar(out, sig); }, [\ir, \ir, \ir, \ir]).add; ) ( Routine { loop { s.sendBundle(0.2, [9, \Help_Subsample_Grain, -1, 1, 1, \freq, 1000]); rrand(0.001, 0.002).wait; } }.play; ) ⧉ ✔ helpfile source: /usr/local/share/SuperCo ...