Expand description
this modules implements the various representations of musical notes, octaves, and pitches.
Modules§
- aspn
- an implementation of the American Scientific Pitch Notation (ASPN) for musical notes.
Structs§
- Accidental
State Iter - An iterator over the variants of AccidentalState
- Aspn
- An american scientific pitch notation (
Aspn
) representation of a musical note; this standard is used to represent notes in a way that is consistent with the American scientific pitch notation system, which uses a combination of a pitch class (represented as an integer) and an octave (represented as anOctave
) to uniquely identify a musical note. The pitch class is the note’s position in the chromatic scale, while the octave indicates the note’s position in the musical range. - Note
Base - The
NoteBase
is a generic representation of a musical note
Enums§
- Accidental
Accidental
enumerates the two alternative states a note make take, either sharp or flat and their respective states, single or double.- Accidental
State