I can't remember where I've seen it but you can create a struct like so...
[struct structname float x(1:10)(2:200)]
...such that x displays more tightly or loosely and with boundaries depending on the values in the brackets. But I can't figure how to enter the values properly!
My question is, how do you set the values in the brackets? What do they refer to?!
Is there any documentation available on this?
Thanks, John.
There's a somewhat lame explanation in doc/4.data.structures/09.scaling.pd
-- in brief, 1:10 in the example below says that the value of x is restricted to the range 1-10, and this range is linearly rescaled to values 2-200 in the coordinates of the patch.
cheers Miller
On Fri, Jun 29, 2012 at 06:50:21PM -0700, JF wrote:
I can't remember where I've seen it but you can create a struct like so...
[struct structname float x(1:10)(2:200)]
...such that x displays more tightly or loosely and with boundaries depending on the values in the brackets. But I can't figure how to enter the values properly!
My question is, how do you set the values in the brackets? What do they refer to?!
Is there any documentation available on this?
Thanks, John.
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list