I have a little doubt,
researching about how I can measure the sound level with a microphone, I found one solution, which I don't understand: In this solution, the Arduino reads in intervalls of 50 milliseconds the values of the microphone through analogRead. Then, the program saves the highest and the lowest value, to calculate the peak-to-peak value. But to get the sound level, isn't it sufficient to only save the maximum value, because the amplitude represents kind of the sound level? So why is this method recommended, where you calculate the peak-to-peak value?
Can you help me guys?