need object who can convert 100-1 to 1-100

Dieter_Laser's icon

hello people,

is there any object whon can convert the values (for example; in the range 1-100) 1 to a 100 and then 2 to 99, 3 to 98, a so on ?

i cant find a mathematical solution, bcos im too stupid for this!

cheers

Jakob Riis's icon

> is there any object whon can convert the values (for example; in the range 1-100) 1 to a 100 and then 2 to 99, 3 to 98, a so on ?

the short answer is !-

pdelges's icon
pelang's icon

or
[scale 100 1 1 100]

Dieter_Laser's icon

thankz al ot !

Steven Miller's icon

Pretty straightforward with [scale] reversing the hi & low boundaries.

Max Patch
Copy patch and select New From Clipboard in Max.

On Dec 11, 2006, at 9:25 AM, Dieter_Laser wrote:

>
> hello people,
>
> is there any object whon can convert the values (for example; in
> the range 1-100) 1 to a 100 and then 2 to 99, 3 to 98, a so on ?
>
> i cant find a mathematical solution, bcos im too stupid for this!
>
> cheers

----
Steven M. Miller

Associate Professor of Contemporary Music
College of Santa Fe
Contemporary Music Program
1600 St. Michaels Drive
Santa Fe NM 87505
http://pubweb.csf.edu/~smill
(505) 473-6197

SFIFEM
Atrium Sound Space
OVOS

nesa's icon

> [!- 101]

Hey, that should be Romans reply!

vade's icon

You mean [!- 110] :P

On Dec 11, 2006, at 12:19 PM, nesa wrote:

>
>> [!- 101]
>
> Hey, that should be Romans reply!
>
>

v a d e //

www.vade.info
abstrakt.vade.info

nesa's icon

ah, damn coffe overdose! you're right!

> You mean [!- 110] :P

Roman Thilenius's icon

Quote: nesa wrote on Mon, 11 December 2006 10:19
----------------------------------------------------
>
> > [!- 101]
>
> Hey, that should be Romans reply!

no - i usually convert everything to range 0. 1. for
scaling-operations, and add a [* -1] if i want to reverse
the range.

-110 [!]