I am currently trying to compare the amplitude vs time data between two different microphone readings (.wav files of inhales and exhales) and detect which reading produced a louder sound, on average. I was wondering what the best methodology for this would be, and if there is a good mathematical way to go about this, is there any Python support for it (i.e. a library or article about it).
For reference, the current approach we are looking into is to calculate some sort of curve that encompasses the readings, and then take the absolute value, and then calculate the area under the curve during each inhale/exhale, comparing that integral value between each reading on average.
Here is an image of what the data looks like:
Thank you