-
... ime, secs; texttask = Task({ epoch = Main.elapsedTime; start = starttime.value; loop{ time = start + (Main.elapsedTime - epoch) ; window.view.children[4].string_(time.asTimeString ); window.view.children[5].value_( time / sf.duration); 0.1. ...
-
... }; randButton.action= {|view, mod| if(cluster.class.type==\File, { cluster.set(\loop, 1-view.value); //wait a random time and then retrigger }, { if(cluster.class.type==\Folder, { if(mod.isShift, { //shift click jump back or forth a few ste ...
-
... aaa1. 01f3. 3fx 3fx 3fx // changing the through controls --aaaff afx Tdef(\x, { loop { t.setGlobal(\through, 1.0.rand); 2.wait } }).play; ⧉ ✔ You can set the following parameters (default values in brackets): mix (1) How much of the stored ...
-
... { mc.descendentsInclude(this).if({ MethodError("% -> % will produce an infinite loop." .format(this, mc), this).throw; }, { // if the dest mixer is routed to another mixer, // place the dest mixer before its destination incr = incr + mc.num ...
-
... { mc.descendentsInclude(this).if({ MethodError("% -> % will produce an infinite loop." .format(this, mc), this).throw; }, { // if the dest mixer is routed to another mixer, // place the dest mixer before its destination incr = incr + mc.num ...
-
... Message.(i, slider.value) }; }); }); routine = Routine({ var event, val, slNum; loop { // event: b=num, c=vel event = MIDIIn.waitNoteOn( port ); //slNum = (1: 1, 2: 2, 4: 0, 5: 3).at(event.b.wrap(0,15)); slNum = channels.indexOf(event.b.wra ...
-
... lishing" , 320, 240); n.background(0, 1, 0); n.cmt( "Hello, NodeBox" ); // this loop of 120 times is relatively fast // 1200 iteration is slower, and 12000 is slower still // 120000 hasn't (yet) been tried 120.do({ n.fill(1.0.rand, 0, 0, 1. ...
-
... theseNotes.sort({arg a, b; a.beat < b.beat}); // this also needs to be a while loop! add to theseNotes as needed while({ curNote = (theseNotes.size > 0).if({ theseNotes.removeAt(0); }, { nil }); curNote.notNil; }, { while({ curNote.beat >= ...
-
... tterns, you must call yield or embedInStream in the function, otherwise it will loop forever. ( a = ( pattern: Pbind(\note, Pgeom(1, 1.1, { 20.rand }), \dur, 0.05), embedInStream: { |event, inevent| event[\pattern].embedInStream(inevent) } ...
-
... pitchStr } } } ClPitchEventNode : ClEventStringNode { parse { |stream| // while loop assumes that the pitch number has already been eaten var ch = stream.next, new = String.with(ch); while { (ch = stream.next).notNil and: { "+-',~=_.>".incl ...