Expand description
Musical domain library.
Modules§
- rhythm
- Utilities for building or generating rhythms.
Structs§
- Chord
- Describes a chord using a root
PitchClass, andChordShape. - Interval
- A pitch difference, measured in half-steps/semitones.
- Key
- Musical key signature represented as a root
PitchClass,Scale(e.g. Major/Minor), andMode. - Note
- A musical note, corresponding to a specific frequency in 12 tone equal temperament space.
- Note
Iter - Iteration state for
Notes according to anIntervalpattern within aRangeBounds<Note>. - Pitch
Class - An octave-independent note.
- Time
Signature - A musical time signature as a combination of beats per bar, and beat length.
Enums§
- Chord
Shape - Chord types as interval collections.
- Degree
- Scale degree, based on a 7-note scale.
- Mode
- Offset applied to a
Scale’s interval sequence. - Note
Name - Musical note name.
- Scale
- Sequence of intervals spanning 12 semitones or one octave.
Traits§
- Interval
Collection - Provides a collection of intervals, each as an absolute interval from a relative pitch.
- Interval
Step Sequence - Provides a sequence of intervals, representing the interval deltas from one note to the next.
- Note
Iterator - Provides iteration over notes of specific patterns (e.g. scale/chord) within a given note range.
- Pitch
Class Collection - Trait implemented for types which represent or provide a collection of pitch classes.