Module breakers::chromatic

source ·
Expand description

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

Structs§

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

Enums§

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