[racket-dev] RtMidi library for Racket?

From: Antti Karttunen (antti.karttunen at gmail.com)
Date: Fri Sep 26 03:05:14 EDT 2014

On Fri, Sep 26, 2014 at 1:30 AM, John Clements <johnbclements at gmail.com>
wrote:

> 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?
>

After a quick googling, I found this:
http://portmedia.sourceforge.net/
The latest version is from 2010, but at least the source-files seem to be
in C.

Antti Karttunen


>
> 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/20140926/3b98df62/attachment.html>

Posted on the dev mailing list.