-
... , add) bufnum - index of the buffer in - the input signal. ( var max = 300; t = Array .series(max, 0, 1).curdle(0.06).scramble.flat; b = Buffer (s, t.size, 1); // alloc and set the values s.listSendMsg( b.allocMsg( b.setnMsg(0, t) ) ); { va ...
-
... tiguousBlockAllocator { uReserve { |address, size = 1, warn = true| var block = array[address - addrOffset] ?? { this.prFindNext(address) }; var new; if(block.notNil and: { block.used and: { address + size > block.start } }) { if(warn) { "T ...
-
... rect) } init { arg boxes, rect; winRect = rect; selectables = boxes; selected = Array.new; //fill(8, {0}); // 8 is max num of layers color = Color(0.9, 0, 0, 1); bgcolor = Color(0, 0, 0, 0.6); visible = false; bounds = Rect(0, 0, 0, 0); } s ...
-
... classes which would naturally have several outputs such as a panner, return an array of unit generators when instantiated. The convention of having only a single output per unit generator allows the implementation of multiple channels by u ...
-
... ion Plays all of the players, mixing them together in its own synth. ( c = FloatArray[1,2,4,5,6,8,13]; // an array buffer loads an array onto the server d = ArrayBuffer(c); Instr(\helpPlayerMixer, { arg degree=1,amp=1.0,scale; var freq; //f ...
-
... thDescLib behavior for polySynthPlayer // polysynthplayer / trigger support for array args // voicer note must either have delta, length, gate specified or a single note as input - trying to get parms from array notes breaks // add repetiti ...
-
... / Ctrl + A, then Ctrl + Enter s.waitForBoot({ MIDIIn.connectAll; a = Array.fill(8, {arg count; [count, count+7] }); f = {arg velocity, midinote; var notes = if(midinote>=44, {a.reverse+midinote}, {a+midinote}); p = Pbi ...
-
... tion { findPairKeys { |keyList, prototype| var remain = keyList.size; var out = Array.newClear(remain); var set = IdentityDictionary.new; if(prototype.isSequenceableCollection) { out.overWrite(prototype, 0); }; keyList.do { |key, i| set.put ...
-
... an be used to access specific the units inlets by name or iterated over like an array. freqInlet = u.inlets.freq; // this is how connections are made, by referencing an outlet and inlet u.outlets.out >> v.inlets.in; u.inlets.at('1'); // if ...
-
... Pseq([0, 4, 7]), amp: 0.1, dur: 0.2).play ⧉ ✔ A pattern can also be bound to an array of keys. In this case, the pattern must specify a sequence whose elements are arrays with at least as many elements as there are keys. Pbind([\note, \amp] ...