[PD] unchange detection
Frank Barknecht
fbar at footils.org
Tue Aug 17 17:07:37 CEST 2010
Hi,
On Tue, Aug 17, 2010 at 10:00:05AM +0200, IOhannes m zmoelnig wrote:
> On 2010-08-17 09:57, Marek Vanbykow wrote:
> > Could i find some kind of object in pd who outputs a single bang when it
> > recieves nothing ?
> > Thanks for your help.
>
>
> [until]
>
> but you have to start the detection by sending it a [bang( once.
Took me a while to get this. :)
But although it answered the question, maybe Marek was instead looking for a
way to output a bang after nothing has happened for a while, like a kind of
activity meter. At least that's a common need on many occasions.
For this, [delay] is a great object because it resets the scheduled delay
whenever it receives a new bang. A simple activity monitor could look like
this:
[r is_there_something_happing????]
|
[bang]
|
[delay 1000]
|
[s nothing_happened_during_the_last_second!]
Ciao
--
Frank Barknecht Do You RjDj.me? _ ______footils.org__
More information about the Pd-list
mailing list