Safe Haskell | None |
---|---|
Language | Haskell2010 |
An example implementation of a Chaos
that generates music with
chaotic octave and pitch selection.
- genChaosMusic :: IO (Music Pitch)
- chaos1 :: ChaosState D1
- bSolo :: MusicGenerator (ChaosState D1) Melody
- chaos1Selector :: Selector (ChaosState n) a
Documentation
genChaosMusic :: IO (Music Pitch) Source #
Generates Music
with chaos function f x = 1 - 1.9521 * x^2 in range [-1,1]
with initial x = 1.2.
chaos1 :: ChaosState D1 Source #
ChaosState with chaos function f x = 1 - 1.9521 * x^2 in range [-1,1] with initial x = 1.2.
bSolo :: MusicGenerator (ChaosState D1) Melody Source #
MusicGenerator
that uses chaos1
to generate some blues music.
chaos1Selector :: Selector (ChaosState n) a Source #
The selector that maps the chaos function from chaos1
to an element in a.