StreamPlayer player = StreamPlayer.create(line, "Music-Thread");
URL url = new URL("http://www.twelvepm.de/vorbis/Agogo.ogg");
AudioFileFormat fmt = AudioSystem.getAudioFileFormat(url);
if (fmt instanceof TAudioFileFormat) {
TAudioFileFormat format = (TAudioFileFormat) fmt;
Map<String, Object> props = format.properties();
System.out.println("Title " + (String) props.get("title"));
}
AudioInputStream in = AudioSystem.getAudioInputStream(url);
AudioInputStream data = AudioSystem.getAudioInputStream(TargetFormat, in);