-
... the sorted order of the array: o = z.order; y = z[o]; // using the order as an index returns the sorted array ⧉ ✔ calling order on the order returns an array of indices that returns the sorted array to the original scrambled order: p = o.o ...
-
... num , freq: 440.0 , phase: 0.0 , mul: 1.0 , add: 0.0 ) Arguments: bufnum Buffer index. freq Frequency in Hertz. phase Phase offset or modulator in radians. (Note: phase values should be within the range +-8pi. If your phase values are large ...
-
... il}); }; // a function for caluclating samples for envelopes envVals={ arg env, index, base=1, exp; var inds, vals, x1, x2, y1, y2, m, b, x, ind; #inds, vals = env.clump(2).flop; inds = inds.add(index).sort; ind = inds.indexOf(index); inds. ...
-
... bt, \1); // button names as printed on device k.elAt(\bt, 0); // also access by index - begins with 0 // direct access by full element name k.dictAt(\bt_1); // the joysticks are hierarchical - two joysticks with each x and y: k.elAt(\joy); ...
-
... ew.userView.view.isClosed.not ) { { plotView.refresh }.defer; }; } selected_ { |index| selected = index; this.changed( \selected, selected ); this.refresh } selectedLine_ { |index| selectedLine = index; this.changed( \selectedLine, selected ...
-
... Name: " << altName << ")"; } } OSCMapperArray : OSCMapperElement { var a; at { |index| ^a[index]; } update { |...newValues| a = a ? []; if(a.size != newValues.size, { a = newValues.size.collect({|i| var element = OSCMapperFader(); element.a ...
-
... Ndef(\out).play; ) ( Ndef(\sin).numChannels.do({ |i| // Ndef(\sin) source is at index 0 // add each role at a separate slot Ndef(\sin)[i+1] = \seti -> Pbind( \freq, Prand(#[674, 249, 330, 76, 298, 1007], inf), \phase, Pwhite(0.0, 50.0), \du ...
-
... abOrdered grab names from envir, sorted alphabetically. . moveName move name to index in orderedNames. . useHalo use the Halo of the object passed in for sharing param specs and orderedNames. . updateSliderSpecs set the controlspecs on the ...
-
... if(bus.numChannels > 1) { Array.fill(bus.numChannels, { |i| (rateLetter ++ (bus.index + i)).asSymbol }) } { bus.asMap } } asControlInput { ^this.asMap } concreteInstance { // ('shared' happens to set the concrete flag) ^this.class.shared(so ...
-
... localBeats The local clock's beats. Usually this should be derived from result[index][\queriedAtBeat] (where result comes from MeterSync: -queryMeter ). Strongly recommended to use this instead of clock.beats , because the query time does ...