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.

Thanks again friends

José



2010/11/12 Mathieu Bouchard <matju@artengine.ca>
On Fri, 12 Nov 2010, Jose Luis Santorcuato wrote:

Hi all, I'm working for a long time to solve the multiple bangs that sometimes I throw some devices, I tested debounce, edge, but I can not control the multiplicity of bangs or Toogle, I can retard or miss one, send it to the right ( edge) but I can not control multiple bangs or toggle. Any ideas?

use a [f] with a [metro] to make a steady stream of 0 and 1 values. Then make a low-pass filter by combining [+] [* 0.9] and [* 0.1] so that the output of the filter is 10 % of the current input plus 90 % of the previous input. Then use a threshold such as [>= 0.5].

You can control the intensity of the debounce by changing the constants 0.9 and 0.1 as long as they add up to 1 and that both are positive. You can also change the speed of the [metro].

 _______________________________________________________________________
| Mathieu Bouchard ---- tél: +1.514.383.3801 ---- Villeray, Montréal, QC



--
http://arselectronicachile.blogspot.com
http://comunicacionnativa.blogspot.com/ 
http://www.myspace.com/santorcuato