-
... k= Integer.fromColor(Color.black); white= Integer.fromColor(Color.white); data= Array.fill(windowx*640); basedata= Int32Array.fill(drawupdatex*windowy,{black}); updatedata=basedata.copy; i = SCImage.new(windowx@windowy); w = SCWindow.new("S ...
-
... 2, 65, 67, 74, 76, 81, 60, 67, 69, 74, 77, 79, 84, 60, 64, 67, 72, 76, 79, 84], Array.fill(7*5, 0.1).putSeries(6, 13, 34, 1), 0.1, 0.5 ].asNotes, properties: (type: \ch, mode: \cmaj)) => MBM(0); MIDIRecBuf(\smallch, [ [60, 64, 67, 60, 65, 6 ...
-
... er "audio" and all sub-folders where script is stored iteratively and names the array keys according to the folders and the index defines the nth sample in this folder. So the PlayBuf have to be modified to match your need. Additionally ...
-
... s line b.mode_( \jump ); // back to default value The value of the slider is an array containing the lo and hi values. They are sorted internally, so normally the first value is always the lo, and the second the hi. If a single value is ent ...
-
... got a "++v) }; x.fire(1); x.fire(4); x.fire(7); x.fire(12); ) ⧉ ✔ Add values to array: ( x = EventSource(); y = x.inject([],{ |state,v| state ++ [v] }); y.do{ |v| postln("I got a "++v) }; x.fire(1); x.fire(4); x.fire(7); x.fire(12); ) ⧉ ✔ K ...
-
... !?{scale.name.asSymbol}, tuning!?{tuning.name.asSymbol}]} valueAction_ {|arr| //array with symbols [scale name, tuning name] var sindex, tindex; this.clear; if(arr[0].notNil, { sindex= scalesList.items.detectIndex{|s| s==arr[0]}; scalesList ...
-
... . Let's define a random one with the loop parameter set to true. ( ~path = Path(Array.fill(rrand(2.0, 38.0), {RealVector2D[rrand(5, 35.0), rrand(5.0, 35.0)]}), true); ~pathFollowing= PathFollowing(~unit1.entity, ~path); ) The Steering behav ...
-
... ariable names that can be used to store and recall signals. Arguments: names An array of variable names, usually single letters (for exceptions, see: -preProcess ). The leftmost appearance of a variable name means that the signal coming fro ...
-
... . Let's define a random one with the loop parameter set to true. ( ~path = Path(Array.fill(rrand(2.0, 38.0), {RealVector2D[rrand(5, 35.0), rrand(5.0, 35.0)]}), true); ~pathFollowing= PathFollowing(~unit1.entity, ~path); ) ⧉ ✔ The Steering b ...
-
... omposition). Pseq (Pattern-sequence) means simply to spit out the values in the array one by one, in order, as many times as the second argument (here, only once). p = Pseq ([60, 72, 71, 67, 69, 71, 72, 60, 69, 67], 1); r = p.asStream; whil ...