Re: [gadget] Testing midi function

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

 



Andrzej Pietrasiewicz wrote:
> I would like to try the midi function of usb gadget.
>
> Can anybody please tell me:
>
> 1) What userspace programs do I need at the gadget side?

I've never used it, but as far as I can see, the MIDI function ends up
as a normal sound card with MIDI port(s).  Your device firmware would
access them through the normal ALSA rawmidi or sequencer APIs.

As for testing:  To monitor received data, use amidi or aseqdump.  To
send data, use amidi or aplaymidi.  To make a loopback device, use
aconnect to connect the input to the output.

This requires the alsa-lib and alsa-utils packages.

> 2) What do I need at the host side?

USB MIDI is plug&play in every OS.  For Linux, see above.


Regards,
Clemens
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux