[PD] unchange detection

Mathieu Bouchard matju at artengine.ca
Tue Aug 17 16:33:21 CEST 2010


On Tue, 17 Aug 2010, Marek Vanbykow wrote:

> Could i find some kind of object in pd who outputs a single bang when it 
> recieves nothing ?

just after your [metro] (i assume you have one), insert a [t b b b]. With 
the right outlet, send a 1 to turn on a [spigot]. With the middle outlet 
of t, connect to your stuff that should produce a message or not. Use that 
to send a 0 to turn off the spigot. Then with the left outlet of t, send a 
bang in the spigot and see whether it goes through. It will go through 
only when nothing was received to turn off the [spigot].

for other occasions, you can swap some outlets of the [t b b b], or 
replace the [metro] by something else...

  _ _ __ ___ _____ ________ _____________ _____________________ ...
| Mathieu Bouchard, Montréal, Québec. téléphone: +1.514.383.3801


More information about the Pd-list mailing list