-
... ject rejectInPlace removeAllSuchThat removeAt removeAtSlot select selectInPlace size species Examples Classes | Collections > Ordered'>Ordered Order : SequenceableCollection : Collection : Object an order of elements with a numerical index ...
-
... ---------------------- + Integer { /* fft helper */ // the receiver is fft.real.size or fft.imag.size fftFreqs { arg sampleRate; var fftHalfSize, nyquist, step; this.isPowerOfTwo.if({ fftHalfSize = this / 2; nyquist = (sampleRate == nil).if ...
-
... , 2 ).postln; // return chars from the middle, backwards */ var len; len = this.size - 1; (start < 0).if({start = this.size + start}); end = end ? len; (end > len).if({ end = len }); (end < 0).if({ end = len + end }); ^( start <= end ).if({ ...
-
... the next note { (rawMIDI ? true).if({ ~mapToMode.value(mode) }, { ~mode = (mode.size > 0).if({ mode[0] }, { mode }); }); }.try({ |error| Error("Error translating MIDI to modal. Check to see if default mode is defined.") .throw; }); ~modeSub ...
-
... create a matrix. Received rank %", array.rank ) ).throw } { if (array.collect(_.size).every(_ == array[0].size).not) { error("[MatrixArray:-init] Row sizes are not identical").throw } }; // initialize instance vars matrix = array; rows = ar ...
-
... fo) ) }; multiIndexDict.sortedKeysValuesDo { |idkey, descsarray| if (descsarray.size > 1) { "multiple devices found for %.\n".postf(idkey.cs); descsarray.do { |desc, i| desc.put(\multiIndex, i); }; }; } } *addHID { | hidinfo, index | var pr ...
-
... lse; ~bufPaths = ~buffers.collect(_.path); ~bufTimes = Array.newClear(~bufPaths.size); ~buffers.do { |buf, i| ~fixBufTime.(i, buf) }; ~postBufferLoad.(); } { ~iLoadedBuffers = true; ~buffers.notNil.if({ ~buffers.free }); ~bufTimes = Array.n ...
-
... ter, <alt1, <alt2; classvar notenames, notenums, noteToScale, scaleToNote, accToSize, sizeToAcc, accToGuido, majScale, qualities, qualIdx; // deal with transposition, notenames and PC classes here // note and acc are symbols, octave is an i ...
-
... one feature not present in PowerOfTwoAllocator, namely the reserve method. *new(size, pos = 0) Create a new allocator with size slots. You may block off the first pos slots (the server's audioBusAllocator does this to reserve the hardware i ...
-
... ent; if (File.exists(targetFilePath).not or:{File.readAllString(targetFilePath).size == 0}, { this.createTheFile(targetFilePath, generatedFileContent) },{ this.createBackupFileCopy(targetFilePath, generatedFileContent); this.createTheFile(t ...