So this was very easy. Just calculate the return value from PvRecorder.read():
pcm = recorder.read() volume = np.mean(np.abs(pcm))