Here you go: https://github.com/m4burns/racket-rtmidi
This isn't yet a Racket package and doesn't yet have documentation. There is an illustrative example, though. On Fri, Sep 26, 2014 at 12:29:57PM +0300, Antti Karttunen wrote: > On Fri, Sep 26, 2014 at 11:30 AM, Marc Burns <m4bu...@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 <johnbcleme...@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.karttu...@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 > > > > > _________________________ > Racket Developers list: > http://lists.racket-lang.org/dev _________________________ Racket Developers list: http://lists.racket-lang.org/dev