Below the last screenshot (Figure 6) at the bottom of the post, you said: "...If we run with the AGC turned off, we get the expected 0 dB of gain. The diff varies a bit per segment, since the segments are different in audio power." I can understand why, with agc, the diff varies per segment. However, I don't understand why all the audio segments in the agc_energy_diff_no_agc graph have non-zero, a
![Audio Testing - Automatic Gain Control](https://cdn-ak-scissors.b.st-hatena.com/image/square/40641bc421dece9b67257107e0bba884af5c23ab/height=288;version=1;width=512/https%3A%2F%2Fblogger.googleusercontent.com%2Fimg%2Fb%2FR29vZ2xl%2FAVvXsEgNWyw4Y5_hwMmvzu2TQN_NRQe6-nor1zoNerbGFZMkuXilBwORhKLK4Cf75dRPb_c_xrgglRKORxnGEMbEzIhylpLol-Z0DvG047859hcp2m3ZB1TXgQAbFp4rAJ7w1TsYsb7ZNw%2Fs1600%2Fgooglelogo_color_200x200.png)