PLaying Wave file from SD card and finding empty gaps (no sound) in the wave file

I want to play a wave file and know the amplitude of the playing sound so that i can detect when there is no sound
Could use this also to dispaly a VU-meter for the playing wave file.
I wrongly tought this would be easy :)

I am able to do this on a line input (or mic input)

I don't get how to do this, I would appreciate any help

Kind regards :)
 
Back
Top