Playground for creating simple music with the Haskell Euterpea library.
See the accompanying blog posts:
- Music, Haskell and Westeros
- (More coming soon...)
The Euterpea guide to MIDI output is as good as any.
On Ubuntu (with PulseAudio as default), Timidity and VMPK were very useful for me in investigating which problems were MIDI / synthesizer related and which were programming.
This is helpful to get a nice loud output:
timidity -iA -Os -A 220 -f
stack exec music