AudioClip

Discussion in 'Java' started by Roedy Green, Jan 21, 2008.

  1. Roedy Green

    Roedy Green Guest

    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.
     
    Roedy Green, Jan 21, 2008
    #1
    1. Advertisements

  2. ..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.
     
    Knute Johnson, Jan 21, 2008
    #2
    1. Advertisements

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 (here). After that, you can post your question and our members will help you out.