I'm wondering if there is a way in PureData to have some sort of timer that keeps track of the last time a button is pressed, and fades down the mains, until it is used again.
Here is my current system:
Imagine an installation in a children's museum. If a kid presses the button it triggers a sound. If they slide up a fader, it increases the volume on a looping audio track. But if they walk away and leave the fader up, after a period of time, say 1 minute, the mains fade down into a quiet waiting period. Then if some other kid pressed the button or moves the fader, the mains come back up while in use.
Any guesses on how to implement this? Thanks.