opening rawmidi on user ports
Hi,
I use btmidi-server from the bluez stack, which creates user ports to send and receive midi via bluetooth. I can't manager which parameter string i must provide to snd_rawmidi_open function, can you help ?
(of course the user ports don't appear in amidi -l)
I only have a client and port ids (128:0) when using aconnect -l
Thanks
Hi,
Quoted 7 lines · AlGrenadine
I use btmidi-server from the bluez stack, which creates user ports to send and receive midi via bluetooth.
I can't manager which parameter string i must provide tosnd_rawmidi_openfunction, can you help ?(of course the user ports don't appear in amidi -l)
I only have a client and port ids (128:0) when using aconnect -l
As long as reading code of 'btmidi-server'[1], it uses ALSA sequencer interface. You need to use ALSA sequencer APIs instead of ALSA rawmidi APIs. Some tools will assist your work; 'aseqdump' and 'aplaymidi' in 'alsa-utils' repository[2].
[1] https://github.com/oxesoft/bluez/blob/midi/tools/btmidi-server.c
[2] https://git.alsa-project.org/?p=alsa-utils.git
Regards
Takashi Sakamoto
Quoted 2 lines · AlGrenadine
I use btmidi-server from the bluez stack, which creates user ports to send and receive midi via bluetooth. I can't manager which parameter string i must provide to
snd_rawmidi_openfunction, can you help ?
Load the snd-virmidi module to get a bridge between raw MIDI ports and sequencer ports.
Regards,
Clemens
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 1 line · AlGrenadine
it seems ALSA seq looses sysex messages. Is there a buffer size which can be set ?
Messages from where to where? Can you check with aseqdump or "amidi --dump"?
Messages that are too large for the internal buffer are split into multiple parts.
Regards,
Clemens
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 4 lines · AlGrenadine
Quoted 1 line · Clemens Ladisch
Load the snd-virmidi module to get a bridge between raw MIDI ports and sequencer ports.
Ok then what would be the
snd_rawmidi_openargument for name of virmidi port ?
See "amidi -l".
Regards,
Clemens
_______________________________________________
Alsa-devel mailing list
[email protected]
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel