Karya, built on 2018-02-23T20:23:55 (patch cf8565b7ac832266878af99a942555d139065f12)

Safe HaskellNone

Derive.Scale.Twelve

Contents

Description

The equal tempered 12 note scale, aka 12TET.

For the note text, I use a non-traditional format that goes "octave note sharp" instead of "note sharp octave". General to specific is more aesthetically appealing.

4c is middle C, and the range is limited to the midi range. Since Pitch.NoteNumbers also use midi numbering, conversions are trivial.

nn 127 = 9g
nn 120 = 9c
middle c = nn 60 = 4c
nn 24 = 1c
nn 12 = 0c
nn 0 = -1c

Synopsis

Documentation

keys

utils

show_nn :: Pitch.NoteNumber -> Maybe Pitch.Note Source #

Map NoteNumbers to their nearest Note.

keys

utils

show_nn :: Pitch.NoteNumber -> Maybe Pitch.Note Source #

Map NoteNumbers to their nearest Note.

implementation

exotic_keys :: [Theory.Key] Source #

Keys that are diatonic, but have nonstandard key signatures.

layout :: Theory.Layout Source #

The layout of keys on everyone's favorite boxed harp.