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
Register / Login
JavaRanch » Java Forums » Java » Java in General
Reply 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
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Play a WAV file in Java
 
Similar Threads
how to clear user cache?
Problem with Sound Format
I need HELP on Java Sound!!!
Play sound in Applications
how to play midi in j2me?