liquidsfz
|
Information for one key. More...
#include <liquidsfz.hh>
Public Member Functions | |
KeyInfo (KeyInfo &&)=default | |
int | key () const |
std::string | label () const |
bool | is_switch () const |
Friends | |
class | Synth |
Information for one key.
bool LiquidSFZ::KeyInfo::is_switch | ( | ) | const |
Get flag that indicates whether this key acts is a key switch (as opposed to regular midi notes).
int LiquidSFZ::KeyInfo::key | ( | ) | const |
std::string LiquidSFZ::KeyInfo::label | ( | ) | const |
Some .sfz files assign labels to some of the keys; if no label is available this function will return "".