JUCE native rescale function?

Hi,

what’s the JUCE native function for rescale a value given different range?

In VCV Rack for example there is math:rescale.

I believe there’s somethings equivalent also on JUCE?

Thanks

juce::jmap

https://docs.juce.com/develop/group__juce__core-maths.html#ga8acdd3d518517bd5e3c0bd1922218bf9

1 Like

Wow, what a community! Faster! Thanks!