• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • Devaka Cooray
Saloon Keepers:
  • Ganesh Patekar
  • Tim Moores
  • Carey Brown
  • Stephan van Hulst
  • salvin francis
Bartenders:
  • Ron McLeod
  • Frits Walraven
  • Pete Letkeman

Runing Applet that deal withe sound file  RSS feed

 
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.
 
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
Boost this thread!