hello,
there is probably many debounce in there. the one i write for the mapping (and puremapping) lib does not retard any bang. it either pass it or not. the delay reactivated itself only if no bang is received ont he input during the specified time. i think that's what you need.
if you want to manually reset the delay, you can use onshot.
but maybe i still not understand your need.
cyrille
Le 13/11/2010 02:06, Jose Luis Santorcuato a écrit :
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é Escuchar Leer fonéticamente
2010/11/12 Mathieu Bouchard <matju@artengine.ca mailto: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