Mixing and splitting signals: PWM RGB led

I think you are looking for a transistor switch between PWM and Vin of your amplifier.
So this switch allows or blocks the signal from a second source.