Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (313) Code (44) Doc (78) Help (18) Quark (170) Plugin (3) SCDoc ↗ Forum ↗ Google ↗
  1. degree_freq Quark

    /* \degree_freq Creates an UMap for converting note values to a frequency using specific scales and tunings. degree: note index (-n - n, depending on numsteps), 0 means first note offset: and offset value, added to the degree, useful for tr ...

  2. degree_freq Quark

    ... i| FuncUMapDef( i, { |unit, degree = 0, offset = 0, base = 440, transpose = 0, tune = 0, key = 0, octave = 0, scale = \chromatic, tuning = 'et12'| scale = Scale.newFromKey( scale, tuning ); if( key != 0 && { i != ii }) { scale = Scale( (sc ...

  3. CompositeTuning Quark

    ... ate message to all the tuning objects in the array, so that they will all be in tune at the reference pitch. If any of the array elements do not respond to "calibrate," they will be ignored. Array methods for easier access: size == how many ...

  4. CompositeTuning Quark

    ... ate message to all the tuning objects in the array, so that they will all be in tune at the reference pitch. If any of the array elements do not respond to "calibrate," they will be ignored. Array methods for easier access: size == how many ...

  5. Temperament Quark

    ... 0.midicps)| basefreq = baseHz; } // set frequency of arbitrary note (typically, tune a' to a given frequency) calibrate { |freq = 440, noteindex = 69| basefreq = freq / (octaveRatio ** (noteindex / stepsPerOctave)); } // change steps per oc ...

  6. Temperament Quark

    ... 0.midicps)| basefreq = baseHz; } // set frequency of arbitrary note (typically, tune a' to a given frequency) calibrate { |freq = 440, noteindex = 69| basefreq = freq / (octaveRatio ** (noteindex / stepsPerOctave)); } // change steps per oc ...

  7. ScalaTunings Quark

    ScalaTunings { *at { |tuningName| var tuning; tuning = Tuning.at( tuningName ); if( tuning.isNil ) { var scalaFileName = PathName( ScalaTunings.filenameSymbol.asString ).pathOnly +/+ "archive" +/+ "%.scl".format( tuningName ); ^Tuning.fromS ...

  8. pitch-model-from-tidal Quark

    ... nspose = pF "mtranspose" gtranspose = pF "gtranspose" harmonic = pF "harmonic" etune = pF "detune" scalename = pS "scaleName" tuning = pS "tuningName" stepsPerOctave = pI "stepsPerOctave" octaveRatio = pF "octaveRatio" */ // d1 $ slow 2 $ s ...

  9. DissonanceCurve Quark

    ... a Scale degree for every degree of the Tuning. @*/ var tuning, degrees, scale, tune, tuning_cents, index; tuning = this.tuning; (size < tuning.size). if({ // pick the size most consontant degrees degrees = []; tuning_cents = tuning.cents; ...

  10. VGTuning Quark

    ... with #, and empties. such a file could also be written automatically, and fine-tuned by hand. *****/ } // how many partials for which sonator? // filter out Kendhang, as they are not used // only make those *getPartialNumbers { } ///////// ...

1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow