[alsa-devel] Capturing MIDI
I hope this isn't too off-topic.
I run an open source project (GENPO) which can be thought of as a kind of MIDI switchboard and filter. It uses ALSA throughout. I'd like to add a new feature to the software - a facility to simply record to a standard MIDI file anything that the program produces. I've searched though the API and I can't find anything documented which will help much, so here's my question...
Is there a recommended library for C++ ALSA programs to use for handling (writing) standard MIDI files?
Regards, Steve
Steve Merrony wrote:
I'd like to add a new feature to the software - a facility to simply record to a standard MIDI file anything that the program produces.
Is there a recommended library for C++ ALSA programs to use for handling (writing) standard MIDI files?
ALSA handles sound devices; SMFs are something completely different.
I don't know of any general-purpose SMF library. Have a look at arecordmidi.c.
HTH Clemens
participants (2)
-
Clemens Ladisch
-
Steve Merrony