File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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 Spring in Action this week in the Spring 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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Play a WAV file in Java