Problems with audio levels.

Dec 15, 2011 at 4:04am

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!

#60682
Dec 15, 2011 at 5:08am

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

– Pasted Max Patch, click to expand. –

`

#218423

You must be logged in to reply to this topic.