Switching Audio On and Off using GPIO

I have a presentation with several audio files played one after the other.

At the audio output there are two headsets connected with a magnetic switch (reed contact).

Now i would like the audio (level) to be switched (faded) up only when a headset is picked up.

Is this possible? If so, how?


1 comment

Please sign in to leave a comment.