Safe Haskell | None |
---|
Western twelve-tone scale.
- module Temporal.Music.Western
- tone :: Step -> Score (Note a)
- c :: Score (Note a)
- d :: Score (Note a)
- e :: Score (Note a)
- f :: Score (Note a)
- g :: Score (Note a)
- a :: Score (Note a)
- b :: Score (Note a)
- cs :: Score (Note a)
- ds :: Score (Note a)
- es :: Score (Note a)
- fs :: Score (Note a)
- gs :: Score (Note a)
- as :: Score (Note a)
- bs :: Score (Note a)
- cf :: Score (Note a)
- df :: Score (Note a)
- ef :: Score (Note a)
- ff :: Score (Note a)
- gf :: Score (Note a)
- af :: Score (Note a)
- bf :: Score (Note a)
- eqt :: Hz -> Scale
- pyth :: Hz -> Scale
- hind :: Hz -> Scale
- hindFs :: Hz -> Scale
- hindGb :: Hz -> Scale
Documentation
module Temporal.Music.Western
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
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]]