-
+ SequenceableCollection { // Returns an array of addends to the sum. // Useful for fitting the inter-offset times of an // arbitrary number of notes to the length of a measure. asAddendsOf{ arg sum; var result, values, val; result = this.c ...
-
... University of Technology and Unversity of California at Berkeley */ VBAPSpeakerArray { classvar minSideLength = 0.01; var <dim, <speakers, <numSpeakers, sets; *new { |dim, directions| ^super.newCopyArgs(dim).initFromDirections(directions); ...
-
... var zero; zero = K2A.ar(0); ^this.ar(w, x, y, zero, zero, zero, zero, zero, v, Array.series(4, 0.25pi, -0.5pi), 0, mul, add) } // point front first *pentagon {arg w, x, y, u, v, mul = 1, add = 0; var zero; zero = K2A.ar(0); ^this.ar(w, x, ...
-
... > 0).if({ // if in is multi channel, make seperate delay time for each channel Array.fill( numCh, { arg i; maxDelayTime.rand }) },{ maxDelayTime.rand }), decayTime ) }); ^out * mul + add } }
-
... Diffusion = 0.5, lateDiffusion = 0.5, modRate = 0.2, modDepth = 0.3 | in = in.asArray; if(in.size != 2) { Error( "NHHall expects a stereo signal, but received a size % array." ).throw; }; ^this.multiNew( \audio, in[0], in[1], rt60, stereo, ...
-
... gnal.size] ++ signal ++ [filename.size] ++ filename.asString.collectAs(_.ascii, Array); ^this.multiNew('audio', *args) } } NovaDiskIn : MultiOutUGen { classvar readerIDAllocator; *initClass { readerIDAllocator = StackNumberAllocator(0, 1073 ...
-
... 1.0, add=0.0; // var chanOffset, consecutiveOrSingleton; // channel = channel.asArray; // // check to see if channels array is consecutive // consecutiveOrSingleton = (channel.size == 1) or: // {channel.every({arg item, i; ((i==0) or: {item ...
-
... el, width ) } init { arg numChans ... theInputs; inputs = theInputs; channels = Array.fill(numChans, { arg i; OutputProxy(rate,this, i) }); ^channels } } PanX2D : MultiOutUGen { *ar { arg numChansX, numChansY, in, posX = 0.0, posY = 0.0, le ...
-
... / delayTimes for allpasses (times left, times right) usedAllpassData, combs, // Array of comb objects combsOut, // their sound output allPassIO, // allPass chain in/out variable inMono; // input signal is converted to mono if necessary. var ...
-
Stk{ classvar names; classvar namenumber; *initClass{ names = Array.with("Clarinet", "BlowHole", "Saxofony", "Flute", "Brass", "BlowBotl", "Bowed", "Plucked", "StifKarp", "Sitar", "Mandolin", "Rhodey", "Wurley", "TubeBell", "HevyMetl", "Per ...