Added being able to change attenuation in real time