-
... .2.4 / 2016-05-20 ================== * perf: enable strict mode * perf: use for loop in parse * perf: use string concatination for serialization 0.2.3 / 2015-10-25 ================== * Fix cookie `Max-Age` to never be a floating point numbe ...
-
... .coupling_(0.01/n) .freq_(0.05.rand+0.01) .phase_(2pi.rand) .amp_(0.85) }; //--loop w.draw{ world.objects.do{|o| world.objects.do{|p| if(p!=o, { o.couple(p); }); }; }; world.objects.do{|o, i| o.update; o.loc[0]= o.phase.sin*o.amp/2+0.5*wid ...
-
... S m = MKtl('captain', "captain-midi") m.gui; // Test outputs Tdef(\outTester, { loop{ var out = ['a', 'b', 'c', 'd'].choose; var val = rrand(0.0,1.0); "Setting output % to %".format(out, val).postln; m.elAt('out', out).value_(val); 0.125.wa ...
-
... e[ \return ] = true; /* pos = countStream.value( pos ); playRoutine = Routine({ loop { pos = countStream.value; { window.refresh }.defer; step.wait; } }); playRoutine.play; */ }; } { stop.bounds.containsPoint( x@y ) } { if( active[ \play ] ...
-
... aybuf part of wslib PlayBufCF .ar(numChannels, bufnum, rate, trigger, startPos, loop, lag, n ) Arguments are the same as PlayBuf . But PlayBufCF makes a crossfade every time it is triggered. In order to do so it uses two PlayBufs internally ...
-
... (key: 'play', midiNum: 118, style: (row: 2, column: 12.8, width: 0.8)), (key: 'loop', midiNum: 120, style: (row: 2, column: 13.4, width: 0.8)), (key: 'rec', midiNum: 119, style: (row: 2, column: 14.0, width: 0.8)) ] ), ( key: 'sl', shared: ...
-
... sPerBeat).reciprocal; ticks = ticks + 1; beats = ticks / ticksPerBeat; // while loop needed because more than one thing may be scheduled for this tick { (queue.topPriority ?? { inf }) < ticks }.while({ // perform the action, and check if it ...
-
... 1wlk01-44_1.aiff" ); { PlayBuf .ar(1, b.bufnum, SinOsc .kr(0.5).range(0.2,1.8), loop:1 ) }.render( "~/Desktop/testBuffer.aif" , 5, sfBuffer: b ); ) SCWindow:decorate ( margin, gap ) Adds a FlowLayout decorator to the window's SCTopView. w = ...
-
... .rand.round(50), (height*0.5).rand.round(50)+(height*0.4)]); }.dup(nRocks); //--loop w.draw{ Pen.strokeColor= Color.grey(0.7, 0.9); objs.do{|o, i| o.addForce(o.world.gravity); //add gravity objs.copyToEnd(i+1).do{|oo| o.collide(oo)}; o.upda ...
-
... (); }; }) => PR(\meterCmd); // REALLY experimental: flow-of-control commands // looping over a whole array // how to stop: same as others, set a user signal or specify a duration PR(\abstractTLCommand).clone({ ~autoSync = true; ~repeats = i ...