[LAD] help on creating MIDI from linux input events

Paul Coccoli pcoccoli at gmail.com
Sun Jul 5 20:10:08 UTC 2009


On Sun, Jul 5, 2009 at 7:45 AM, hermann meyer<brummer- at web.de> wrote:
> Am Sonntag, den 05.07.2009, 13:21 +0200 schrieb Renato Budinich:
>> > 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)
>> nope sorry, i meant EV_KEY events as in linux/input.h - they are
>> certainly not MIDI events.
>>
>> Renato
>>
>>
> Hi
>
> In the case you wont to use the jack_midi api, have a look at the source
> from jack-keyboard. Edward Tomasz Napierala have wrote a nice peace of
> source to use the jack_ringbuffer. jack-keyboard convert key-events to
> midi events, That could possible be help full to you.
>
>  http://jack-keyboard.svn.sourceforge.net/viewvc/jack-keyboard/
>

IIRC, you can set up your own keymap for jack-keyboard.  It may be
possible to get the device working without any coding at all.



More information about the Linux-audio-dev mailing list