Ardour  9.0-pre0-582-g084a23a80d
Evoral::ParameterDescriptor Struct Reference

#include <ParameterDescriptor.h>

Inheritance diagram for Evoral::ParameterDescriptor:
[legend]

Public Member Functions

 ParameterDescriptor ()
 
virtual ~ParameterDescriptor ()
 
virtual float to_interface (float val, bool rotary=false) const
 

Public Attributes

float normal
 Default value. More...
 
float lower
 Minimum value (in Hz, for frequencies) More...
 
float upper
 Maximum value (in Hz, for frequencies) More...
 
bool toggled
 True iff parameter is boolean. More...
 
bool logarithmic
 True for log-scale parameters. More...
 
unsigned int rangesteps
 number of steps, [min,max] (inclusive). <= 1 means continuous. == 2 only min, max. For integer controls this is usually (1 + max - min) More...
 

Detailed Description

Description of the value range of a parameter or control.

Definition at line 25 of file ParameterDescriptor.h.

Constructor & Destructor Documentation

◆ ParameterDescriptor()

Evoral::ParameterDescriptor::ParameterDescriptor ( )
inline

Definition at line 27 of file ParameterDescriptor.h.

◆ ~ParameterDescriptor()

virtual Evoral::ParameterDescriptor::~ParameterDescriptor ( )
inlinevirtual

Definition at line 36 of file ParameterDescriptor.h.

Member Function Documentation

◆ to_interface()

virtual float Evoral::ParameterDescriptor::to_interface ( float  val,
bool  rotary = false 
) const
inlinevirtual

Reimplemented in ARDOUR::ParameterDescriptor.

Definition at line 37 of file ParameterDescriptor.h.

Member Data Documentation

◆ logarithmic

bool Evoral::ParameterDescriptor::logarithmic

True for log-scale parameters.

Definition at line 45 of file ParameterDescriptor.h.

◆ lower

float Evoral::ParameterDescriptor::lower

Minimum value (in Hz, for frequencies)

Definition at line 42 of file ParameterDescriptor.h.

◆ normal

float Evoral::ParameterDescriptor::normal

Default value.

Definition at line 41 of file ParameterDescriptor.h.

◆ rangesteps

unsigned int Evoral::ParameterDescriptor::rangesteps

number of steps, [min,max] (inclusive). <= 1 means continuous. == 2 only min, max. For integer controls this is usually (1 + max - min)

Definition at line 46 of file ParameterDescriptor.h.

◆ toggled

bool Evoral::ParameterDescriptor::toggled

True iff parameter is boolean.

Definition at line 44 of file ParameterDescriptor.h.

◆ upper

float Evoral::ParameterDescriptor::upper

Maximum value (in Hz, for frequencies)

Definition at line 43 of file ParameterDescriptor.h.


The documentation for this struct was generated from the following file: