It's called 'scale' and part of maxlib. Works like this: [scale inMin inMax outMin outMax lin/log] The last option switches between linear and logarhythmic scaling.
Olaf
Hans-Christoph Steiner schrieb:
I am looking for an object to change the range of numbers. Specially, I am working with mice and joysticks, which output numbers in a specific range (screen resolution for mice; 0-65535 for usb joysticks). I would like an object like this [ranger inMin inMax outMin outMax].
Anyone seen something like this? I couldn't find anything in pdb.
.hc
zen \ \ \[D[D[D[D
PD-list mailing list PD-list@iem.kug.ac.at http://iem.kug.ac.at/cgi-bin/mailman/listinfo/pd-list