List of utility methods to do AudioInputStream Read
Clip | loadSound(String soundLocation) Load a sound without cache-ing it. try { AudioInputStream stream = AudioSystem.getAudioInputStream(new File(soundLocation)); try { Clip clip = AudioSystem.getClip(); return clip; } catch (LineUnavailableException e) { } catch (UnsupportedAudioFileException e) { ... |