-
... oard.dataAction= {|num, data, accel| if(num%50==0, {data.postln})}; //only post every 50th package (uV) ~openbci= board; ) //note: specially when using wifi and a high samplerate, posting every data package can flood the post window and cra ...
-
... real scsynth and loads real files: action must fire exactly ONCE, //only after every file's buffers are loaded AND the sampler's post-processing //(averages, kd-tree, keyRanges) is done. Re-loading already-loaded files must //also fire it ...
-
... uffice for simple uses. // Use the global top DayTimer // put an action in - at every full 10 seconds, post. DayTimer.putDate(\ten, { |date| date.second % 10 == 0 }, { "10 sec.".postln }); DayTimer.start; // now do it. // post every three s ...
-
... thing that responds to .value and returns a cut's amplitude. This is called for every repeat in a BBCutBlock . The first argument is the repeat number in the block, and the second argument is the block itself. If ampfunc responds to .update ...
-
... ], ['spaceTrack2', 'pan2'], ['spaceBus1', 'pan2'], ['spaceBus2', 'pan2']]; want.every{|w| sp.includesEqual(w) } or: { "spaces: " ++ sp.cs } }); // More output channels: mono strips use that output's panner, the master plays directly. ~radTe ...
-
... Number { //test if a string could be converted to number using .interpret ^this.every({ |item, i| ((item.isDecDigit) or: (item == $.)) or: ((item == $-) && (i == 0)) }); } couldBeHex { ^this.every({ |item, i| (item.isDecDigit) or: ([$a, $b, ...
-
... rateIndices] .allTuples.collect(_.flatten) } } miSC_isGrouping {|n| var f; this.every({|x| x.isKindOf(Collection) and: { x.every({|y| y.isInteger})} }).not.if { ^false }; f = this.asSequenceableCollection.collect(_.asSequenceableCollection) ...
-
... e time now (Date.getDate). func is the task to do when test == true. // do this every full minute - id so you can remove it again d .putDate( \perMin , { |date| date .second == 0 }, { "full minute!" .postln }); // do this every minute at se ...
-
... l work behind SSampler: -key : choosing samples for a key number, and computing every voice's onset time, playback window and envelopes for the chosen sync strategy. Those query methods are internal — what is useful directly is the registry ...
-
... he last value of the EventSource . collect Returns: A new EventStream, that for every event that this EventStream fires, that one will fire an event that is the result of applying 'f' to this EventStream's event. Discussion: //Create a slid ...