Map an input range of values to an output range
|minimum-input maximum-input minimum-output maximum-output exponential-base||int or float||opt|| The first argument is the minimum input value, the second argument is the maximum input value. The third and fourth arguments are the minimum and maximum output values, respectively. An optional fifth argument specifies the nature of the scaling curve. The number is converted according to the following expression
y = b e-a log c ex log c
where x is the input, y is the output, a, b, and c are the three typed-in arguments, and e is the base of the natural logarithm (approximately 2.718282). The third argument must be a floating-point number greater than 1. The larger the value, the more steeply exponential the curve is. An appropriate value for this argument is 1.06. All five values can be changed via the object's five inlets. If only four arguments are provided and all four are of type int, scale will output integer values.
|bang||In left inlet: Performs the scaling operation on the most recently received int or float input value (i.e. if a list was the message thing received, the scale object will output the last item in the list). If the scaling ranges have changed since the previous input in the left inlet, the new ranges will be used for the scaling.|
|| In left inlet: The incoming value is scaled according to the mapping provided by the arguments, or values received in the other inlets.
In second inlet: Sets the low input value.
In third inlet: Sets the high input value.
In fourth inlet: Sets the low output value.
||In left inlet: A list of numbers sent to the left inlet will trigger the output of a list consisting of the results of performing the specified scaling operation on each item in the input list.|