liquidsfz
|
Information for one continuous controller. More...
#include <liquidsfz.hh>
Public Member Functions | |
CCInfo (CCInfo &&)=default | |
int | cc () const |
std::string | label () const |
bool | has_label () const |
int | default_value () const |
Friends | |
class | Synth |
Information for one continuous controller.
int LiquidSFZ::CCInfo::cc | ( | ) | const |
int LiquidSFZ::CCInfo::default_value | ( | ) | const |
This contains the initial value for the CC.
bool LiquidSFZ::CCInfo::has_label | ( | ) | const |
This function returns true if the .sfz file contains a label for this CC (that is, if a label_cc opcode was found for this CC).
std::string LiquidSFZ::CCInfo::label | ( | ) | const |
Some .sfz files contain labels (label_cc opcode) for the CCs they provide. If a label is available, this function will return it. If no label was defined in the .sfz file, a label will be generated automatically (like "CC080"). To check if a label is available, call has_label().