I'm having trouble googling this because I don't know what to call it.
Basically, I'm using a webcam to control the volume of sound in a room. If nobody is in the room, the sound shouldn't play. However, this needs to have a reasonably long time-out value so that it doesn't accidentally stop playing while there are people in the room.
So I've got a jit.qt.grab, going to a jit.change with a reasonably high threshold value. My playback is controlled by 4 play~ objects through a 4-channel live.gain~ object.
How do I extract the motion data from jit.change and give it to live.gain with a timeout so as to accomplish my purposes?
Thanks in advance