Hello, i am working on a patch that should control the volume of 2 tracks via serial data.
Let me explain what i would like to achieve.
I have 3 wav-files. Each ~3min long, playing in an infinite loop.
The first track is always hearable the other two track should be faded in and out using two switches connected to an arduino and communicating with Pure Data over the serial port.
My problem is that if i flip the switch to "on" i have an "1" coming in over the serial port that is not triggering a bang but keeps the bang active all the time, same with the "0" coming over the serial port.
That way the fade-in and out is not working as it should.
How do i trigger the bang without keeping the bang active all the time?
Thanks!