awesome sound attenuation function