0 Replies Latest reply on Apr 19, 2013 8:41 PM by 1004262

    Scanning for a newly plugged in MIDI device

      Hi all,

      I'm currently using javax.sound.midi in my project and I have to implement a feature where the program detects if the user plugs in a new midi device during runtime.

      This is a bit of a problem as mentioned here:


      Basically javax.sound caches the providers list for a minute, and I did what was suggested in the thread to set the caching period to 1 second. Unfortunately, this did not work for me (I'm running on Mac OSX). I can see that the providers list are new objects but it still doesn't detect the new plugged in device. However, it does work on the PC. So my question is, does anyone have any suggestions on how to getting this working on all platforms?

      Any help would be greatly appreciated!