Btw I didn't receive Frank's reply, so I'm pasting it from the pd-dev archives.
On Sun, 9 Oct 2005, Frank Barknecht wrote:
Mathieu Bouchard hat gesagt: // Mathieu Bouchard wrote:
On Sun, 9 Oct 2005, Frank Barknecht wrote:
a) let w only go from 0 to 100 and b) let w be displayed as going from 0 px to 38 px. What is still missing here is an alternate way to display w: scaled, but *without* restricting w to the range 0 to 100.
it could use (0:) as meaning w>=0, (:0) as meaning w<=0, and (:) as meaning no restriction.
Not quite: You would not know how to scale, as there is no input range given.
D'oh. Sorry. it's true that the current notation doesn't lend itself to specifying scale factors without ranges, as all scale factors are computed from a pair of ranges. Well, there's not much of a choice but to invent a new syntax for scale factors.
____________________________________________________________________ Mathieu Bouchard - tél:+1.514.383.3801 - http://artengine.ca/matju Freelance Digital Arts Engineer, Montréal QC Canada