-
... // monitor; a.open("xproxySpace.aif"); a.record; a.unpause; ( Routine({ var id; loop({ id = s.nextNodeID; s.sendMsg("/s_new", "default", id, 0, 0, \out, b, \freq, rrand(400, 800)); 0.2.wait; s.sendMsg("/n_set", id, \gate, 0); 0.2.wait; }) } ...
-
... ntrolIns audioOuts controlOuts canFreeSynth shouldPlayOn doesNotUnderstand rate loop def defName cutStart synths addSynth removeSynth makeSynth makeBundle start free stop resetSynths resetArgs argSpecs getSpec isPlaying printOn getInitArgs ...
-
... vGen.ar(window, doneAction: Done.freeSelf) ) } ).add; ) // send grains ( fork { loop { s.sendBundle(0.1, [\s_new, \pgrain, -1, 1, 1]); 0.02.wait; }; } ) // try different synth defs: // without AmpComp: ( SynthDef("pgrain", { |out = 0, susta ...
-
... }); g=BBCut2(cutsynth,cutproc).play(clock); }); ) ( //fill every 4th bar- plain loop otherwise var sf, clock, cutsynth, cutproc, pseq; pseq=Pseq([0,0,0,1],inf).asStream; clock= ExternalClock(TempoClock(2.7725)); clock.play; Routine.run({ sf ...
-
... yEnvir valueWithEnvir functionPerformList performWithEnvir performKeyValuePairs loop defer dup ! sum choose bench fork forkIfNeeded block thunk flop flop1 envirFlop inEnvir inEnvirWithArgs case matchItem performDegreeToKey Exception Handlin ...
-
... r.local.boot; b = Bus.control(s,1); ( // generate some data Tdef( \updateBus, { loop{ b.set( 1.0.rand.postln; ); rrand(0.05,0.3).wait; } }).play; ); ~output = Bus.new('audio', 0 ); // create a sonificator for the first bus: x = SensorSonifi ...
-
... } }.play(x); ) x.advance(0.1); x.seconds; x.advance(5); x.seconds; ( Routine { loop { x.advance(0.1); 0.1.wait }; }.play; ) ( Task { 5.do { x.advance(1); 2.0.rand.wait; } }.play; ) x.advance(8.1); Pbind(\degree, Pseries(0, 2, 8), \dur, 0.2 ...
-
... llo"); // or make a separate routine: ( r = Routine { |inval| var prev, outval; loop { inval = inval.as(Array); outval = d.parse(inval, prev); prev = inval; inval = outval.yield } }; ); r.next("hello"); r.next("hello world"); r.next("hello ...
-
... f you want to implement a self contained effect that uses a feedback processing loop. WARNING: Audio written to a LocalOut will not be read by a corresponding LocalIn until the next cycle, i.e. one block size of samples later. Because of th ...
-
... , 2); Out.ar(0, (in * 0.1).dup); Out.kr(c.index, powers); }.play(s); t = Task({ loop{ 0.1.wait; c.getn(size, {|vals| { ~slider.value_((vals.log2 + 7 * 0.08).max(0).min(1)); }.defer}); }; }).start; ) x.free; t.stop; ⧉ ✔ helpfile source: /usr ...