Number value 0,1 to -1,1 How?

zqpm1qaz's picture

it easy to do that in maxmsp use scale object, but no idea in qc. new on qc.need a some halp,thanks!

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

gtoledo3's picture
Re: Number value 0,1 to -1,1 How?

Use the interpolation patch.

Set it's timebase to external and repeat mode to none. Then, set your number range and it should be good to go. Alter the timebase to go through the number range.

jrs's picture
Re: Number value 0,1 to -1,1 How?

or put the following into a math expression patch

((max - min) * slider) + min

where min = -1, max = 1 and slider is between 0 and 1