wav2leq function

Convert wave amplitude to equivalent continuous sound pressure level (Leq)