-
... { |order, in| case{order == 1} { var in1, // declare variables for the b-format array in2, in3, in4; #in1, // distribute the channels from the array in2, in3, in4 = in; ^[in1, in2, in3, in4]} // and with the args from the *ar method {order ...
-
... example, a high hat process might need open and closed samples). Here, give an array listing paths to the soundfile(s). If you're using only one sample, you still have to wrap the path in an array: ["sounds/a11wlk01.wav"]. bufCoords: By de ...
-
... example, a high hat process might need open and closed samples). Here, give an array listing paths to the soundfile(s). If you're using only one sample, you still have to wrap the path in an array: ["sounds/a11wlk01.wav"]. bufCoords: By de ...
-
//redFrik RedBencode { *encode {|array| var res= List.new; array.do{|val, i| case {val.isInteger} { //integer res.add($i).add(val).add($e); } {val.isString} { //string res.add(val.size).add($:).add(val); } {val.isKindOf(Set)} { //dictionary ...
-
... ead(this.soundFilePath); //Error("Failed to open sound file").throw; sig = FloatArray.newClear(file.numFrames * file.numChannels); file.readData(sig); file.close; if(channel.notNil and: {this.numChannels > 1},{ sig = sig.clump(this.numChann ...
-
... ead(this.soundFilePath); //Error("Failed to open sound file").throw; sig = FloatArray.newClear(file.numFrames * file.numChannels); file.readData(sig); file.close; if(channel.notNil and: {this.numChannels > 1}, { sig = sig.clump(this.numChan ...
-
//redFrik RedIntelHex { var array; data { ^array.collect{|x| x[1]}.flat; } addressData { ^array; } hexFormatString { var str= ""; array.do{|x| str= str++x[0].asHexString(2)++":"; x[1].do{|x| str= str++x.asHexString(2)}; str= str++"\n"; }; ^ ...
-
/* gplv3 hjh */ // remove nodeAt + SequenceableCollection { asOSCPlugArray { |dest, downstream, bundle| var array = Array(100); // allocate a bunch of space this.do { |e| array = e.asOSCPlugEmbeddedArray(array, dest, downstream, bundle); }; ...
-
... =400, mute=0| case{order == 1} { var in1, // declare variables for the b-format array in2, in3, in4, decoded; #in1, // distribute the channels from the array in2, in3, in4 = in; ^ITU5001.ar(in1, // return the Ugen in2, in3, in4, gain: gain. ...
-
+ Collection { rejectSame { this.do({|item| var array; array = this.indicesOfEqual(item); if(array.size > 1, { array.copyRange(1, array.size-1).do({|item,index| this.removeAt(item-index); }); }); }); } busFunc { var args, brak1, brak2; if(t ...