Expand description
Micro-tuning format parsing and frequency finding library.
This library provides parsing of SCL (scale) and KBM (keyboard mapping) files, constructing tunings from scales and keyboard mappings and finding frequencies of notes.
This library is mostly a direct rewrite of Surge Synthesizer Teams’s tuning-library
. Even
the documentation is taken almost word for word.
Structs§
- Keyboard
Mapping - The KeyboardMapping struct represents a KBM file.
- Scale
- The Scale is the representation of the SCL file.
- Tone
- A Tone is a single entry in a SCL file. It is expressed either in cents or in a ratio, as described in the SCL documentation.
- Tuning
- The Tuning struct is the primary place where you will interact with this library.
Enums§
- Tone
Value - Value of a tone.
- Tuning
Error - Errors
Constants§
- MIDI_
0_ FREQ - Frequency of a MIDI note 0. Equal to
440 * 2^(69/12)
.