MapRange Op
Maps a value from one range into another.
Summary (oneliner)
<p>changes a number's relative value by mapping within one range to the equivalent position in another range. For example, given the range of 0 to 100, 50 would be halfway between. so if it were mapped to a range of 0 to 50, it would be 25 (because 25 is exactly half that range).</p>
- Ops.Math.MapRange
- Core Op - Official cables op
- MIT
Documentation (markdown)
Issues
Example patch id
Youtube ids (comma seperated)
Op Licence
Caniuse query
INPUT PORTS
<p>The value you want to map</p>
Input Range
<p>The minimum of the old range</p>
<p>The maximum of the old range</p>
Output Range
<p>The minimum of the new range</p>
<p>The maximum of the new range</p>
<i>integer</i>
)<i>boolean</i>
)OUTPUT PORTS
<p>Result of the mapping</p>