File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Applets and the fly likes Runing Applet that deal withe sound file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Applets
Bookmark "Runing Applet that deal withe sound file " Watch "Runing Applet that deal withe sound file " New topic
Author

Runing Applet that deal withe sound file

mahmoud bakar
Greenhorn

Joined: Nov 28, 2000
Posts: 5
i wrote an applet "audio player"that load a sound file ,and its run
on the internet Explorer,but i cant know how can i use it
to play any sound file,and load it.
Sean MacLean
author
Ranch Hand

Joined: Nov 07, 2000
Posts: 621
Mahmoud,
How are you loading the first AudiClip and what sound format are you using? If I recall, to applet loads an audio file (Sun au format with a sample rate of 8000) using a URL and an optional file name. Would someting like this do the trick?

This assumes that you have an "audio" directory in the root where your applet resides and that your applet is aware of all the files that are there.
Hope this helps
Sean
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Runing Applet that deal withe sound file