How to calculate Resolution in audio