[PD] Make timer / clock

Frank Barknecht fbar at footils.org
Fri May 6 23:30:42 CEST 2005


Hallo,
sara kolster hat gesagt: // sara kolster wrote:

> The object should only give a 0/1 when two separate floats [connected to 
> right & left inlet] inlet are 0?
> 
> I tried [&&] and [== 0] but these don't act as I want to.

AND means: Say True only, if input A AND input B are true, otherwise
say False. So [&&] will be 0 as soon as one input is 0.

OR however gives True as soon as one input is True, too. It will thus
only lead to a False result, if both inputs are False. This is what
you want: Give 0 if both inputs are 0 at the same time.

So instead of AND: [&&] you need OR, which is [||] or [|] in Pd.

Ciao
-- 
 Frank Barknecht                               _ ______footils.org__
             
          _ __latest track: "scans" _ http://footils.org/cms/show/41




More information about the Pd-list mailing list