Re: midi input in LWW / fli reference-return
It might also be more than needed in your present case, but
the MidiShare lirary is another intersting ans reliable option for the
develoment of MIDI applications.
http://midishare.sourceforge.net/
Lisp bindings exist for LispWorks, Alegro, MCL, SBCL, etc.
Jean
> You might well have already seen/considered/decided against
> this option, but PortMidi[1] has a CFFI-based CL binding[2].
> Then there's Common Music[3] that also wraps PortMidi.
>
> Of course, these systems would probably be less responsive
> to MIDI devices coming and going than your "raw API" code
> (based on my experience with the companion PortAudio
> library). But studying their APIs might be instructive.
>
> I'd love to be able to say more based on my experience with
> MIDI programming using Lisp, but unfortunately I don't have
> any (yet)... :( But if anyone wants Lispworks code for
> PortAudio, I might be able to help.
>
> Cheers,
>
> John :^P
>
> [1] http://www.cs.cmu.edu/~music/portmusic/
> [2]
> http://portmedia.svn.sourceforge.net/viewvc/portmedia/portmidi/trunk/pm_cl/
> [3] http://commonmusic.sourceforge.net/doc/cm.html
>
> Asbjørn Bjørnstad wrote:
>> Hi,
>> I was thinking of reading input from a midi device, but have some
>> basic problems with the fli.
>
> [snip]
>
>> If anyone has any better approach to using midi, I'm all ears btw. All I
>> want
>> to do at the moment is to open a midi device an read in messages.
>
> --
> John Pallister
> john@synchromesh.com
>
>
>