electro-smith / DaisySP

A Powerful DSP Library in C++
https://www.electro-smith.com/daisy
Other
836 stars 131 forks source link

fmap function for simple transforms. #164

Closed stephenhensley closed 2 years ago

stephenhensley commented 2 years ago

Adds a mapping function -- near identical to what's provided in libDaisy's MappedFloatValue class. However, this is just a utility function with no setup necessary.

If you're using a complex UI the libDaisy class is more suitable, but this is handy for doing quick remaps.