-
... c| var view, char, modifiers, unicode, keycode, key, newkeyspec, action, envir; loop { #view, char, modifiers, unicode, keycode, key, envir = keyspec; (action = states.matchAt(if(unicode == 0) { keycode } { unicode })).notNil.if({ // if an ...
-
... var removed, toschedule, tokeep; var endsec; var iterate; //condition for while loop var event; var scheduletime; var server; var latency; endsec= need/tempo; have= upto-need; //(beatlocation+need); want=0.5-have; //[\provideMaterial, beatl ...
-
... NameWas = units.first.get( defNameKey ); }; // disable auto updating to prevent loop autoUpdateWas = autoUpdate; autoUpdate = false; args.pairsDo({ |key, value| var values; this.setArg( key, value ); values = this.getSpec( key ).massEdit( u ...
-
... SCellaneousDirs[0] +/+ "Sounds" +/+ "kitchen_sounds_1.wav" ); // switch between looping PlayBufs ( x = { var sig = { DXMix .ar( Dxrand ([0, 1, 2], inf ), `( PlayBuf .ar(1, b, BufRateScale .kr(b) * [0.4, 1, 2.2], loop: 1)), stepTime: 0.2, fa ...
-
... hod that adds a getter and setter for a parameter that can be used * inside the loop? */ CtkPMod : CtkObj { classvar <envsd; var <starttime, <condition, <amp, <id, <server, <function, <>version; var <isPlaying = false, <isReleasing = false, ...
-
... ls that do not change with scenes: 0: ( rew: '0_47', play: '0_45', fwd: '0_48', loop: '0_49', stop: '0_46', rec: '0_44' ), // controls in the scenes 1, 2, 3, 4: 1: ( mode: 'push', kn1: '0_14', kn2: '0_15', kn3: '0_16', kn4: '0_17', kn5: '0_ ...
-
... gits.size + fromdigits.indexOf(char); }; if(x == 0,{ ^todigits[0] }); res = ""; loop { digit = x % todigits.size; res = todigits[digit].asString ++ res; x = (x / todigits.size).floor.asInteger; if(x <= 0,{ ^res }) } } // passed to Instr fun ...
-
... its.size + fromdigits.indexOf(char); }; if(x == 0, { ^todigits[0] }); res = ""; loop { digit = x % todigits.size; res = todigits[digit].asString ++ res; x = (x / todigits.size).floor.asInteger; if(x <= 0, { ^res }) } } // passed to Instr fu ...
-
... lor(0,0,0)) .font_(GUI.font.new("Optima", 24)) ; clockTask = Task.new({ arg i ; loop({ clockField.string_((thisThread.seconds-startTime).asTimeString) ; 1.wait }) // a clock refreshing once a second }, AppClock).start ;//.play(AppClock) ; t ...
-
... e's duration will not be changed and there will be no guarantee of the sequence looping at a bar boundary. If you do not supply the arguments in the method call, they will be looked up in the buffers properties dictionary (meaning that a bu ...