[−][src]Module musictheory::types
Core Types:
- Pitch - Discrete PitchClass at a given Octave pinned to a tuned frequency.
- PitchClass - Notes reduced to the 12 discrete Semitones.
- PitchGroup -
Musical Key
s reduced to the 12 discrete PitchClass Combinations. - Octave - Pitch range for a given set of Pitches.
- Cents - Logarithmic distance between two Pitches.
- Steps - Distance between two Pitches measured in Semitonal Steps.
Music Theory Types:
- Tone - A Note at a given Octave.
- Note - Various Names given to PitchClasses in Musical Theory.
- Key - Unimplemented
- Octave - Range for a given set of Tones.
- Interval - Distance Between Two Pitches
- PerfectQuality - Quality of First, Fourth, Fifth, and Seventh Intervals.
- MajorQuality - Quality of the Second, Third, and Sixth Intervals.
- Degree - Note Positions in a Scale
- Scale - In music theory, a scale is any set of musical notes ordered by fundamental frequency or pitch. A scale ordered by increasing pitch is an ascending scale, and a scale ordered by decreasing pitch is a descending scale.
Modules
sequences |
Structs
Cents | Representation of Logarithmic pitch distance based on an equal tempered semitone (100 cents) and octave (1200 cents). |
CircleOfFifths | In music theory, the circle of fifths is the relationship among the 12 tones of the chromatic scale, their corresponding key signatures, and the associated major and minor keys. |
Matrix | The Pitch Matrix is a set of static Reference Tables containing Ordered Note Accidentals, Interval, and Degree based on PitchClass and PitchGroup. |
Pitch | Pitch is the unique Combination of PitchClass and Octave. |
Steps | Steps is the distance in semitones between two PitchClasses. |
Tone |
Enums
Accidental | Accidentals describe if a Note is natural, sharp or flat. |
Degree | Degrees are a representation of particular notes in a sequence. |
Form | A Notation of whether a key signature is Sharp or Flat in nature. |
Interval | Interval is the distance between two PitchClasses. |
MajorQuality | MajorQuality is the Interval Quality of the Second, Third, Sixth, and Seventh. |
Mode | Mode is a type of musical scale coupled with a set of characteristic melodic behaviors. TODO: Deprecate? |
Note | Notes are names given to a specific PitchClass. |
Octave | |
PerfectQuality | PerfectQuality is the Interval Quality of the First, Fourth, and Fifth. |
PitchClass | PitchClass is the unified representation of the 12 semitone harmonics used in western music. |
PitchGroup | Pitch Group is the Y Axis on the Matrix Table |
PitchMode | Sequence of PitchClasses in modal order for a given PitchGroup. |
Scale | Scale is a sequence of intervals and a series of notes that match those intervals. |