[PD] modeling problem: stack overflow

Anton Woldhek woldhek at xs4all.nl
Fri Feb 20 13:32:57 CET 2004


Hello list,

Im currently working on a composition based on a proces. Ive got a problem
that i cant seem to find my way around.
This particular model is a bird that has several parameters determining
whether or not it his going to be atracted to our particular location.
(Somewhereland).
To do this it first determines its charachter (is it a seasonal migrator
i.e.). etc.
Another one is the food/competitor ratio. I need the bird to see that if
A) The food/competitor ratio = 0  (meaning: no new birds can be fed from
this supply)
B) he checks whether or not he is currently present

so that if a * b = 1 He can stay, and if a * b = 0 he will not go to
Somewhereland.

but because the output would be immediatly fed back to B it creates a stack
overflow.
I thought i could get around this by have a metro send out the occasional
update of his
current presence.

Any hints would be much appreciated.

Thanks
Anton





More information about the Pd-list mailing list