aspose file tools*
The moose likes Java in General and the fly likes Application/Applet the plays audio files. 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 "Application/Applet the plays audio files." Watch "Application/Applet the plays audio files." New topic
Author

Application/Applet the plays audio files.

Dave Johnson
Ranch Hand

Joined: May 25, 2003
Posts: 111
Hi everyone, I am playing around with sound files (wav) in my code. I have managed to get audio files to work in an Applet but not an Application yet.
Could you please be so kind as to show a small application that plays an audio file.
Ideally I will write it as applet/app later. But for now could help get me started please.
Thanks, Dave.
Jim Ronholm
Greenhorn

Joined: Nov 15, 2002
Posts: 16

Although there are fairly basic tools for playing .wav files in japplet I think that applications are going to need to rely on the Java Media Framework. The main site is here, and includes source for a demo application (and applet).
http://java.sun.com/products/java-media/jmf/
Java Media Framework
Dirk Schreckmann
Sheriff

Joined: Dec 10, 2001
Posts: 7023
Could you please be so kind as to show a small application that plays an audio file.
Take a look at the Playing Sounds section of the Sound Trail of Sun's Java Tutorial.
Towards the bottom is an example of playing sounds in an application.


[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Application/Applet the plays audio files.
 
Similar Threads
applet and audio file problem
IN NEED FAST HELP!!
PLEASE HELP QUICKLY!!
I need help with trying to play a mp3 file with java!
Recording audio from applet (security problem)