[PD] Array indexing for the wind and the birds
matju at artengine.ca
Wed Oct 31 15:32:44 CET 2007
On Fri, 26 Oct 2007, Roman Haefeli wrote:
> a) it is very hard to do that in pd, since message to canvasses are
> different from the lines in the pd-file?
No, they are not different. Lines in the pd-file are interpreted as
message to a canvas using #X, a message to [canvasmaker] using #N, or a
message to an array using #A.
"#N canvas" and "#X restore" will change the receiver of the
receive-symbol #X so that it points to the correct canvas at all time.
They use pd_pushsym and pd_popsym, which maintain a list of receivers for
each receive-symbol in which only the last element is a currently active
_ _ __ ___ _____ ________ _____________ _____________________ ...
| Mathieu Bouchard - tél:+1.514.383.3801, Montréal QC Canada
More information about the Pd-list