#include <ControlsModel.h>
|
double | ControllerToPlugin (rsj::MidiMessage mm, bool wrap) |
|
int | GetCcMax (int channel, int controlnumber) const |
|
rsj::CCmethod | GetCcMethod (int channel, int controlnumber) const |
|
rsj::CCmethod | GetCcMethod (rsj::MidiMessageId msg_id) const |
|
int | GetCcMin (int channel, int controlnumber) const |
|
int | GetPwMax (int channel) const |
|
int | GetPwMin (int channel) const |
|
int | MeasureChange (rsj::MessageType controltype, int channel, int controlnumber, int value) |
|
int | MeasureChange (rsj::MidiMessage mm) |
|
int | PluginToController (rsj::MidiMessageId msg_id, double value) |
|
void | SetCc (int channel, int controlnumber, int min, int max, rsj::CCmethod controltype) |
|
void | SetCcAll (int channel, int controlnumber, int min, int max, rsj::CCmethod controltype) |
|
void | SetCcMax (int channel, int controlnumber, int value) |
|
void | SetCcMethod (int channel, int controlnumber, rsj::CCmethod value) |
|
void | SetCcMin (int channel, int controlnumber, int value) |
|
void | SetPwMax (int channel, int value) |
|
void | SetPwMin (int channel, int value) |
|
int | SetToCenter (rsj::MidiMessageId mm) |
|
|
template<class Archive > |
void | serialize (Archive &archive, const uint32_t version) |
|
◆ ControllerToPlugin()
226 {
229 }
std::array< ChannelModel, 16 > all_controls_
Definition ControlsModel.h:325
int control_number
Definition MidiUtilities.h:126
int channel
Definition MidiUtilities.h:125
MessageType message_type_byte
Definition MidiUtilities.h:124
int value
Definition MidiUtilities.h:127
◆ GetCcMax()
int ControlsModel::GetCcMax |
( |
int |
channel, |
|
|
int |
controlnumber |
|
) |
| const |
|
inline |
◆ GetCcMethod() [1/2]
rsj::CCmethod ControlsModel::GetCcMethod |
( |
int |
channel, |
|
|
int |
controlnumber |
|
) |
| const |
|
inline |
◆ GetCcMethod() [2/2]
250 {
251
254 }
int channel
Definition MidiUtilities.h:146
int control_number
Definition MidiUtilities.h:147
◆ GetCcMin()
int ControlsModel::GetCcMin |
( |
int |
channel, |
|
|
int |
controlnumber |
|
) |
| const |
|
inline |
◆ GetPwMax()
int ControlsModel::GetPwMax |
( |
int |
channel | ) |
const |
|
inline |
◆ GetPwMin()
int ControlsModel::GetPwMin |
( |
int |
channel | ) |
const |
|
inline |
◆ MeasureChange() [1/2]
int ControlsModel::MeasureChange |
( |
rsj::MessageType |
controltype, |
|
|
int |
channel, |
|
|
int |
controlnumber, |
|
|
int |
value |
|
) |
| |
|
inline |
278 {
279 return all_controls_.at(channel).MeasureChange(controltype, controlnumber, value);
280 }
◆ MeasureChange() [2/2]
◆ PluginToController()
271 {
272
275 }
MessageType msg_id_type
Definition MidiUtilities.h:148
◆ serialize()
template<class Archive >
void ControlsModel::serialize |
( |
Archive & |
archive, |
|
|
const uint32_t |
version |
|
) |
| |
|
inlineprivate |
315 {
316 try {
318 }
319 catch (const std::exception& e) {
321 throw;
322 }
323 }
void ExceptionResponse(gsl::czstring id, gsl::czstring fu, const std::exception &e) noexcept
◆ SetCc()
void ControlsModel::SetCc |
( |
int |
channel, |
|
|
int |
controlnumber, |
|
|
int |
min, |
|
|
int |
max, |
|
|
rsj::CCmethod |
controltype |
|
) |
| |
|
inline |
283 {
284 all_controls_.at(channel).SetCc(controlnumber, min, max, controltype);
285 }
◆ SetCcAll()
void ControlsModel::SetCcAll |
( |
int |
channel, |
|
|
int |
controlnumber, |
|
|
int |
min, |
|
|
int |
max, |
|
|
rsj::CCmethod |
controltype |
|
) |
| |
|
inline |
288 {
289 all_controls_.at(channel).SetCcAll(controlnumber, min, max, controltype);
290 }
◆ SetCcMax()
void ControlsModel::SetCcMax |
( |
int |
channel, |
|
|
int |
controlnumber, |
|
|
int |
value |
|
) |
| |
|
inline |
◆ SetCcMethod()
void ControlsModel::SetCcMethod |
( |
int |
channel, |
|
|
int |
controlnumber, |
|
|
rsj::CCmethod |
value |
|
) |
| |
|
inline |
◆ SetCcMin()
void ControlsModel::SetCcMin |
( |
int |
channel, |
|
|
int |
controlnumber, |
|
|
int |
value |
|
) |
| |
|
inline |
◆ SetPwMax()
void ControlsModel::SetPwMax |
( |
int |
channel, |
|
|
int |
value |
|
) |
| |
|
inline |
◆ SetPwMin()
void ControlsModel::SetPwMin |
( |
int |
channel, |
|
|
int |
value |
|
) |
| |
|
inline |
◆ SetToCenter()
◆ cereal::access
friend class cereal::access |
|
friend |
◆ all_controls_
The documentation for this class was generated from the following file: