-
... inValDict, 4, w); b = [\srcA, \srcB, \srcC].collect { |srcName| // var ktl = KtlLoop(srcName).looped = true; var sl2d = Slider2D(w, 120@130).action_({ |sl, x, y| a.influence(*[srcName, \x, sl.x.unibi.round(0.001), \y, sl.y.unibi.round(0.001 ...
-
... shield. . version gives the version number of the firmware. . close stops main loop and free the internal osc responders. Inherited instance methods Examples //start and post every 256th data package (num is the package counter 0-255) c= C ...
-
... can keep going indefinitely. ( p = Pspawner ({ |sp| // sp = the Spawner object loop { // run a new pattern in parallel // the pattern is finite // after a few events, it stops and the Pspawner forgets about it sp.par( Pbind ( \degree , Pse ...
-
... nd(-0.8, 0.8) }; ~wait = { 0.1 }; // time between grains ~playTask = Task({ loop { var pos, pitch, amp, dur, env; Synth(\grain, [ \bufNum, buffer, \pos, pos = ~pos.value, \pitch, pitch = ~pitch.value, \amp, amp = ...
-
... p.value = PlayBuf.ar(channum, bufnum, BufRateScale.kr(bufnum), startPos: tpos, loop: lp, doneAction:2); }, // for Stream-in SynthDefs { | p, channum, bufnum, lp = 0 | var trig; //p.value = DiskIn.ar(channum, bufnum, lp); // FIXED: Changed ...
-
... 60).midicps, 0, fdistsq.explin(1e-6, 1, 0.5, 0)).sum); }.play; ~updater = Task{loop{ ~foundbus.getn(3, {|data| ~nearests = data.asInteger}); ~mousebus.getn(2, {|data| ~mousepos = data}); s.sync; defer{w.refresh}; 0.1.wait; }}.play ) } ) ⧉ ...
-
... suspendIndices; (0..evPats.size-1).do { |i| queue.put(0, i) }; block { |break| loop { s = 0; nextDiv = nil; nextDivBase = nil; nextDivType = nil; nextDivs = nil; nextDivBases = nil; nextDivTypes = nil; currentIndices = nil; nextDivBaseDur ...
-
... patches (th.size == 0 or: { th.isString }).if({ th = [th] }); // create nodes: loop thru things nodes = Array.new(voices); // must add the nodes incrementally lcm = th.size.lcm(args.size); voices.do({ |i| nodes = nodes.add(this.makeNode(th ...
-
... s Instance Methods Inherited instance methods Examples fork { p = ParGroup.new; loop { ( degree: rrand(0.0, 12.0).round(1/4), group: p, db: rrand(-30, -25), pan: rrand(-1.0, 1.0) ).play; 0.2.wait; } } ⧉ ✔ helpfile source: /usr/local/share/S ...
-
... in unified nested arrays. // Preparations are a bit lengthy, but core bufrd/wr loop is short. // makeBufs encodes into unified nesting var makeBufs_0 = { |num, bufSize| { LocalBuf(bufSize).clear } ! max(1, num) }; var makeBufs = { |num, bu ...