Module chromatic

Source
Expand description

This module defines notes and chords, and functions for parsing them.

Structs§

Augs
Chord
A chord consists of a root note, a mode, an optional augmentation, and an optional bass note.
Note
A note consists of a white note, an accidental, and an octave.

Enums§

Acc
The accent for a note, either natural, flat, or sharp.
Aug
Possible augmentations for chords (of course, there are a lot more)
Mode
Possible modes for chords (of course, there are a lot more)
Octave
Octaves one through seven (as for an 88 key piano)
PitchClass
A pitch class is a white note with an accidental.