Hi there,
I was wondering if there's a way to detect amplitude peaks in a sound file while being played. I don't need anything fancy really, I just need to find when the "volume" is above a certain level.
Something like if(file.getVolume() > 0.6)
I tried getGain and getVolume but they don't work
As a side note, this can be done with the new sound library by using the Amplitude object. However it seems that the sound library is missing the .isPlaying() method which I also need in my program so I'd rather stick to minim (unless there's a solution for the missing .isPlaying() method in the official sound library)
Thank you!