Problems with audio levels.
Right now I have a patch that recognizes microphone input on a scale of 1-20, and routes to 20 different open messages with audio files, running into an sfplay~object. However, since the audio input is so dynamic, any designated audio file (1-20) only plays when the audio levels read precisely the same number.
Preferably I'd like to read the audio levels only for an instant, getting just 1 number, and let that designated audio file play all the way through, then go back and reread the audio levels, playing another file.
How would I achieve this?
Thanks!
the signal from the scale should go into a gate that first allows the value to pass and then closes it. Then out of the second outlet from sfplay~ bangs after playing the audio file, that can reopen the gate.
my patch below just has the logic described above
`