Any API recommendations on this -- I need ASIO style latency (50ms or less), in a API that will work under Raspbian or a similar RPi distro. I've tried SDL, and it's not even CLOSE to what I need on the Pi... to get down where I need the buffer size has to be around 128 bytes, which the pi just can't keep up with. I'd like to use Jack, but I can't find any decent API bindings for it and lack the time or ambition to write one... and I'd really prefer NOT to switch to C++... though again, I may end up having to.

... and MIDI under Linux I can kind-of do, but looking for a better way to do it -- and does anyone have any experience/advice when it comes to MIDI over USB on Linux? MIDI on Linux is poorly documented to begin with -- I can't find anything about MIDI over USB at all.

BTW, this would be a command line app, so if you point at something that needs X11 up and running... uhm, no.