Java CoreMIDI vs javax.sound vs MMJ etc
Java CoreMIDI vs javax.sound vs MMJ etc
- Subject: Java CoreMIDI vs javax.sound vs MMJ etc
- From: Jason Proctor <email@hidden>
- Date: Fri, 14 Mar 2008 22:53:26 -0700
hi,
after switching to Intel recently i noticed that my Java CoreMIDI
applications compiled with deprecation warnings and generated
"platform not supported" exceptions when run.
i googled around and found a post on this list from William Stewart
late in 2006 advising a poster with similar issues to (essentially)
use the javax.sound.midi interface instead.
i thought going to the standard Java interface was reasonable so i
knocked up some code and found that... my hardware MIDI interface,
which works fine from native CoreMIDI applications and which used to
work fine from Java CoreMIDI, isn't visible at all via the
MidiSystem.getMidiDeviceInfo() call. the only devices returned are
the Real Time Sequencer and Java Sound Synthesizer.
i went looking around again and found MMJ, and gave that a try. that
too saw my hardware interface without any issues.
now call me old-fashioned for having a hardware MIDI interface, 5-pin
DIN cables, and real hardware, but given that all these APIs (i
assume) basically call the underlying native CoreMIDI API, shouldn't
the javax.sound.midi implementation show the same device list as the
other Java APIs?
thanks,
j
MBP 1.83
MacOS 10.4.11
Emagic AMT8
etc
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden