using audio signal to control a led

Feb 17, 2013 at 6:11pm

using audio signal to control a led

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. –
#66568
Feb 17, 2013 at 9:26pm

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. –
#239602
Feb 18, 2013 at 6:43pm

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

#239603

You must be logged in to reply to this topic.