-
... yStr = presetKey.asString; fItem = view.itemAt(fIndex); // super-oldskool while loop // because there's no 'numChildren' method for TreeViewItem pIndex = 0; while { fItem.childAt(pIndex).notNil and: { fItem.childAt(pIndex).strings[0] != pKe ...
-
... so you aren't updating on every iteration of the routine, but at the end of the loop. // choose a gui (see GUI helpfile) GUI .swing; GUI .cocoa; ParaSpace .new // use ctrl+click to create a Box ( w = Window .new( "ParaSpace" , Rect (10, 500 ...
-
... 5).wait ; }) ; }).play( SystemClock ) ; ) ////////////////////////// // Another looping cloud ( g = Graph .new ; r = Runner .new(g, weight:0.2).gui ; p = Painter .new(g, r) ; h = SlicePlayer (r).initAudio( "sounds/a11wlk01.wav" ) ; 20.do({ ...
-
... nnels, bufnum: ~that_buffer, rate: BufRateScale.kr(~that_buffer) * rate.lag(1), loop: 1 ); }) ) // ================== // Amplitude Analysis // ================== // we will use amplitude analysis as a simple example to explain everything // ...
-
... nv('PATH', [PATH ':/usr/local/bin']); \n"); file.write("\n\n"); file.write("\t% looping up to the order set above \n"); file.write("\t for order = 1:h_order \n"); file.write("\n \t % set the channel definition first\n"); file.write("\t\t C ...
-
... .reverseDo yields four. do yields the counter as an Integer, // which is what a loop index is for; reverseDo counts down from this - 1, so // its values are rational whenever the receiver is. do { arg function; var i = 0, limit = this.asInt ...
-
... 5].choose }; ~asPattern = { Prout ({ // note Prout - NOT Routine or Task - here loop { s.makeBundle(0.2, { Synth ( \sinGrain , [freq: ~calcPitch.value]); }); ~calcDur.value.wait; } }) }; }) => PR ( \routine ); PR ( \routine ) => BP ( \r ); ...
-
... 5].choose }; ~asPattern = { Prout ({ // note Prout - NOT Routine or Task - here loop { s.makeBundle(0.2, { Synth ( \sinGrain , [freq: ~calcPitch.value]); }); ~calcDur.value.wait; } }) }; }) => PR ( \routine ); PR ( \routine ) => BP ( \r ); ...
-
... amp, ampScale, \dur, totalDur, \tscale, 1.0], srv.defaultGroup); } // ── Cached-loop API (analog ATSSynth.prepareDef/spawn) ───────────────── // Builds the NoiseDef once; spawnNoise starts it without GUI latency. // Bandbegrenztes WEISSES R ...
-
... t; var statesArray, statespop; var silentBuf; var tempo, volume, threshold; var loopmode, timermode, playmode; var threshradio, timermoderadio, playmodepopup, loopmoderadio, volslider, thresholdslider, outbuspop, threshbool; selT = [2, 2]; ...