(page requirements)

Why doesn't this Java applet play my sound file?

So that cool sound file you found doesn't work with your Java applet? It may have to do with the particular format of the sound file you're trying to use.
 
By default, Java applets are able to play audio (.au) files, a digital audio file format developed by Sun Microsystems. In order to be compatible with Java enabled browsers, audio files used with Java applets should be sampled at 8000 Hz, 8-bit, mono, u-law.
 
Wondering what to do if you have a sound file in another format such as wave (.wav) or even an .au file sampled at a different rate that you want to use with your Java applet? You could convert your file into the particular .au format supported by Java applets.
 
  • GoldWave Digital Audio Editor
    Digital audio editor for Microsoft Windows featuring real-time amplitude, spectrum, spectrogram oscilloscopes, intelligent large file editing, numerous effects, and support for a wide variety of sound formats including .wav, .voc, .mp3, .au, and binary/text data.
Listing #1 : Digital audio editors able to create Java compatible .au files
 
 
Applicable Keywords : HTML, Internet Explorer, Explorer 3.x, Explorer 4.x, Explorer 5.x, Internet, Java, Netscape Navigator, Navigator 2.x, Navigator 3.x, Communicator 4.x, Netscape 6.x, Web Resource, World Wide Web
 
 
 
Copyright © 2009 Chami.com. All Rights Reserved. | Advertise | Created in HTML Kit editor