Re: alsa midi tutorial

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

 



Andy,

> What I want to do is feed drum trigger signals from an arduino board
> (a usb development board that lets you interface electronics to the
> computer) to a midi sequencer.

Why do you need to go through the computer for this? You can use the 
arduino's serial port to send and receive MIDI commands. It's really 
simple and there are tons of projects on the web that do exactly that.

> I had a look at the following page from the alsa api reference:
>
> http://www.alsa-project.org/alsa-doc/alsa-lib/seq.html
>
> but I'm finding it a bit hard to follow - I'm looking for something a
> bit simpler with code examples to work through that will give me a
> way in to alsa midi programming.
>
> Does anyone know of anything like this?

No, but that's the wrong page. For sending MIDI data you simply open the 
device (snd_rawmidi_open) and send your commands (snd_rawmidi_write).


Flo
-- 
Machines can do the work, so people have time to think.
public key 6C002249          x-hkp://wwwkeys.eu.pgp.net
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

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

  Powered by Linux