Re: Which Java Audio/MIDI API to use?
Re: Which Java Audio/MIDI API to use?
- Subject: Re: Which Java Audio/MIDI API to use?
- From: William Stewart <email@hidden>
- Date: Sun, 12 Aug 2001 20:21:18 -0700
As far as the java.* and javax.* classes are concerned you should ask
that question on the Java-Dev list.
As far as X specific, CoreAudio publishes a java API, to enable Java
apps to access ALL of the services of CoreAudio on X without the need to
write native code or JNI interfaces. Documentation is available at
http://developer.apple.com/audio
Bill
On Sunday, August 12, 2001, at 12:27 AM, Scott Ruda wrote:
[I'm reposting this because I didn't get any response last time and I
figured that might be because it was doubled up in another post (that
did
get answered - thank you)]
I am unable to access my MIDISport USB MIDI device using the Sun Java2
MIDI
classes. Is there a driver that enables that device for I/O using
those interfaces? I think I would prefer to use the Sun API over the
Apple/Cocoa one since it <should> be cross-platform on all Java2
platforms
(I need to support Win* also ;-(). Is there an Apple recommendation on
which
API to use and why?
I am currently shipping my product using a JNI interface to MIDI (it
abstracts OMS and MM System using a common API in shared libraries), and
probably going to implement a Factory type interface to dynamically
choose an appropriate transport to support Java2, OS 9/X and Win, so I
could use the Apple API if I had to, but it would be simpler to just
switch between the JNI interface for OS 9 and the Sun Java2 MIDI
interface for all others. Any suggestions are appreciated.
Thanks,
Scott
_______________________________________________
coreaudio-api mailing list
email@hidden
http://www.lists.apple.com/mailman/listinfo/coreaudio-api