Info about how numeric stateful controls should be scaled. More...
#include "api/interface_definition.h"
Public Types | |
enum | scale_type { LINEAR = 1, EXPONENTIAL, DECIBEL } |
Public Member Functions | |
virtual scale_type | get_scale_type () const =0 |
Info about how numeric stateful controls should be scaled.
Many types of controls have a nonlinear relationship between value and perceptual linearity. For instance, for a filter sweep to sound like it is moving at a constant rate, the filter's cutoff frequency must accelerate (or decelerate) exponentially. In other words the desired relationship between a controller and it's value is in this case exponential.
|
pure virtual |
get scale type. See ::scale_type