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.
ChordPatternNotation
A notation system for ChordPattern.
ClosestPitch
An abstraction of the closest representation of a Frequency as a Pitch.
CompactTuningForkNotation
The StringNotationSystem for compact TuningFork.
EnglishAccidentalNotation
The English notation system for Accidental.
EnglishKeyNotation
The English notation system for Key.
EnglishNoteNameNotation
The English notation system for NoteName.
EnglishNoteNotation
The English notation system for Note.
EnglishTonalModeNotation
The English notation system for TonalMode.
EnharmonicSpellingsPitchClassNotation
The StringNotationSystem for enharmonic spellings PitchClass.
EqualTemperament
A representation of an equal temperament tuning formatter.
Formatter<V, O>
An abstract representation of a formatter for V.
FrequencySINotation
The StringNotationSystem for SI-notated Frequency.
GermanAccidentalNotation
The German notation system for Accidental.
GermanKeyNotation
The German notation system for Key.
GermanNoteNameNotation
The German notation system for NoteName.
GermanNoteNotation
The German alphabetic notation system for Note.
GermanTonalModeNotation
The German notation system for TonalMode.
HarmonicFunction
A harmonic function.
HelmholtzPitchNotation
The Helmholtz Pitch notation formatter.
ImperfectQuality
Quality corresponding to an Interval.imperfect.
ImperfectQualityNotation
A notation system for ImperfectQuality.
IntegerPitchClassNotation
The StringNotationSystem for integer PitchClass.
Interval
Distance between two notes.
IntervalClass
The shortest distance in pitch class space between two unordered PitchClasses.
IntervalNotation
A notation system for Interval.
JustIntonation
A representation of a just tuning formatter.
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.
NotationSystem<I, O>
An abstract representation of a notation system for parsing and formatting I.
Note
A musical note.
NoteNotation
The abstract StringNotationSystem for Note.
Parser<I, V>
An abstract representation of a parser for V.
PerfectQuality
Quality corresponding to an Interval.perfect.
PerfectQualityNotation
A notation system for PerfectQuality.
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.
PythagoreanTuning
A representation of the three-limit (a.k.a. Pythagorean) tuning formatter.
Quality
Further description of an Interval size that distinguishes intervals of the same size but with different numbers of half steps.
RomanceAccidentalNotation
The Romance notation system for Accidental.
RomanceKeyNotation
The Romance notation system for Key.
RomanceNoteNameNotation
The Romance notation system for NoteName.
RomanceNoteNotation
The Romance alphabetic notation system for Note.
RomanceTonalModeNotation
The Romance notation system for TonalMode.
Scalable<T extends Scalable<T>>
An 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.
ScalePattern
A set of musical intervals that conform a musical scale.
ScientificPitchNotation
The scientific notation system for Pitch.
ScientificTuningForkNotation
The scientific TuningFork notation formatter.
SizeNotation
A notation system for Size.
StandardClosestPitchNotation
The StringNotationSystem for standard ClosestPitch.
StandardScaleDegreeNotation
The standard ScaleDegree notation formatter.
StringFormatter<V>
An abstract representation of a string formatter for V.
StringNotationSystem<V>
An abstract representation of a notation system for parsing and formatting V from and to a string.
StringParser<V>
An abstract representation of a parser for V.
SymbolAccidentalNotation
The symbol notation system for Accidental.
Transposable<T>
An interface for items that can be transposed.
TuningFork
The representation of a tuning fork.
TuningSystem
A tuning system representation.

Enums

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

Mixins

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

Extension Types

Celsius
The representation of a Celsius temperature.
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.
Size
An Interval size.

Extensions

BinarySequence on int
A binary sequence int extension.
HearingRange on Range<Frequency>
A representation of a hearing range.
IntervalIterable on Iterable<Interval>
An Interval iterable extension.
NoteIterable on Iterable<Note>
A Note iterable.
Notes on List<Note>
A list of notes extension.
Pitches on List<Pitch>
A list of pitches extension.
ScalableIterable on Iterable<T>
A Scalable iterable.
StringParserChain on List<StringParser<V>>
A StringParser chain.

Constants

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

Typedefs

Range<E> = ({E from, E to})
A representation of a range between from and to.