describe velocity parameter and implement velocity control
This commit is contained in:
@@ -76,7 +76,7 @@ public:
|
||||
void midi_panic(void);
|
||||
bool write_immediate_event (Evoral::EventType event_type, size_t size, const uint8_t* buf);
|
||||
|
||||
boost::shared_ptr<VelocityControl> velocity_control() const;
|
||||
boost::shared_ptr<VelocityControl> velocity_control() const { return _velocity_control; }
|
||||
|
||||
/** A control that will send "immediate" events to a MIDI track when twiddled */
|
||||
struct MidiControl : public AutomationControl {
|
||||
|
||||
@@ -209,6 +209,8 @@ Automatable::describe_parameter (Evoral::Parameter param)
|
||||
return _("Elevation");
|
||||
} else if (param.type() == PhaseAutomation) {
|
||||
return _("Polarity Invert");
|
||||
} else if (param.type() == MidiVelocityAutomation) {
|
||||
return string_compose("Velocity [%1]", int(param.channel()) + 1);
|
||||
} else if (param.type() == MidiCCAutomation) {
|
||||
return string_compose("Controller %1 [%2]", param.id(), int(param.channel()) + 1);
|
||||
} else if (param.type() == MidiPgmChangeAutomation) {
|
||||
|
||||
Reference in New Issue
Block a user