temporal-music-notation-western-0.4.0: western music notation

Safe HaskellNone

Temporal.Music.Western.P12

Contents

Description

Western twelve-tone scale.

Synopsis

Documentation

tone :: Step -> Score (Note a)Source

Constructs Score with one note. Scale is set to equal tempered scale (from c1).

Steps

Step defines a value of type score (hence Track), so we can transform them on the fly:

 qn $ line [forte c, d, e, low b, forte $ bn d]

Scales

eqt :: Hz -> Scale

12 tone equal temperament scale

pyth :: Hz -> Scale

pythagorean scale

hind :: Hz -> Scale

hindemithean scale with mean of fs and gb for tritone

hindFs :: Hz -> Scale

hindemithean scale with fs for tritone

hindGb :: Hz -> Scale

hindemithean scale with gb for tritone

Examples

Little example of usage:

 import Temporal.Music.Western.P12

 res :: Score ()
 res = str 0.2 $ har [
            qn $ mel [c, c, bn g, e, dbn f],
            low $ mel [c, c, d, low a]]