[PD] Dynamically setting array bounds

marius schebella marius.schebella at chello.at
Sun May 23 23:33:28 CEST 2004

I think I found out, how this was done already, but I cannot find the
solution anymore.
there are some problems:
1) you have to know the name of the graph-object, which you usually don't
(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.

----- Original Message ----- 
From: "Marc Lavallée" <marc at hacklava.net>
To: <pd-list at 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...

PD-list mailing list
PD-list at iem.at
to manage your subscription (including un-subscription) see

More information about the Pd-list mailing list