[PD] Trigger bug?

Tim Blechmann TimBlechmann at gmx.net
Sat Feb 19 10:13:55 CET 2005


from notes.txt:

MAX compatibilty:
trigger 1 (on Pd, outputs 0; on Max?)


basically
|bang(
|
|trigger|

is internally the same as:
|bang(
|
|0|
|
|trigger|

that is awful, but it seems that miller did this intentionally:

static void trigger_bang(t_trigger *x)
{
    trigger_list(x, 0, 0, 0);
}

static void trigger_float(t_trigger *x, t_float f)
{
    t_atom at;
    SETFLOAT(&at, f);
    trigger_list(x, 0, 1, &at);
}

cheers ... tim

-- 
mailto:TimBlechmann at gmx.de    ICQ: 96771783
http://www.mokabar.tk

latest mp3:
http://jokebux.klingt.org/gro.tgnilk/mp3s/2317/index.html

After one look at this planet any visitor from outer space 
would say "I want to see the manager."
				      William S. Burroughs




More information about the Pd-list mailing list