java指南是这样写的: JDK 1.2 enables you to create and play AudioClips from both applets and applications. The clips can be any of the following audio file formats: AIFF AU WAV MIDI (type 0 and type 1 files) RMF The sound engine can handle 8- and 16-bit audio data at virtually any sample rate. In JDK 1.2 audio files are rendered at a sample rate of 22 kHz in 16-bit stereo. If the hardware doesn't support 16-bit data or stereo playback, 8-bit or mono audio is output. There's no need to worry about the impact of audio-rich Web pages on computing resources. The Java Sound engine minimizes the use of a system's CPU to process sound files. For example, a 24-voice MIDI file uses only 20 percent of the CPU on a Pentium 90 MHz system.
我再看一下。
JDK 1.2 enables you to create and play AudioClips from both applets and applications. The clips can be any of the following audio file formats:
AIFF
AU
WAV
MIDI (type 0 and type 1 files)
RMF
The sound engine can handle 8- and 16-bit audio data at virtually any sample rate. In JDK 1.2 audio files are rendered at a sample rate of 22 kHz in 16-bit stereo. If the hardware doesn't support 16-bit data or stereo playback, 8-bit or mono audio is output.
There's no need to worry about the impact of audio-rich Web pages on computing resources. The Java Sound engine minimizes the use of a system's CPU to process sound files. For example, a 24-voice MIDI file uses only 20 percent of the CPU on a Pentium 90 MHz system.