-
/* \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 ...
-
... 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 ...
-
... 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 ...
-
... 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 ...
-
... 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 ...
-
... 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 ...
-
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 ...
-
... 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 ...
-
... 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; ...
-
... 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 { } ///////// ...