Music.Theory.Pitch
Documentation
type PitchClass = IntegerSource
data Alteration_T Source
Constructors
| DoubleFlat | |
| ThreeQuarterToneFlat | |
| Flat | |
| QuarterToneFlat | |
| Natural | |
| QuarterToneSharp | |
| Sharp | |
| ThreeQuarterToneSharp | |
| DoubleSharp |
Instances
Constructors
| Pitch | |
Fields
| |
note_to_pc :: Note_T -> IntegerSource
pitch_to_octpc :: Pitch -> (Octave, PitchClass)Source
pitch_to_midi :: Pitch -> IntegerSource
pitch_to_fmidi :: Pitch -> DoubleSource
pitch_to_pc :: Pitch -> PitchClassSource
pitch_compare :: Pitch -> Pitch -> OrderingSource
octpc_to_pitch :: (Octave, PitchClass) -> PitchSource
octpc_nrm :: (Octave, PitchClass) -> (Octave, PitchClass)Source
octpc_trs :: Integer -> (Octave, PitchClass) -> (Octave, PitchClass)Source
octpc_to_midi :: (Octave, PitchClass) -> IntegerSource
midi_to_octpc :: Integer -> (Octave, PitchClass)Source
note_t_transpose :: Note_T -> Int -> Note_TSource