I think I found out, how this was done already, but I cannot find the solution anymore. there are some problems:
(only if you create the array via message, but maybe there is a default graph name???) 2) you have to enforce a redraw (I dont know how, ...) but besides that, the message to change bounds is pd-graphname coords arg1 arg2 arg3 arg4 arg5 ar6 arg7 arg8(?)... arg1: x from arg2: y to arg3: x to arg4: y from arg5: screen width arg6: screen height arg7: is graph on parent arg8 ???
of course after changing the bounds, you should also resize the array to the correct length. hmm, maybe someone can finish this puzzle. marius.
----- Original Message ----- From: "Marc Lavallée" marc@hacklava.net To: pd-list@iem.at Sent: Sunday, May 23, 2004 9:56 PM Subject: Re: [PD] Dynamically setting array bounds
Le 23 Mai 2004 13:28, Michal Seta a écrit :
I would like to be able to change the Y range of arrays and at the same time be able to keep it within the bounding box. Is this presenty possible either through messages (I skimmed through the array sources and it didn't look like it) or some externs?
I don't think it's possible to dynamically change the resolution of the samples. Maybe I don't understand the question... -- Marc
PD-list mailing list PD-list@iem.at to manage your subscription (including un-subscription) see http://iem.at/cgi-bin/mailman/listinfo/pd-list