-
... 0; scale= nil; tuning= nil; } size { if(scale.isNil, { ^12; }); ^scale.size; } tune {|freq, transpose= 0| if(scale.notNil, { if(transpose==0, { freq= freq.cpsmidi.nearestInScale(scale.semitones).midicps; }, { freq= freq.cpsmidi.nearestInSc ...
-
// a way to convert numbers to scale degrees and back // understands sharps, but not flats // with default ( ModalSpec([0, 2, 4, 5, 7, 9, 11], 12) ), // 0 -> 0 (c), 1 -> 0.5 (c#) // octaves are preserved in map/unmap operations ModalSpec { ...
-
... a default EqualTemperament object behaves just like midicps. However, you can retune the EqualTemperament object to any pitch. t = EqualTemperament (); t.cps(69); 440 t.cps(60); 261.6255653006 60.midicps 261.6255653006 t.calibrate(415, 69); ...
-
... a default EqualTemperament object behaves just like midicps. However, you can retune the EqualTemperament object to any pitch. t = EqualTemperament (); t.cps(69); 440 t.cps(60); 261.6255653006 60.midicps 261.6255653006 t.calibrate(415, 69); ...
-
// a way to convert numbers to scale degrees and back // understands sharps, but not flats // with default ( ModalSpec([0, 2, 4, 5, 7, 9, 11], 12) ), // 0 -> 0 (c), 1 -> 0.5 (c#) // octaves are preserved in map/unmap operations ModalSpec { ...
-
... r pelog and slendro instruments; // neutral instruments are assumed not to be retuned. VGTuning .mulTrees; // continue with VGTuningGui and VGSound.
-
... cument // trivial case: one pdef, playing for a specific amount of time Pdef ( \tune , Pbind ( \instrument , \default , \degree , Pstutter (2, Pseq (#[0, 7, 4, 3, 1, 7, -2, 2], inf )), \dur , 0.25, \legato , 0.72 )); // I'll also include a ...
-
... cument // trivial case: one pdef, playing for a specific amount of time Pdef ( \tune , Pbind ( \instrument , \default , \degree , Pstutter (2, Pseq (#[0, 7, 4, 3, 1, 7, -2, 2], inf )), \dur , 0.25, \legato , 0.72 )); // I'll also include a ...
-
// for just intonation, we need a ModalSpec bound to the process // that can look up the currently active tuning variant // also shorten the syntax for performance ModalSpecJI : ModalSpec { var <bpKey; bpKey_ { |key| if(BP.exists(key)) { bp ...
-
Scala: Filter: Description Class methods open new Inherited class methods Instance methods scale Inherited instance methods Examples Classes (extension) | Tuning > TuningLib'>TuningLib Scala Extension open Scala files Location: NOT INSTALLE ...