Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • 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
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Sounds in Applets

 
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
 
joke time: What is brown and sticky? ... ... ... A stick! Use it to beat this tiny ad!
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic