I got a little problem with my Arduino project and couldn't find a fitting tutorial about this :
I want to control audio with two buttons. I want to play a sound effect constantly on two objects. When one Button on one Object is pushed, the Sound should stop on that one object. When both Buttons on both objects are pushed at the same moment, I want to play a different sound.
So Soundtrack1 is playing constantly on both objects. Both Objects have their own Speaker
Each Object turns off Soundrack1, as long as its button is pulled down and starts playing Soundrack1 again when the Button is no longer pulled down
Only when both buttons are pulled down at the same time, both objects play Soundtrack2
The picture shows how I connected the Buttons
Every help is very appreciated! Thank u very much