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:
alt text

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.

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:

alt text

wow thanks I didn't know debouncing was the term!