tmp=new WavInputStream(file.openStream());
tmp=new WavInputStream(new BufferedInputStream(file.openStream()));
    private JMEAudioInputStream reopenWav(URL file, boolean calculateLength) throws IOException{        JMEAudioInputStream tmp=null;        if(calculateLength){            tmp=new WavInputStream(file.openStream());            float length=getLength(tmp)*1000;            tmp.close();                        tmp=new WavInputStream(file.openStream());            tmp.setLength(length);        }else{            tmp=new WavInputStream(file.openStream());        }                return tmp;    }