[PD] Multiples toogles and bangs
matju at artengine.ca
Sat Nov 13 18:58:28 CET 2010
On Fri, 12 Nov 2010, Jose Luis Santorcuato wrote:
> Hi Cyrille and Mathieu, debounce (IMHE) only retards (delay) the
> multiples bangs in particular time(, I need to receive only one and
> locks, no more bangs, then you can reactivate such a delay, so you can
> return to a zero point and repeat a sequence, video or sound and does
> not occur jumpcut.
The solution I offered is destined to filter a hardware toggle, for
example, such that a clean stream of toggle values can be produced from
it. If you use it to filter a bang-like hardware button (that still has a
0 or 1 output) you need to retune my formulas with different numbers.
But what I proposed is just one way of doing things. I gave this solution
because it can work for both the case of a hardware toggle and a hardware
After that, converting 0,1 into pd bangs is a matter of [change]-[sel 1].
There are other solutions in the case that what you have is really a
sequence of bangs at first (and not a sequence of 0,1 values that you
happened to convert to bangs).
| Mathieu Bouchard ---- tél: +1.514.383.3801 ---- Villeray, Montréal, QC
More information about the Pd-list