[racket-dev] RtMidi library for Racket?

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

On Fri, Sep 26, 2014 at 11:30 AM, Marc Burns <m4burns at uwaterloo.ca> wrote:

> I have a set of RtMidi bindings for Racket. They work well on Linux,
> OSX, and Windows. I will clean them up tomorrow and publish a package.
>

Wow, that was fast, thanks a lot!

Antti


> On Fri, Sep 26, 2014 at 10:05:14AM +0300, Antti Karttunen wrote:
> > 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
> > >>
> > >>
> > >
>
> > _________________________
> >   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/4342d951/attachment-0001.html>

Posted on the dev mailing list.