So I have the following code in one of my classes.


try
{
File f = new File(main.getWavFileName(0, tab));
AudioInputStream audioInputStream = AudioSystem.getAudioInputStream(f);...