Wave attenuation in glasses: Rayleigh and generalized-Rayleigh scattering scaling.