I am trying to use MIDI under Linux Ubuntu with C++. After a day of using several tools (e.g., JACK) with no success (JACK lags like mad on my machine), I am now trying to use Timidity as the MIDI server. However, I am not able to find any references on the web about how to programmatically connect to Timidity using C++. Is there anyway to do this?
Thanks for any suggestions!
Notes:
I’ve tried search google with the following:
alsa server connect
timidity connect program
But no answer.
use the ALSA sequencer methods to create MIDI messages.
the documentation for the C library is here: http://www.alsa-project.org/alsa-doc/alsa-lib/group___sequencer.html