electro-smith / DaisySP

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

fmap function for simple transforms. #164

Closed stephenhensley closed 3 years ago

stephenhensley commented 3 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.