Added attenuator switching
Added correct multi-channel behavior