This demonstrates how to log a value (the max sample amplitude) from the waveform!

wave form visualizer