19 #ifndef EVORAL_PARAMETER_DESCRIPTOR_HPP
20 #define EVORAL_PARAMETER_DESCRIPTOR_HPP
37 virtual float to_interface (
float val,
bool rotary =
false)
const {
virtual ~ParameterDescriptor()
float normal
Default value.
bool logarithmic
True for log-scale parameters.
float upper
Maximum value (in Hz, for frequencies)
float lower
Minimum value (in Hz, for frequencies)
bool toggled
True iff parameter is boolean.
virtual float to_interface(float val, bool rotary=false) const
unsigned int rangesteps
number of steps, [min,max] (inclusive). <= 1 means continuous. == 2 only min, max....