[racket-dev] RtMidi library for Racket?

From: John Clements (johnbclements at gmail.com)
Date: Thu Sep 25 18:30:26 EDT 2014

This looks really interesting… but I’m frightened by the fact that it’s
C++, and worse-yet object-oriented.  It looks like it might require some
serious low-level chops to integrate this with our (standard) C-style ffi.

Do you know of a cross-platform MIDI library that has a more standard /
C-like API?

John Clements

On Thu, Sep 25, 2014 at 12:32 PM, Antti Karttunen <antti.karttunen at gmail.com
> wrote:

> A question:
> Has there been any attempts or even discussion of including Gary P.
> Scavone's RtMidi-library ( http://www.music.mcgill.ca/~gary/rtmidi/ )
> into the standard distribution of Racket?
> This is the furthest I could follow this trail:
> https://github.com/mlozanov/fluxus/blob/master/modules/fluxus-midi/SConscript
> but there doesn't seem to be a Windows-port, which I would need.
> Or does anybody have ideas for any shortcut kludge with which I could pipe
> MIDI-data from Racket to Windows Software Synthesizer / MIDIMapper device?
> I guess it's not available as a named system file in Windows, which I could
> just open and start writing to?
> I don't need this to have "real-time accuracy required by professional
> musicians", but just enough for demoing how to produce sounds with a
> moderate tempo, in general educational setting.
> Best,
> Antti
> _________________________
>   Racket Developers list:
>   http://lists.racket-lang.org/dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/dev/archive/attachments/20140925/9e53627a/attachment.html>

Posted on the dev mailing list.