mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-11 09:06:33 +01:00
Bring back control slider on MIDI controller "tracks".
This commit is contained in:
parent
885f1c71ec
commit
b469cd217f
1 changed files with 10 additions and 4 deletions
|
|
@ -1318,6 +1318,8 @@ MidiTimeAxisView::create_automation_child (const Evoral::Parameter& param, bool
|
||||||
}
|
}
|
||||||
|
|
||||||
boost::shared_ptr<AutomationTimeAxisView> track;
|
boost::shared_ptr<AutomationTimeAxisView> track;
|
||||||
|
boost::shared_ptr<AutomationControl> control;
|
||||||
|
|
||||||
|
|
||||||
switch (param.type()) {
|
switch (param.type()) {
|
||||||
|
|
||||||
|
|
@ -1340,15 +1342,19 @@ MidiTimeAxisView::create_automation_child (const Evoral::Parameter& param, bool
|
||||||
case MidiSystemExclusiveAutomation:
|
case MidiSystemExclusiveAutomation:
|
||||||
/* These controllers are region "automation" - they are owned
|
/* These controllers are region "automation" - they are owned
|
||||||
* by regions (and their MidiModels), not by the track. As a
|
* by regions (and their MidiModels), not by the track. As a
|
||||||
* result we do not create an AutomationList/Line for the track
|
* result there is no AutomationList/Line for the track, but we create
|
||||||
* ... except here we are doing something!! XXX
|
* a controller for the user to write immediate events, so the editor
|
||||||
|
* can act as a control surface for the present MIDI controllers.
|
||||||
|
*
|
||||||
|
* TODO: Record manipulation of the controller to regions?
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
control = _route->automation_control(param, true);
|
||||||
track.reset (new AutomationTimeAxisView (
|
track.reset (new AutomationTimeAxisView (
|
||||||
_session,
|
_session,
|
||||||
_route,
|
_route,
|
||||||
boost::shared_ptr<Automatable> (),
|
control ? _route : boost::shared_ptr<Automatable> (),
|
||||||
boost::shared_ptr<AutomationControl> (),
|
control,
|
||||||
param,
|
param,
|
||||||
_editor,
|
_editor,
|
||||||
*this,
|
*this,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue