Or...

[bang(
|
|         /-----[0(
[spigot 1]   |
|\              |
| \-------------|
|
|

...or am I missing something?
Metastudio 4 for Pure Data - coming soon!
Metastudio 3 still available at http://sharktracks.co.uk/puredata



----- Original Message ----
From: Mathieu Bouchard <[email protected]>
To: Jose Luis Santorcuato <[email protected]>
Cc: PD List <[email protected]>; cyrille henry <[email protected]>
Sent: Sat, 13 November, 2010 17:58:28
Subject: Re: [PD] Multiples toogles and bangs

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 bang.

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



      
#N canvas 0 0 450 300 10;
#X obj 96 64 inlet;
#X obj 229 103 loadbang;
#X obj 242 60 inlet;
#X text 241 38 reset;
#X obj 100 120 spigot;
#X msg 162 93 1;
#X msg 162 119 0;
#X obj 102 162 outlet;
#X connect 0 0 4 0;
#X connect 1 0 5 0;
#X connect 2 0 5 0;
#X connect 4 0 6 0;
#X connect 4 0 7 0;
#X connect 5 0 4 1;
#X connect 6 0 4 1;
_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list

Reply via email to