the [gradient] object allows you to create a scale between min and max values.

It takes float values for the first inlet, has three parameters (scale, min, max) and has one outlet that returns the number relative to the scale.

[grad 2 2 5] -- 2 values between 2 and 5

0 returns 2

1 returns 5

[grad 3 2 5] -- 3 values between 2 and 5

0=>2, 1=>3.5, 2=>5

I can send it numbers outside the scale and it will follow the trend

3=>6.5, 4=>8, 5=>9.5

-1=>0.5, -2=>-1, -3=>-2.5

[grad 1 2 5] -- 1 value between 2 and 5

0 returns the midpoint (3.5)

-1 returns the min (2)

1 returns the max (5)

the [grandom] object is a random number generator variation of [gradient]. Its first inlet receives bangs and it has two outlets: one for the scale value, and one for the original random number. By default, both objects use 101 values between 0 and 1.