How do i get the song duration of my wav file in java?
are there any formula i can use given the bit rate and sampling rate?
try {
// From file
AudioInputStream stream = AudioSystem.getAudioInputStream(new File(”audiofile”));
[...]