* opening rawmidi on user ports
@ 2019-03-12 16:19 AlGrenadine
2019-03-13 5:48 ` Takashi Sakamoto
2019-03-13 13:37 ` Clemens Ladisch
0 siblings, 2 replies; 5+ messages in thread
From: AlGrenadine @ 2019-03-12 16:19 UTC (permalink / raw)
To: alsa-devel
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: opening rawmidi on user ports
2019-03-12 16:19 opening rawmidi on user ports AlGrenadine
@ 2019-03-13 5:48 ` Takashi Sakamoto
2019-03-13 13:37 ` Clemens Ladisch
1 sibling, 0 replies; 5+ messages in thread
From: Takashi Sakamoto @ 2019-03-13 5:48 UTC (permalink / raw)
To: AlGrenadine; +Cc: alsa-devel
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: opening rawmidi on user ports
2019-03-12 16:19 opening rawmidi on user ports AlGrenadine
2019-03-13 5:48 ` Takashi Sakamoto
@ 2019-03-13 13:37 ` Clemens Ladisch
[not found] ` <513b5f87-3bb9-8147-b249-75aa4a100341@gmail.com>
[not found] ` <1a48e120-6971-832c-a918-3c5516d5bcab@gmail.com>
1 sibling, 2 replies; 5+ messages in thread
From: Clemens Ladisch @ 2019-03-13 13:37 UTC (permalink / raw)
To: alsa-devel
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 ?
Load the snd-virmidi module to get a bridge between raw MIDI ports and sequencer ports.
Regards,
Clemens
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2019-03-14 8:59 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-03-12 16:19 opening rawmidi on user ports AlGrenadine
2019-03-13 5:48 ` Takashi Sakamoto
2019-03-13 13:37 ` Clemens Ladisch
[not found] ` <513b5f87-3bb9-8147-b249-75aa4a100341@gmail.com>
2019-03-13 17:29 ` Clemens Ladisch
[not found] ` <1a48e120-6971-832c-a918-3c5516d5bcab@gmail.com>
2019-03-14 8:59 ` Clemens Ladisch
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).