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

Portabilityportable
Stabilityexperimental
Maintainerhans@hanshoglund.se
Safe HaskellNone

Music.Pitch.Absolute

Description

Provides overloaded pitch literals.

Synopsis

Documentation

newtype Octaves Source

Logarithmic pitch reprentation.

 convert (f * 2) = convert f + Octaves 1    

Constructors

Octaves 

newtype Fifths Source

Logarithmic pitch reprentation.

 convert (f * 2) = convert f + Octave 1    

Constructors

Fifths 

Fields

getFifths :: Frequency
 

newtype Cents Source

Logarithmic pitch reprentation.

 convert (f * 2) = convert f + Cent 1200    

Constructors

Cents 

Fields

getCents :: Frequency
 

class HasFrequence a whereSource

Methods

frequency :: a -> FrequencySource