• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Java CoreMIDI vs javax.sound vs MMJ etc
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Java CoreMIDI vs javax.sound vs MMJ etc
      • From: William Stewart <email@hidden>
  • Prev by Date: Pointers for n00b?
  • Next by Date: Re: Enable system volume when driver doesn't
  • Previous by thread: Pointers for n00b?
  • Next by thread: Re: Java CoreMIDI vs javax.sound vs MMJ etc
  • Index(es):
    • Date
    • Thread