Module music_theory::theory
source · Expand description
Music theory core functionality.
Re-exports
pub use traits::*;
pub use note::*;
pub use pc::*;
pub use scale::*;
pub use chord::*;
pub use interval::*;
pub use enharmonic_note::*;
Modules
- Chords are stacks of notes. Variants are
Chord
,RootedChord
andRelativeChord
. - An enharmonic note is a note that takes into account enharmonic spelling.
- An interval is a distance between notes.
- A single musical note. This is one of the core values used in computations. It does not take enharmonic spelling into account.
- PC stands for Pitch Class.
- Scales are lists of notes. Variants are
Scale
andSteps
. - All traits defined in this crate.