music_notes library

A simple Dart library that provides a comprehensive set of utilities for working with music theory concepts.

Classes

Accidental
An accidental.
Chord<T extends Scalable<T>>
A musical chord.
ChordPattern
A musical chord pattern.
ClosestPitch
An abstraction of the closest representation of a Frequency as a Pitch.
EnglishNoteNotation
The English alphabetic Note notation system.
EnharmonicSpellingsPitchClassNotation
The enharmonic spellings PitchClass notation system.
EqualTemperament
A representation of an equal temperament tuning system.
GermanNoteNotation
The German alphabetic Note notation system.
HarmonicFunction
A harmonic function.
HearingRange
A representation of a hearing range.
HelmholtzPitchNotation
The Helmholtz Pitch notation system.
ImperfectQuality
Quality corresponding to an Interval.imperfect.
IntegerPitchClassNotation
The integer PitchClass notation system.
Interval
Distance between two notes.
IntervalClass
The shortest distance in pitch class space between two unordered PitchClasses.
IntervalNotation
The abstraction for Interval notation systems.
JustIntonation
A representation of a just tuning system.
Key
A musical key or tonality.
KeySignature
A key signature.
Mode
A type of musical scale coupled with a set of characteristic melodic and harmonic behaviors.
Note
A musical note.
NoteNotation
The abstraction for Note notation systems.
PerfectQuality
Quality corresponding to an Interval.perfect.
Pitch
A note in the octave range.
PitchClass
A set of all pitches that are a whole number of octaves apart, sharing the same chroma.
PitchClassNotation
The abstraction for PitchClass notation systems.
PitchNotation
The abstraction for Pitch notation systems.
PythagoreanTuning
A representation of the three-limit (a.k.a. Pythagorean) tuning system.
Quality
Further description of an Interval size that distinguishes intervals of the same size but with different numbers of half steps.
RomanceNoteNotation
The Romance alphabetic Note notation system.
Scalable<T extends Scalable<T>>
A interface for items that can form scales.
Scale<T extends Scalable<T>>
A set of musical notes ordered by fundamental frequency or pitch.
ScaleDegree
A scale degree.
ScaleDegreeNotation
The abstraction for ScaleDegree notation systems.
ScalePattern
A set of musical intervals that conform a musical scale.
ScientificPitchNotation
The scientific Pitch notation system.
StandardIntervalNotation
The standard Interval notation system.
StandardScaleDegreeNotation
The standard ScaleDegree notation system.
Transposable<T>
A interface for items that can be transposed.
TuningSystem
A tuning system representation.

Enums

BaseNote
The base note names of the diatonic scale.
ModalMode
Modes of a modal system.
TonalMode
Modes of a tonal system.

Mixins

Chordable<T>
A mixin for items that can form chords.

Extension Types

Cent
See Cent (Wikipedia) and Cent (Xenharmonic Wiki).
Frequency
Represents an absolute pitch, a physical frequency.
ImperfectSize
An Interval.imperfect size.
PerfectSize
An Interval.perfect size.
Ratio
A representation of a ratio.
Size
An Interval size.

Extensions

FrequencyIterableExtension on Iterable<Frequency>
A Frequency Iterable extension.
ScalableIterable on Iterable<T>
A Scalable iterable.

Constants

chromaticDivisions → const int
Number of chromatic octave divisions in EqualTemperament.edo12.