Feature #1477
exponential/logarithmic map()
Status: | New | Start date: | 2015-12-05 | |
---|---|---|---|---|
Priority: | Low | Due date: | ||
Assignee: | - | % Done: | 0% | |
Category: | - | |||
Target version: | - |
Description
It's quite common to need exponential/logarithmic mappings, not just linear, so here's a little (low priority) request for that.
FWIW, the interface in supercollider looks like:
y = linlin(x, in_lo, in_hi, out_lo, out_hi) // equivalent of Bela's map()
y = linexp(x, in_lo, in_hi, out_lo, out_hi) // linear to exponential
y = explin(x, in_lo, in_hi, out_lo, out_hi) // exponential to linear