Copyright | (c) Hans Hoglund 2012 |
---|---|
License | BSD-style |
Maintainer | hans@hanshoglund.se |
Stability | experimental |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
Provides intonation, i.e. mappings from relative to absolute pitch.
- type Intonation p = p -> Hertz
- type Tuning i = i -> Hertz
- intone :: (Pitch, Hertz) -> Tuning Interval -> Intonation Pitch
- synTune :: (Interval, Hertz) -> (Interval, Hertz) -> Interval -> Hertz
- tetTune :: Interval -> Interval -> Hertz
- pureOctaveWith :: (Interval, Hertz) -> Interval -> Hertz
- pythagorean :: Tuning Interval
- quarterCommaMeantone :: Tuning Interval
- schismaticMeantone :: Tuning Interval
- fiveToneEqual :: Tuning Interval
- sevenToneEqual :: Tuning Interval
- twelveToneEqual :: Tuning Interval
- nineteenToneEqual :: Tuning Interval
- thirtyOneToneEqual :: Tuning Interval
- fiftyThreeToneEqual :: Tuning Interval
- standardIntonation :: Intonation Pitch
Documentation
type Intonation p = p -> Hertz Source
intone :: (Pitch, Hertz) -> Tuning Interval -> Intonation Pitch Source
Turn a tuning into an intonation.
Specific tunings
Specific intonations
standardIntonation :: Intonation Pitch Source
Modern standard intonation, i.e. 12-TET with a = 440 Hz
.