Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Sounds in Applets

 
Stefan Seeba
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all !
I'm programming an applet that will have to be deployed on browsers from Netscape 4.06 and IE 4 upwards.
Now I'm looking for the simplest way to play sounds in my applet.
I tried the AudioClip-way with some .au-files but not even all .au-files seem to be played, though they were all sampled with 8000Hz.
I think in the near future I will also have to play some .wav or .mp3-sounds. Those sounds will have to be a bit dynamic, ie. the first HTML.page asks for a file and the second page with the applet plays this file. (So, static sounds with Flash-Movies are not allowed)
Does anybody have an idea for a better way to play sounds ?
Maybe via HTML, Flash or JavaScript-connections ?
Maybe via plug-ins or JMF ?
But the results will have to be deliverable the easy way. That means I can't send 2MB-JMF.jars with my applet.
TNX in advance for any hints,
regards,
Stefan
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic