decode mp3, calculate average energy per frame