Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (3519) Code (203) Doc (848) Help (193) Quark (2225) Plugin (50) SCDoc ↗ Forum ↗ Google ↗
  1. Order Doc

    ... 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 ...

  2. extInteger Quark

    ... ---------------------- + 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 ...

  3. string additions Quark

    ... , 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({ ...

  4. startup02-melodicStorage Quark

    ... 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 ...

  5. MatrixArray Quark

    ... 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 ...

  6. MKtlLookup Quark

    ... 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 ...

  7. startup14-perc Quark

    ... 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 ...

  8. PitchClass Quark

    ... 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 ...

  9. ContiguousBlockAllocator Help

    ... 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 ...

  10. CactusTemplateManager Quark

    ... ent; if (File.exists(targetFilePath).not or:{File.readAllString(targetFilePath).size == 0}, { this.createTheFile(targetFilePath, generatedFileContent) },{ this.createBackupFileCopy(targetFilePath, generatedFileContent); this.createTheFile(t ...

prev 51 52 53 54 55 56 57 58 59 60 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow