Hi everyone!
I've got two questions about sounds:
Is there a possibility to get the total length of a sound file?
And:
Can you start playing a sound from a given time position (e.g. from the middle)?


import javax.sound.sampled.*; public class Test { public static void main(String[] args) { AudioFileFormat.Type[] t = AudioSystem.getAudioFileTypes(); for(int i = 0; i < t.length; i++) { System.out.println("" + t[i]); } } }