• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Runing Applet that deal withe sound file

 
mahmoud bakar
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 621
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic