Christoph Eckert wrote:
I only need to write sysex data which are kept in a
character
array. Is there a possibility to easily
* connect to a certain port of a device (the Midisport control
port)
* send the contents of the array to this port
* close the port
This is pretty much exactly what amidi does. The writing itself can
be done trivially with snd_rawmidi_open/snd_rawmidi_write/
snd_rawmidi_close. To get the device name of the control port, you
have to enumerate the MIDI ports; see the device_list function.
HTH
Clemens