Re: opening rawmidi on user ports

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Tue, Mar 12, 2019 at 05:19:38PM +0100, AlGrenadine wrote:
> 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

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
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux