PCM .wav file playing applet

Download the classes here.

The calling sequence is:

static void PlayAudio.playWave(URL)
static void PlayAudio.playWaveAndBlock(URL)
static void PlayAudio.playWave(File)
static void PlayAudio.playWaveAndBlock(File)
The blocking forms will not play again on a single data segment PCM file until the segment has finished playing.

The example code is in WavePlayer.java. It plays The Microsoft Sound.wav.


Back to Mike Piff's Java page

Valid HTML 4.0!