aspose file tools*
The moose likes Java in General and the fly likes Play a WAV file in Java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Play a WAV file in Java" Watch "Play a WAV file in Java" New topic
Author

Play a WAV file in Java

Andreas Bystrom
Ranch Hand

Joined: Mar 05, 2003
Posts: 32
Hi all!
Is it possible to play a wav file in java? I don't want to use JMF. I have seen the method Applet.newAudioclip(), is this somehting that can be used even if you have an application that is not an Applet?
Some other suggestions of how to play a file?
// Andreas
Cindy Glass
"The Hood"
Sheriff

Joined: Sep 29, 2000
Posts: 8521
Take a look at http://java.sun.com/j2se/1.3/docs/guide/sound/


"JavaRanch, where the deer and the Certified play" - David O'Meara
 
wood burning stoves
 
subject: Play a WAV file in Java
 
Similar Threads
how to play midi in j2me?
Problem with Sound Format
how to clear user cache?
I need HELP on Java Sound!!!
Play sound in Applications