This is primarily for people who control a software or hardware
synthesizer by a MIDI keyboard on Linux. I have programmed a little MIDI
event editor, that allows you to alter MIDI channels, automate MIDI
controller changes, split keyboard, play patterns according to the set of
currently pressed keys, switch instrument everytime a key is pressed and
so on.
I have uploaded it to Hackage:
http://hackage.haskell.org/package/streamed
but I think it is of more use to get the darcs repository
darcs get http://code.haskell.org/~thielema/streamed/ .
Nonetheless, 'cabal install' will install all imported packages, that are
necessary for a GHCi session. You should alter the module
Sound.MIDI.ALSA.Causal according to your wishes and start a GHCi session
with
streamed$ make ghci
In the module you should replace connectLLVM by connectTimidity and adapt
connectTimidity to the names of your devices. Then you might try one of
the examples in the 'case' branches of 'main'.
Good luck!
Henning
_______________________________________________
haskell-art mailing list
[email protected]
http://lists.lurk.org/mailman/listinfo/haskell-art