-
... ptions.sampleRate; // length of the soundfile 2 convert ~myScore = Score.new(); Routine.run{ // we need to load the soundfile to get the buffer number for the NRT server ~sndbufBundle = s.makeBundle(false, { ~sndbuf = Buffer.read(s, ~hoaSou ...
-
... OT FOUND! Returns: this as Cartesian . x = y = z = this. timing . wait within a routine, yield the number so that the clock can wait for this many beats. Outside a Routine, this trows an error (see also Routine for details). Discussion: Cre ...
-
... reForPlay(\buf2, b, 20000, 10000) a.prepareForPlay(\buf3, b, 30000, 10000) ( r= Routine.run({ 99999.do{|i| a.play([\buf0, \buf1, \buf2].choose, 0.5, 0.5, 0.5, 0.1, [0, 1].choose); //key, atk, sus, rel, amp, out 0.1.wait; }; }); ) r.stop; a. ...
-
... ptions.sampleRate; // length of the soundfile 2 convert ~myScore = Score.new(); Routine.run{ // we need to load the soundfile to get the buffer number for the NRT server ~sndbufBundle = s.makeBundle(false, { ~sndbuf = Buffer.read(s, ~hoaSou ...
-
... }); // knows it was in control EZSlider(w, 340@30, \knowsLast, [0.03, 3, \exp], Routine { |sl| var newVal, lastVal; loop { newVal = sl.value; Pdef(\test).softSet(\dur, newVal, 0.05, lastVal: lastVal); lastVal = newVal; \dummy.yield; } }); ) ...
-
... lock ( var w, r; w = Window.new("trem", Rect(512, 256, 360, 130)); w.front; r = Routine({ arg appClockTime; ["AppClock has been playing for secs:",appClockTime].postln; 60.do({ arg i; 0.05.yield; w.bounds = w.bounds.moveBy(10.rand2, 10.rand ...
-
... gious ratios to return in the chord. This defaults to 3 for a triad Returns: An Routine which yields a stream of arrays of ratios . getInterval For a given x and y index, return a ratio Arguments: x The index in the diamond row for o[x]/o[y ...
-
... 9 of the following lines and press 'Enter': w = Window.new("Fading").front; r = Routine({ 200.do({|i| w.view.background = Color.blue(val: 1, alpha: 1 - (i * 0.005)); 0.005.wait; }); w.close; }); AppClock.play(r); ⧉ ✔ Some examples do requir ...
-
... te OffsetOut.ar(out, src*amp!2); }).add; ) //test counter ( t= 2400; //datarate Routine.run({ var encoder= RedDifferentialManchesterCode(8); inf.do{|i| var byte= (i%256).asInteger; var data= encoder.encodeValue(byte); s.bind{ Synth(\redBits ...
-
... t a time ~clock= ServerClock.new; ~clock.play(100,s); //will wait on trigID 100 Routine.run({ ~buffers= BBCutBuffer.array([Platform.resourceDir +/+ "sounds/break.aiff",Platform.resourceDir +/+ "sounds/break2.aiff"],[8,4]); //choose some fil ...