Which can play sound files java code? Thank you

Category: Java SE
 
gaojian1014
2012-06-23 02:00:46

Sponsored Links
Which can play sound files java code? Thank you very much

Sponsored Links

hhm891008
2012-06-23 02:18:59
best to use JMF, download one, the following code:
import   javax.media.*;   
   URL   url   =   new   URL("");   
  Player   audioPlayer   =   Manager.createPlayer(new   MediaLocator(url));   
  audioPlayer.start();   
  audioPlayer.addControllerListener(this);   
then write event handling can be
xihaol
2012-06-23 02:30:58
This package javax.media. *; does not seem readily available, where to next ah! Say, thank you!
bzhiner
2012-06-23 02:49:48
jmf jar package me down, but I do not know how to write code, online jmf examples and teaching materials are very hard to find
Domain and server ip had changed since 8/23/2013. Suspend the user registration and posts for program maintenance.