AudioClip


R

Roedy Green

What formats does AudioClip support?

I believe it is like this, but I have not found any official docs.

You can also play AU, wav, MIDI and aiff files with
java.applet.AudioClip.play. For AU files use G.711 mu-law format not
PCM. Originally, you could use only 8-bit, 8000Hz, single-channel
(mono) NEXT/Sun AU files with G.711 mu-law compression.
 
Ad

Advertisements

K

Knute Johnson

Roedy said:
What formats does AudioClip support?

I believe it is like this, but I have not found any official docs.

You can also play AU, wav, MIDI and aiff files with
java.applet.AudioClip.play. For AU files use G.711 mu-law format not
PCM. Originally, you could use only 8-bit, 8000Hz, single-channel
(mono) NEXT/Sun AU files with G.711 mu-law compression.

..wav is a file format not just a data format. WAV is usually PCM
encoded but may be encoded in many other formats. Not all MIDI files
will play with Clip, and I don't know about AudioClip.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top