[PD] Data Structures - Scaling Visual Display - (1:10)(2:200)
Miller Puckette
msp at ucsd.edu
Sat Jun 30 05:39:45 CEST 2012
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 at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
More information about the Pd-list
mailing list