-
... ues.indexOf( nil ), val ); }{ outvalues = outvalues ++ val; }; }; // and send : wrap in try func to avoid repeated long error // posts when an OSC device is temporarily unreachable. try { destination.sendMsg(oscPath, *outvalues); } { "*** % ...
-
... * 44100; o < file.numFrames },{ rotator.at(cursor).value; cursor = (cursor + 1).wrap(0,2); 4.wait; beat = beat + 4; }); synth.free; }); spawnTask.play(tempoClock) } didStop { super.didStop; spawnTask.stop; spawnTask = nil; } currentFrame { ...
-
... 44100; o < file.numFrames }, { rotator.at(cursor).value; cursor = (cursor + 1).wrap(0, 2); 4.wait; beat = beat + 4; }); synth.free; }); spawnTask.play(tempoClock) } didStop { super.didStop; spawnTask.stop; spawnTask = nil; } currentFrame { ...
-
... var env= EnvGen.kr(Env.asr(atk, 1, rel), gate, doneAction:2); var snd= SynthDef.wrap(this.func, nil, [freqs, dists, amps]); snd= Splay.ar(snd, 1, vol.dbamp*0.25); //mix to stereo env= env*(onEnv+(amp.lagud(atk, rel)*(2-onEnv))); Out.ar(outB ...
-
... em available) Pspawner (schedules streams and releases them after some time) // wrap a pattern in a stop condition ( f = { |pat, condition| Prout { |inval| var stream = pat.asStream; var cleanup = EventStreamCleanup.new; var outval; while { ...
-
... init { |snd, audio| atsSound = snd; audioData = audio; } twoPi { ^2.0 * pi } // wrap phase into [0, 2pi) as in the Lisp wrap-phase wrapPhase { |phase| ^phase - ((phase / this.twoPi).floor * this.twoPi) } // Compute residual and synthesis (b ...
-
... the PS, you'd have to generate a new PS, e.g. by reevaluating its definition or wrapping it into a Function. p = PS(Pseries(), 5); // evaluate more than once p.asStream.all; // compare q = { PS(Pseries(), 5) }; // evaluate more than once q. ...
-
... r. the default amt is 4. other interpolation: 'quad' : not correct yet 'sine' : wraps s-shaped sine curves between steps 'linear' : linear interpolation 'step' : step interpolation There is also the possibility of entering your own control ...
-
... ize smaller than " ++ ((i == 0).if { "size of in, " }{ "outSize, " }) ++ "index wrapping applied").postln; }; buffers.do { |bufs, j| bufs.do { |buf| initSingleBuf.(init.wrapAt(j), buf) } } } }{ buffers.do { |bufs| bufs.do { |buf| initSingle ...
-
... ; if(higVal.isNil, {^inval}); inval= outVal.clip(lowVal, higVal).yield; }; } } PWrap : PInRange { embedInStream {|inval| var evtStr= pattern.asStream; var lowStr= lo.asStream; var higStr= hi.asStream; var outVal, lowVal, higVal; loop{ outVa ...