SOUND DEMO: this draws no pictures, and contains only an init() method.

Windows 95 procedure:

1. Record sound using the Sound Recorder utility.

2. Convert the .wav file to .au (the only format that Java currently uses) using wav2au for example

3. Use the following line of code in a local applet:

play(getCodeBase(), "vanity.au");

(here the recorded file was originally vanity.wav)

4. Otherwise do

AudioClip vanity;

followed by the following lines in init() or wherever

vanity=getAudioClip( getCodeBase(), "vanity.au");

vanity.play();

or

vanity.loop();