music-pitch-1.7.1: Abstract representation of musical pitch.

Copyright(c) Hans Hoglund 2012
LicenseBSD-style
Maintainerhans@hanshoglund.se
Stabilityexperimental
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

Music.Pitch.Absolute

Description

Absolute pitch representation.

The canonical pitch representation is frequency in Hertz (Hz). For conversion, see HasFrequency.

Synopsis

Documentation

data Cents Source

Number of pure octaves.

Cents are a logarithmic representation of frequency such that

f * (2/1) = frequency (cents f + 1200)    

data Fifths Source

Number of pure fifths.

Fifths are a logarithmic representation of frequency.

f * (3/2) = frequency (fifths f + 1)