- A concise, programmatic description of Slonimsky's Thesaurus of Scales and Melodic Patterns
- Searches against Slonimsky's thesaurus
- More thesaurus-like functionality, across several axes of similarity (interval patterns, musical harmony...)
On *-nix, see your package manager. For Mac, this may be useful: ghc.
You can do so with the following commands:
cabal update
cabal install Euterpea
For Linux you can use timidity++. For Mac you can use SimpleSynth. For more information look here.
- If you have Linux start your midi player:
$ timidity -A90 -iA -Os &
You might also need to make sure the snd_dummy
module isn't loaded:
# [[ lsmod | grep -q snd_dummy ]] && rmmod snd_dummy
If you have a Mac you will need to start your midi player.
- Start ghci and load Slonimsky.hs:
ghci> :load Slonimsky.hs
- Play something from the thesaurus:
ghci> playList $ take 10 $ slonimsky (C,4) 4 [-7,-4,2]
Sound should happen. If not, restart timidity and try again.