Re: Using a USB serial device as a MIDI source

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

 



On Mon, May 8, 2017 08:39, Clemens Ladisch wrote:
> Bill Purvis wrote:
>
>> I'm currently working on an Arduino-based project which generates MIDI
>> output. Under Linux it appears as a /dev/ttyUSB?. How can I persuade
>> ALSA to treat it as a MIDI
>> source (and possibly destination).
>
> Your hardware should correctly implement the USB MIDI protocol in the
> first place.
>
> Anyway, you could try a tool like ttyMIDI.
>

Hi Bill,

i've tried this for a simple Arduino based MIDI pedal (ttyMIDI wasn't
available at the time). If you're running JACK this could be an
alternative:

https://raw.githubusercontent.com/7890/jack_tools/master/example-clients/tty.c

using this library for Arduino:
https://github.com/FortySevenEffects/arduino_midi_library/

I don't know how tty.c differs from ttyMIDI, you have to try what fits
best your case.

Greetings
Thomas






------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user



[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux