music-diatonic-0.1.0: Implementation of basic western musical theory objects.
Music.Diatonic.Interval
Description
The Interval module implements diatonic intervals.
Synopsis
data Interval Source
Use these constructors to create Intervals. To alter them, use the diminish or augment functions.
Interval
diminish
augment
Constructors
Instances
compound :: Interval -> IntervalSource
Creates compound interval (adds an octave) to the specified Interval
octave
octave :: IntervalSource
min9th :: IntervalSource
maj9th :: IntervalSource
perf11th :: IntervalSource
min13th :: IntervalSource
maj13th :: IntervalSource
augment :: Interval -> IntervalSource
Augments an Interval by a semitone. The interval type remains the same.
diminish :: Interval -> IntervalSource
Diminishes an Interval by a semitone. The interval type remains the same.
steps :: Interval -> IntSource
Returns the number of scale steps in an Interval.
semitones :: Interval -> IntSource
Returns the number of semitones in an Interval.