bamsehopp I'm having trouble with buttons connected to the digital ins on the bela. I get it into PD but they register multiple on / offs for one press. This is what it looks like: Is it just the buttons that are cheap and crappy? I currently have PD look for an "on"-press and then wait 100ms before it can look for another. But I still get a "1" from the press and release of the button.
giuliomoro Any real world switch will exhibit bouncing, even good ones 😉 Can you show your debouncing patch? There is a debouncing abstraction in the Salt examples, ready to go, for instance here, which looks like this:
ryjobil FWIW here is a good write-up on the topic: http://www.ganssle.com/debouncing.htm He has some great stuff that is useful for implementation in assembly or C, but the principles still apply in Pd.