The scale object
Nov 18, 2008 at 4:33pm
The scale object
Hi all, I’m (very) new to the world of Max, and have been going through the tutorials slowly but surely. Mildly embarassed at having to ask this as it seems like it should be so straight forward, but what exactly does the scale object do?
Nov 18, 2008 at 4:55pm
scale is an object that, in my mind, represents the core of max’s
scale, and zmap, work this way: you have an incoming range of
does that help?
(there’s a fifth argument and sixth inlet to scale, which can and
On Nov 18, 2008, at 11:33 AM, keyworth wrote:
Nov 18, 2008 at 4:58pm
The first two arguments set the range of the input, the next two set the range of the output. So if you had [scale 0. 2. 0 127] it would scale the floats from 0 to 2 to the integers 0 to 127. If you send 0.5 to the inlet you’d get “31″ at the output (a quarter of the way between 0 and 127. These arguments can be set using the second to fifth inlets too. I’d advise you to steer clear of the fifth argument (sixth inlet) which sets the scaling from linear to exponential, there are much better ways to do exponential scaling, like using the [expr] object.
Nov 18, 2008 at 5:01pm
well f.i. [scale 0 127 0. 1.] would scale input int values to a range of 0-127 and output a float between 0.-1. respectively, just liek tutorial explains.
more clear now? very handy object…
Nov 18, 2008 at 5:13pm
Be careful, scale and zmap are different when the incoming data
The fifth argument of scale is useful for non linear interpolation
Nov 18, 2008 at 5:27pm
A lightbulb just appeared above my head…thanks a lot guys!
Nov 18, 2008 at 6:50pm
Another difference between scale and zmap is that scale can also
As you said that you were new to Max , more importanly than knowing
On 18 nov. 08, at 17:27, keyworth
Nov 19, 2008 at 1:40am
WHAT!?!?! theres a whole object for that?
damn… and this whole time ive just been doing the math with an expr…
i dont even want to think of how many other objects i could be using to save time/space… back to the tutorials for me
Nov 19, 2008 at 12:48pm
After almost 20 years of maxin’ I still come across standard objects I
You can patch this advice of course as well, save as “Oblique Help”
– Pasted Max Patch, click to expand. –
Copy all of the following text.Then, in Max, select New From Clipboard.
Nov 19, 2008 at 9:03pm
Quote: joshua goldberg wrote on Tue, 18 November 2008 17:55
> (there’s a fifth argument and sixth inlet to scale, which can and
Are you saying they should be ignored because lp.scampi & lp.scampf implement non-linear scaling… somehow…
But then the cutoff year would be 2001 (when Litter Power was first released).
I don’t want to put words in your mouth, and I don’t want to come over as saying that one object is ‘better’ than another. But the non-linear scaling functions in lp.scampi are extremely useful, work as advertised, and the .maxhelp file makes the functionality clear.-
Lp.scampi and lp.scampf are part of the Litter Starter Pack (currently Max 4 only) as well as being in the Litter Pro Bundle (Max 5, Max 4, and probably Max 3…)
You must be logged in to reply to this topic.