[PD] Trigger bug?
Tim Blechmann
TimBlechmann at gmx.net
Sat Feb 19 10:26:36 CET 2005
> 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);
> }
well ... i should have added this:
static void trigger_list(t_trigger *x, t_symbol *s, int argc, t_atom
*argv) {
t_triggerout *u;
int i;
t_atom at;
if (!argc)
{
argc = 1;
SETFLOAT(&at, 0);
argv = &at;
}
...
t
--
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