Expand description
Scaling operations module.
Functionsยง
- ampdb
- Convert an amplitude value to decibels.
- dbamp
- Convert a decibel value to amplitude.
- linexp
- Map an input value from one range to another with an exponential curve. It performs clipping on
the input value in the range of
from_min
andfrom_max
. Using generics, this function can map any type that implements theFloat
trait. - linlin
- Map an input value from one range to another.
It performs clipping on the input value in the range of
from_min
andfrom_max
. Using generics, this function can map any type that implements theInto
trait.