[LAD] help on creating MIDI from linux input events

Ralf Mardorf ralf.mardorf at alice-dsl.net
Sun Jul 5 11:11:35 UTC 2009


Renato Budinich wrote:
> Thank you very much, this is interesting, I'll have a look into RtMidi
> and your program. Being that the little I know is C, is it much more
> difficult outputting notes using the alsa api?
>
>
>   
>> Since there is a driver for it, you should be able to use it as an
>> alsa midi device.  
>>     
> uhm, i'm not sure... the driver (snd_usb_caiaq) actually takes care of
> the soundcard built in the pedal, and on the way also makes the buttons
> create keyboard events, and the pedal EV_ABS
>   

Hi :)

I'm not a Linux, neither a C/C++ coder, but the answer here is very 
simple, if the MIDI events (I guess this is what you mean by keyboard 
events) are recognized by Linux, then there seems to be a driver for 
your equipment that's good enough for your needs :). So go on, write a 
simple Linux MIDI tool in C/C++, make it open source and reach in the 
link, maybe some Dino-Assembler-Beings for some microchips (like me) 
will be able to understand how to program for Linux too, if there would 
be some very simple examples, excepted of "Hello world" ;).

Good luck,
Ralf



More information about the Linux-audio-dev mailing list