Demonstration of Java Applet for Spectrograms

This applet takes a WAV file and displays it as a spectrogram.

The basic applet instruction is:

	<APPLET CODE="appspect.class" WIDTH="500" HEIGHT="200">
	<PARAM NAME="file" VALUE="six.wav">
	</APPLET>

This produces:

Parameters

These parameters are also supported:

stimeSet start time (s):
<PARAM NAME="stime" VALUE="0.5">
etimeSet end time (s):
<PARAM NAME="etime" VALUE="1.5">
timescaleDisplay time scale (y/n):
<PARAM NAME="timescale" VALUE="y">
freqscaleDisplay frequency scale (y/n):
<PARAM NAME="freqscale" VALUE="y">
borderDisplay border (y/n):
<PARAM NAME="border" VALUE="y">

For example:

	<APPLET CODE="appspect.class" WIDTH="500" HEIGHT="200">
	<PARAM NAME="file" VALUE="six.wav">
	<PARAM NAME="stime" VALUE="0.34">
	<PARAM NAME="etime" VALUE="0.40">
	<PARAM NAME="border" VALUE="y">
	</APPLET>

And:

	<APPLET CODE="appspect.class" WIDTH="500" HEIGHT="200">
	<PARAM NAME="file" VALUE="six.wav">
	<PARAM NAME="etime" VALUE="1.0">
	<PARAM NAME="timescale" VALUE="y">
	<PARAM NAME="freqscale" VALUE="y">
	</APPLET>

Limitations

The applet has a primitive WAV file reader that only understands simple 16-bit WAV files (as produced by SFS).


Mark Huckvale June 1998