-
... ethod(\d1Niad)); ^this.d1Niad(identity,orientation, n); } getOvertoneInterval {|index, orientation| //DeprecatedError(this, \getOvertoneInterval, \d1Interval, Diamond).throw; this.deprecated(thisMethod, Diamond.findMethod(\d1Interval)); ^th ...
-
... ted = indices; this.refresh; this.changed( \select ); }; } selectNoUpdate { |...index| if( index[0] === \all ) { index = object.positions.collect({ |item, i| i }).flat } { index = index.flat.select(_.notNil); }; if( selected != index ) { se ...
-
... true to cycle through shades, or false, or a function that translates the bar's index to a shade number (numbers 1 through 8). // LaTeX.barChart({100.0.rand}.dup(10).collect{|item, index| (("Item"+index) -> item) }, precision: 3) *barChart ...
-
... eqs = []; amps = []; // get all the magnitudes from the buffer (size /2 ).do({ |index| freqs = freqs.add(index * ( 1 + spacing)); amps = amps.add(Complex(z[0][index], z[1][index]).magnitude); }); // get rid of everything below a cutoff to m ...
-
... r <>xiigui; var <>win, params; classvar ugenScopes; var <server, <numChannels, <index; var inbus; var <bufsize, buffer, synth; var n, c, d, sl, style=0, sizeToggle=0, zx, zy, ai=0; var onOffButt, onOffState = false; *new { arg server, numCh ...
-
... iptionDict.at(tripletDict.at(triplet.asSymbol) ) } translateBack { arg aminoacidIndex; // aminoacid id to triplet var index; index = transcriptionDict.findKeyForValue(aminoacidIndex); ^tripletDict.findKeyForValue(index); } size { ^genome.si ...
-
... any specified poles and zeros are added automatically. Instance Methods addPole(index, location) Add a pole to the Z-plane. Index must denote a valid integer location into the poles array. Alternatively, index can be specified as nil, which ...
-
... recorder; var layout, spat, config; var numSamples = 64; var numChans = 4; var indexes = Array.iota(numChans); answer = indexes.odd; // array of true/false layout = indexes.select { |i| i.odd }; // only odd channels will be used spat = Arr ...
-
... hru = true; // pass not-understood messages thru to the target object? var <collIndex, // the instance is stored at this.class(collIndex) <>value, // what I'm pointing to <>subType, <>path; // collection is shared among all subclasses, so m ...
-
... ter ); } rotate { |amount = 0| this.angle = angle + amount; } rotatedPointAt { |index = 0| ^( dist @ ( ( (index - ((n-1)/2)) * spWidth) - offset ) ); } rotatedFirstPoint { ^this.rotatedPointAt(0); } rotatedLastPoint { ^this.rotatedPointAt(n ...