ardour
|
#include <instrument_info.h>
Public Member Functions | |
InstrumentInfo () | |
~InstrumentInfo () | |
void | set_external_instrument (const std::string &model, const std::string &mode) |
void | set_internal_instrument (boost::shared_ptr< ARDOUR::Processor >) |
std::string | get_patch_name (uint16_t bank, uint8_t program, uint8_t channel) const |
std::string | get_controller_name (Evoral::Parameter param) const |
std::string | get_instrument_name () const |
boost::shared_ptr < MIDI::Name::ChannelNameSet > | get_patches (uint8_t channel) |
Static Public Member Functions | |
static const MIDI::Name::PatchNameList & | general_midi_patches () |
Public Attributes | |
PBD::Signal0< void > | Changed |
Private Member Functions | |
boost::shared_ptr < MIDI::Name::ChannelNameSet > | plugin_programs_to_channel_name_set (boost::shared_ptr< Processor > p) |
std::string | get_plugin_patch_name (boost::shared_ptr< ARDOUR::Processor >, uint16_t bank, uint8_t program, uint8_t channel) const |
Private Attributes | |
std::string | external_instrument_model |
std::string | external_instrument_mode |
boost::weak_ptr < ARDOUR::Processor > | internal_instrument |
Static Private Attributes | |
static MIDI::Name::PatchNameList | _gm_patches |
Definition at line 46 of file instrument_info.h.
InstrumentInfo::InstrumentInfo | ( | ) |
Definition at line 40 of file instrument_info.cc.
InstrumentInfo::~InstrumentInfo | ( | ) |
Definition at line 45 of file instrument_info.cc.
|
static |
Definition at line 208 of file instrument_info.cc.
string InstrumentInfo::get_controller_name | ( | Evoral::Parameter | param | ) | const |
Definition at line 108 of file instrument_info.cc.
string InstrumentInfo::get_instrument_name | ( | ) | const |
Definition at line 68 of file instrument_info.cc.
string InstrumentInfo::get_patch_name | ( | uint16_t | bank, |
uint8_t | program, | ||
uint8_t | channel | ||
) | const |
Definition at line 83 of file instrument_info.cc.
boost::shared_ptr< MIDI::Name::ChannelNameSet > InstrumentInfo::get_patches | ( | uint8_t | channel | ) |
Definition at line 139 of file instrument_info.cc.
|
private |
Definition at line 220 of file instrument_info.cc.
|
private |
Definition at line 157 of file instrument_info.cc.
void InstrumentInfo::set_external_instrument | ( | const std::string & | model, |
const std::string & | mode | ||
) |
Definition at line 50 of file instrument_info.cc.
void InstrumentInfo::set_internal_instrument | ( | boost::shared_ptr< ARDOUR::Processor > | p | ) |
Definition at line 59 of file instrument_info.cc.
|
staticprivate |
Definition at line 73 of file instrument_info.h.
PBD::Signal0<void> ARDOUR::InstrumentInfo::Changed |
Definition at line 60 of file instrument_info.h.
|
private |
Definition at line 66 of file instrument_info.h.
|
private |
Definition at line 65 of file instrument_info.h.
|
private |
Definition at line 68 of file instrument_info.h.