Java Sound |
This section covers a couple common problems that you might encounter when playing audio filesProblem: 8khZ audio files don't sound as good as they did before I switched to JDK 1.2.
- The Java Sound engine up-samples 8KHz audio data to 22KHz, which can result in added noise during playback. If you find that the audio quality is not acceptable, we recommend starting with a higher-quality audio clip to avoid the up-sampling.
Problem: Some of my audio files won't play.
- You cannot play WAV, AU, and AIFF, AU files compressed using ADPCM or other compression schemes. The Java Sound engine only supports linear PCM audio files.
Java Sound |