Switch an amp, connected to a Raspberry Pi on or off. Depend on soundcard status.