Hey!
Does anyone have a solution for filtering multiple bangs evenly?
(Something like "speedlim" but in Vanilla only)
The application is for drum triggers.
There are often double hits and I'd like to filter them out over a certain threshold of time.
Speedlim equivalent in Vanilla
Hey!
Does anyone have a solution for filtering multiple bangs evenly?
(Something like "speedlim" but in Vanilla only)
The application is for drum triggers.
There are often double hits and I'd like to filter them out over a certain threshold of time.
@simorr You can do something like that: bangfilter.pd
You can specify the delay time by creation argument or right inlet.

Here're two untested (!) patches.
This one ensures that no more than one message is passed in $1 milliseconds:

The second one reschedules a list that came in the middle of the $1 ms “rest” period.

Edit: I think they should work for any data type, not just for bangs.
Thank you!
Love this community.
This doesn't work, the timer is being set to zero with every incoming message.
Personally I haven't been able to fix it - I've made the jump to cyclone library of externals, which includes a speedlim
@crosswick Have you tried my example above? Should definitely work... 
@ingox you're right, it does work, apologies.
Oops! Looks like something went wrong!