I think this is what you want: http://www.parabola.demon.co.uk/alsa/pmidi.html
Also, I remember when I started programming with the ALSA API, I asked the same question and Josh Green kindly suggested I look at his source for the Smurf soundfont editor: http://sourceforge.net/project/showfiles.php?group_id=3940 Of course, Smurf is a full blown GUI program, so you'll have to wade through some other code before getting to the ALSA API calls, but once there, I found it helpful (thanks again Josh!) -chipd Gerald Grabner wrote: > > Hi, > > is there any place where I could find easy examples of how to use the > alsa 0.5 API? Something like just listening to a midi port and > printing the incoming events on the standard output... > > Would be great to get started! > > Thx a lot in advance, > Gerald > > _______________________________________________ > Alsa-devel mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/alsa-devel _______________________________________________ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel