Cheap Button Debounce


#1

I want to debounce my hardware buttons, but I don't have enought ram and my patch is already optimized to the extreme. So I was wondering what the cheapest way to debounce is.

I've found this and it works, but it's just too expensive.

Maybe someone coded a dedicated object for it?


#2

I've written one.

axoloti-contrib/objects/deadsy/input/debounce

If you have multiple lines to debounce it should be a win because it can debounce up to 16 lines at once.


#3

That sounds like just what I need thank you so much! I have 12 buttons to denounce so this is just perfect. I will try it out as soon as I get back to my setup :slight_smile:


#4

Hey @deadsy finally got to integrate your object. It works perfectly and I can now debounce 12buttons instead of 2 with the same amount of resources. Great, thx again!!


#5

Good. I'm glad it worked out for you.