Forums > MaxMSP

using audio signal to control a led

February 17, 2013 | 6:11 pm

I’m trying to create a patch to control a blinking led using an audio input.
I’m not very good at math so I’m trying to figure out how to smooth the values coming from the audio signal. I would like them to be less "nervous".
This is how I tried to solve the problem but the values are still too "nervous" (in this example patch I replaced the led with a bang). Any suggestion?

– Pasted Max Patch, click to expand. –

February 17, 2013 | 9:26 pm

you could use the object slide which may help smooth the numbers.

i was not entirely sure what you were trying to achieve with your scales, but here is the patch with slide and !- included

– Pasted Max Patch, click to expand. –

February 18, 2013 | 6:43 pm

Thank you very much… this works fine for me…
(the scales were only a mistake that I left there before posting the patch)


Viewing 3 posts - 1 through 3 (of 3 total)