-
... guy. fork{ // notes sequence var seq = Pxrand([0,3,5,7,8],inf).asStream; loop{ var dur = 8; var num = 8; var root = 36; var freq = (seq.next+root).midicps; var spread = rrand(0.4,0.8); var attack = rrand(0.05, 0.3); ...
-
... ec.warp.asSpecifier != \lin }; ) { val = unit.spec.unmap( input.next( true ) ); loop { if( i == 0 ) { last = val; val = unit.spec.unmap( input.next ); nn = n.next; }; unit.spec.map( last.blend( val, i/nn ) ).yield; i = (i+1); if( i > (nn - ...
-
... tartoffset (samples or seconds) - end: end of the region (samples or seconds) - loop: loop mode on or off (can be changed during playback) - rate: playback rate (semitones or ratio) level: playback level (amplitude of the soundfile) (*) onl ...
-
... tartoffset (samples or seconds) - end: end of the region (samples or seconds) - loop: loop mode on or off (can be changed during playback) - rate: playback rate (semitones or ratio) level: playback level (amplitude of the soundfile) (*) onl ...
-
... ame thing happens with numbers yielded by a routine. ( r = Routine({ var delta; loop { delta = rrand(1, 3) * 0.5; "Will wait ".post; delta.postln; delta.yield; } }); ) r.next; TempoClock.default.sched(0, r); r.stop; ⧉ ✔ Now let's replace th ...
-
... hainB, chain ; inA = PlayBuf.ar(1, soundBufnum1, BufRateScale.kr(soundBufnum1), loop: 1); inB = PlayBuf.ar(1, soundBufnum2, BufRateScale.kr(soundBufnum2), loop: 1); chainA = FFT(LocalBuf(2048), inA); chainB = FFT(LocalBuf(2048), inB); chain ...
-
... this is running, test your device ( a = Phid (0,0); x = a.asStream; Routine ({ loop({ x.next.postln; 0.2.wait; }) }).play; ) // using devicespecs: // for example wingman. for other specs see [HIDDeviceService] ( HIDDeviceService .deviceSpe ...
-
... nOsc .ar(freq, 0, env)) }).add; ) ( var a; a = Ppoisson (1.0, inf ).asStream; { loop { Synth ( \help_sinegrain , [ \freq , (a.next + 72).midicps]); 0.02.wait; } }.fork; ) ( var a; a = Ppoisson (7.0, inf ).asStream; { loop { Synth ( \help_si ...
-
... tives to the standard for (int i = 0; i < inNumSamples; i++) { out[i] = in[i] } loop. These efficiency savings are negligible on modern systems and use of these macros is not recommended, especially since they make debugging difficult. LOOP ...
-
... { ^this.degrees.collect(_.asRomanNumber).join("-"); } *choose { |size = 16| var loop = this.chooseFromSelected { |x| (x.size == size) }; if(loop.isNil) { "No known progression with size %".format(size).warn }; ^loop } *chooseFromSelected { ...