PEAK/RIGHT_PEAK/LEFT_PEAK

scorefile command -- return amplitude peak information

USAGE:
These commands operate upn the most recently opened input soundfile by the rtinput command. PEAK returns the overall peak for both channels, RIGHT_PEAK and LEFT_PEAK return the peak amplitudes for the left (channel 0) and right (channel 1) channels, respectively. start and end are starting and ending times to scan the soundfile (in seconds).

These routines will attempt to read the peak amplitude(s) stored in the soundfile header. If this is not possible, then the soundfile itself will be scanned. They do not work on a realt-time audio input device.