[Haskell-cafe] MIDI-controlled application

Tom Murphy amindfv at gmail.com
Wed Dec 28 03:05:47 CET 2011


On Tue, Dec 27, 2011 at 3:54 AM, Tim Baumgartner <
baumgartner.tim at googlemail.com> wrote:
>
> Hi Haskellers!
>
> I'm writing my first non-trivial Haskell application. I have an
electronic drum set that generates MIDI events that I process with Haskell.
A simple application of this kind might have fixed drums associated with
fixed commands (I've done that).

[...]
>
>
> Currently I'm using a monad that combines Parsec (with MIDI event stream)
and a Writer (that writes commands that should result in IO). It's done in
a way that during running the monad, many parses can be done and failing
parses roll back the parser state so that a new parse can be tried.
>


Care to share your code?

amindfv / Tom
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20111227/e74cef04/attachment.htm>


More information about the Haskell-Cafe mailing list