Warning: Complete audio beginner
Background: I have audio recordings that were recorded through a mobile device using an app. I need to write a program that takes the audio and finds periods of increasing volume (don't know if that's the correct term) followed by a sudden drop in volume.
Want: Ideally I'd want to take the audio file and convert it to text containing numeric values that represent the loudness (volume) every one second interval. So if the audio is one hour long, I'd have 3600 data points.
What I've Tried: I opened the audio file using audacity. In the menu bar, I clicked analyze --> sample data export and it gave me values between -1 to +1.
Problem: I don't know if each data point refers to one second of the audio recording. I don't want negative values. There are also options in audacity in which I'm not sure what to put. Such as project rate (Hz), sample format (16-bit PCM, 24-bit PCM, and 32-bit float), and how many samples I want.
Thank you for your help!