[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Locating a MIDI device file?
- From: Anthony Green <green redhat com>
- To: Development discussions related to Fedora Core <fedora-devel-list redhat com>, Clark Williams <williams redhat com>
- Cc:
- Subject: Re: Locating a MIDI device file?
- Date: Tue, 04 Jul 2006 13:39:12 -0700
On Tue, 2006-07-04 at 09:12 -0500, Clark Williams wrote:
> I'm working on a function called find_midi_device() that returns the
> path to a midi device file and was wondering if anyone has done this
> and had any pointers for using HAL/D-Bus?
Hey Clark -
If you're going to use C, then I recommend using the ALSA APIs instead.
But I know how much you love java :-) so I recommend using the
javax.sound.midi package provided in libgcj. It provides a API for
querying installed MIDI devices and sending messages back and forth.
I will be super easy.
There's lots of sample code here:
http://www.jsresources.org/examples/midi_io.html
I wrote the MIDI code in libgcj, so just bug me if you have questions.
AG
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]