-
... ext, palette.highlight] ]).maxWidth_(50), ampLinesPopup= PopUpMenu().items_(#[ "loop off", "loop on", "loop palindrome", "random direction", "random jump", "sync freq", "scratch" ]) )) ) ), HLayout( VLayout( View().fixedSize_(15@5), ampRang ...
-
... value = cname.envirGet).notNil // and I have a value } }) { // prevent infinite loops by not 'set'-ting to the same value if(value != proxy.nodeMap[cname]) { proxy.set(cn.name, value); }; if(cn.name == \gt and: { sustain.notNil and: { susta ...
-
... |bpm| if(bpm.notNil) { clock.tempo_(bpm / 60); }; }).front; routine = Routine({ loop { Synth(\GMhelp, [\freq, notes.choose]); tapTempoButton.blink; 1.wait; } }).play(clock); win.layout_( VLayout() .margins_(0) .add(tapTempoButton) ); win.fr ...
-
... 2, width/2, width/2, width/2)); } .background_(Color.grey(0.5));*/ fork{loop{k = enemyArray.choose; alienLaserArray = alienLaserArray.add(k); Synth(\laser2, [\pan, k.left.linlin(radius, winW-spriteSize, -1, 1)]); rrand(1.0,0.2).wait ...
-
... cv.value_(msg[i+3]) }); ~response = msg[3..]; }).add; ~rt = { loop { t.tempo_(CVCenter.at(\tempo).value * CVCenter.at(\audAmp).value * 10); 0.1.wait; } }.fork(AppClock); t.tempo.postln ( ~increase = ...
-
... ~cutItems = false it will be completed and // replacement takes effect in next loop ~b [0] = ~trill_2 ; // replace back ~b [0] = ~trill_3 ; // change replacing behaviour ~cutItems = true ; // now replacing while long trill will take immedi ...
-
... == a[20000]).postln}); // play it x = { PlayBuf .ar(1, b, BufRateScale .kr(b), loop: 0) * 0.5 }.play; b.free; x.free; // interleave a multi-dimensional array ( l = Signal .sineFill(16384, Array .fill(200, {0}).add(1)); r = Array .fill(1638 ...
-
... set, 8); } *makeDefaults { var dict = ( rew: '0_43', play: '0_41', fwd: '0_44', loop: '0_46', stop: '0_42', rec: '0_45', mset: '0_60', mleft: '0_61', mright: '0_62', tleft: '0_58', tright: '0_59' ); [ ["sl", (0..7)], ["kn", (16..23)], ["bu" ...
-
... e: F[G[A]] => G[F[A]] According to this blog post[1] Traverse generalizes a for loop with functional code. It is based on the paper "The Essence of the Iterator Pattern"[2]. [1]: http://etorreborre.blogspot.com/2011/06/essence-of-iterator-p ...
-
... playFile; playFile = PlayBuf.ar(~hoaNumChannels.asInteger, buffer, startPos:0, loop:0, doneAction:2); OffsetOut.ar(0, HOAConvert.ar(~order.asInteger, playFile, inFormat: informat, outFormat: outformat);) }).load(s); s.sync; // we need to l ...