Map a finite control interval to another interval and clip outside it. More...
#include <indexed_control.hpp>
Public Member Functions | |
| bool | configure (SampleType input_min, SampleType input_max, SampleType output_min, SampleType output_max) noexcept |
| SampleType | process (SampleType input) const noexcept |
Map a finite control interval to another interval and clip outside it.
Invalid configuration is rejected without changing the previous mapping.
|
inlinenoexcept |
|
inlinenoexcept |