[LAD] send midi message

Dave Stikkolorum davers at dds.nl
Thu Jan 5 09:41:46 UTC 2012


Hi all,

I try to write a c program that sends midi notes to the Hydrogen drum 
sequencer.
I use the alsa library to create a client with an output port.

I attached two files.

loopqueue.c works but loop.c doesn't.

A base drum (note:28) is being send.

I am not succeeding to use direct delivery,
but it only works with the queue.

Any ideas why?

Regards,
Dave
-------------- next part --------------
A non-text attachment was scrubbed...
Name: loop.c
Type: text/x-csrc
Size: 712 bytes
Desc: not available
URL: <http://lists.linuxaudio.org/pipermail/linux-audio-dev/attachments/20120105/8a40c970/attachment.c>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: loopqueue.c
Type: text/x-csrc
Size: 878 bytes
Desc: not available
URL: <http://lists.linuxaudio.org/pipermail/linux-audio-dev/attachments/20120105/8a40c970/attachment-0001.c>


More information about the Linux-audio-dev mailing list