Measures the maximum and minimum output from the DSP.
minmax_audio
Samples the output of the DSP and returns its maximum and minimum output values. You can use minmax_audio to check that your program outputs are reasonable, non-clipping levels of audio.
The program creates instances of probes from the instruments minimum.dsp and maximum.dsp. The probes are queried with ReadProbe()
every five seconds, or 5*240 audio ticks.
In Opera hardware, the DSP implementation is 16-bit; therefore, the output for the left and right channels range from 32767 to -32768.
The loudness of audio is often subjective. Check the loudness of your program by first playing a standard audio CD on a development station, and adjusting the volume of your sound system to a reasonable level. The 3DO program should then produce sounds at a similar volume.
minmax_audio.c
examples/Audio