-
... a large number of // speed-critical conversions on well-prepared data has to be done. // Otherwise it's always useful to perform those checks as // sieve operations on wrong data (e.g. unordered lists) will fail or hang. ⧉ ✔ 1i) Copying and ...
-
... recursion)"); } { return = i; // .debug("return (recursion/mismatch)"); }; } // done this level? { matchPair[1 - startI] == ch} { return = (i + step); // .debug("return (closing)"); } { // save last matched bracket and keep scanning // mism ...
-
... newClear(8); var envCtl = \env.kr(env.asArray); var envGen = EnvGen.kr( envCtl, doneAction: Done.freeSelf ); snd = snd * envGen; Out.ar(0, snd!2); }).add; s.sync; routine = Routine({ loop { Synth(\GMEnv, [ \env, Env() .levels_(levels) .time ...
-
... oys the normal replacement mechanism of EventShortcuts. Then the mapping can be done inside/before. Normally you wouldn't need to call that method explicitely. See also EventShortcuts , Event: -eventShortcuts , SequenceableCollection: -even ...
-
... in, env, monoBeam, reDirect; env = EnvGen.ar(Env.sine(grainDur, grainLevel), 1, doneAction:2 ); playGrain = PlayBuf.ar(~hoaNumChannels.asInteger, buffer, startPos:start, loop:1 ) * env; monoBeam = HOABeamHCard2Mono.ar(~order.asInteger, play ...
-
... 1| Out.ar(out, SinOsc.ar(freq, 0, amp) * EnvGen.kr(Env.sine(1), timeScale:dur, doneAction: Done.freeSelf)); }).add; 2.do({ |chan| var rout; rout = Routine({ var freq; { freq = 0; rrand(400, 1000).do({ freq = freq + 1 }); [thisThread.clock. ...
-
... ain=1, amp=1, pan; var env, u=1; env = EnvGen .kr( Env .perc(0.03, sustain), 1, doneAction:2); 5.do { var d; d = exprand(0.01, 1); u = SinOsc .ar(d * 300, u, rrand(0.1,1.2) * d, 1) }; Out .ar(out, Pan2 .ar( SinOsc .ar(u + 1 * freq, 0, amp * ...
-
... nds_1.wav" ); // load to array b.loadToFloatArray(action: { |array| a = array; "done" .postln }); // take short snippet, normalize between 0 and 1 // that's most practical when we map to buffer index later on // the sound of the snippet is ...
-
... doc.rangeText(doc.selectionStart, 2); if(char == "17", { { EnvGen.kr(Env.perc, doneAction: Done.freeSelf) * SinOsc.ar([600, 720, 300].choose, 0, 0.5) }.play; }); if(char == "23", { { EnvGen.kr(Env.perc, doneAction: Done.freeSelf) * PinkNoi ...
-
... .ir(bufnum), 0, start); sig = sig * amp * EnvGen.kr(Env.linen(0.01, dur, 0.01), doneAction: Done.freeSelf); Out.ar(out, sig ! 2) }).add; ) ( TempoClock.default.tempo = 1; p = Pfset({ ~buf = Buffer.read(s, ExampleFiles.child); 0.2.yield; // ...