-
... losed, { userview.refresh }); }.defer; }); rate.reciprocal.wait; // framerate }.loop; }).start; }.defer(0.1); // allow the creation of an fftbuf before starting } stopruntask { running = false; runtask.stop; try{fftSynth.free }; } inbus_ {a ...
-
... eMethod), \ddwSynths); // use a pair of enveloped PlayBufs to avoid clicks when looping back on the sample SynthDef(\bufRoll, { |start, time = 1, bufnum, rate = 1, amp = 1, strokesPerSec = 18, attack = 0.002, decay = 0.01, // attack and dec ...
-
BufferProxy { // blank space for delays, loopers etc. var <>buffer,<patchOut,<readyForPlay = false,<server; var <>size=0,<>numChannels=1,<>sampleRate=44100.0; // while building the synth def... var <>forArgi,bufnumControl; *new { arg numFra ...
-
BufferProxy { // blank space for delays, loopers etc. var <>buffer, <patchOut, <readyForPlay = false, <server; var <>size=0, <>numChannels=1, <>sampleRate=44100.0; // while building the synth def... var <>forArgi, bufnumControl; *new { arg ...
-
... tant).and(more[2].isNil) } //this means that the graph sequence is finished. No loop {this.removeActant(more[4]) } } gui { arg step = 35, controlNum ; RunnerGUI.new(this, step, controlNum: controlNum).connectAllActants } clock { arg x = 0, ...
-
... nes q.nextN(60); This example was still similar to the ones before, basically a loop modified by a factor. But imagine that a Plazy could give out arbitrary new Patterns, the choice itself could depend on an environment-dependant parameter. ...
-
... e4 d5, [g#5 b5 g#5 b5 g#5 b5]/2]", ]; var song = JSMini("0!4 1!4 2!4 3!2 4!2"); loop { song.cycle.do { |part| var trig, delta, dur, str, num; # trig, delta, dur, str, num = part; part = JSMini(parts.wrapAt(str.asInteger)); part.cycle.do { | ...
-
... ; j = JITView(123); // now type "x = x + 1" // -> 2 // 2. Window resize by code loops when userview with drawfunc is present. m = MView(123); m.drawFunc.disable(\all); m.parent.bounds_(Rect(100, 100, 150, 24)); // crash m.parent.bounds_(m.p ...
-
... eyspec| var view, char, modifiers, unicode, keycode, newkeyspec, action, envir; loop { #view, char, modifiers, unicode, keycode, envir = keyspec; (action = states.matchAt(unicode)).notNil.if({ // if an error occurs, it might crash the routi ...
-
... thZeroX: 1, doneAction: 2); Silent .ar }.play ) // check the waveform b.plot // loop 3rd half waveset // compare plot and scope x = { ZeroXBufRd .ar(b, z, zeroX: 2) }.play s.scope x.release // loop a whole waveset // demand rate ugens in Ze ...