Re: [LAD] help on creating MIDI from linux input events

From: Renato Budinich <rennabh@email-addr-hidden>
Date: Sun Jul 05 2009 - 12:50:04 EEST

On Sat, 2009-07-04 at 19:12 -0400, Mark Vitek wrote:
> Hello,
>
> I am new to audio/midi programming, but in my experience Jack is the
> easier API to learn/use.
> If you download midimon from sourceforce, and look in mm_jack.cc /
> mm_jack.h you can see the basic usage.
> Basically, you pass a callback function to jack, which allows you to
> pull available MIDI events from the jack API.
> I just queued those up using a Glib queue, and pull the events off in
> the user interface thread. Very straightforward.
> http://sourceforge.net/projects/midimon/

Thank you, I'll have a look in this.
What I can't understand is if it is possible, with the jack API, to
actually *create* midi note on/off messages. The examples I've seen
(like midimon too, it seems to me) only handle (reroute etc.) midi
coming from other sources, like an external keyboard or another program.
In my case instead I'll have to actually create those messages, as for
example midi sequencers do.
May this is the reason why programs that generate midi (seq24 for
example) use alsa? (see my confusion in point 1) in first message)

Renato

_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-dev
Received on Sun Jul 5 16:15:02 2009

This archive was generated by hypermail 2.1.8 : Sun Jul 05 2009 - 16:15:02 EEST