Commit graph

18945 commits

Author SHA1 Message Date
Ben Loftis
893b51bda2 Center the playhead for stationary_playhead playback.
This avoids a visual discontinuity when playback is initiated after a jog-event.
2016-01-28 13:46:33 -06:00
Tim Mayberry
aedde11862 Initialize Editor::clicked_selection to prevent programming error dialog/exit
This was triggered when reloading session and immediately duplicating range with
keyboard shortcut. As clicked_selection was uninitialized it would try to use
an invalid index into the TimeSelection.
2016-01-28 13:42:37 +10:00
Tim Mayberry
45e8bda65f Change duplicate range to use time range/s rather than a single region
This should fix bugs #4980, #4984, #4986 and #6579
2016-01-28 12:25:16 +10:00
Tim Mayberry
e6a33b818f Add Playlist::duplicate_range/s utility methods 2016-01-28 12:25:16 +10:00
Paul Davis
420206705d mackie: fix subview mode logic 2016-01-27 19:05:47 -05:00
Paul Davis
e63c805fe2 mackie: clean up (some) interactions between subview mode and selection
Also, stop Plugin button from doing anything, since it has nothing to do yet
2016-01-27 19:00:27 -05:00
Robin Gareus
d121e6bf15 Fix AU port-name encoding.
This allows us to revert ec8cf4e4, maybe. After testing if
port-names are still properly displayed.
2016-01-28 00:00:47 +01:00
Robin Gareus
ec8cf4e4f5 Fix µ-iness. 2016-01-27 23:39:35 +01:00
Robin Gareus
b985f87a77 Use proper UTF8 file-names during export. 2016-01-27 22:58:59 +01:00
Paul Davis
c61e5dbc18 remove debug output 2016-01-27 16:26:50 -05:00
Paul Davis
7513176501 monitor send does not count in Route::nth_send() 2016-01-27 16:26:41 -05:00
Paul Davis
66686a4e2a mackie: semi-working Sends subview mode 2016-01-27 14:15:41 -05:00
Paul Davis
8e585338e0 no need for multiple send level/enable parameter types 2016-01-27 14:15:34 -05:00
Paul Davis
9b2af90328 remove mackie send pot mode (subview mode for sends coming up) 2016-01-27 12:41:01 -05:00
Paul Davis
c9e85c91fe return relevant AutomationControl for send_level_controllable() in Ardour 2016-01-27 11:38:14 -05:00
Paul Davis
708d80029b make Route::nth_send() and Route::nth_processor() be const 2016-01-27 11:37:54 -05:00
Paul Davis
c79243c805 add stubs and enums to access "well-known" send controls 2016-01-27 11:16:22 -05:00
Ben Loftis
c01a4961b4 add Novation_LaunchKey25.map 2016-01-26 16:48:00 -06:00
Robin Gareus
d1c35636f0 satisfy some pedantic compilers, #6748 2016-01-26 15:14:55 +01:00
Paul Davis
bfbf260eaf when using InverseGroup for rec-enable, do not collect group members and pass them to a session RT event method 2016-01-25 22:10:43 -05:00
Paul Davis
c338057b7b NOOP: whitespace fixes 2016-01-25 22:08:47 -05:00
Paul Davis
5fd07fe3af when using InverseGroup for solo, do not collect group members and pass them to a session RT event method 2016-01-25 22:08:23 -05:00
Paul Davis
64e90886b5 fix/improve logic for InverseGroup
the route group is "inactive for predicate" if EITHER the
group itself is inactive, or the predicate returns false.
2016-01-25 22:07:36 -05:00
Paul Davis
7b6142ed99 when using InverseGroup, do not collect group members and pass them to a session RT event method 2016-01-25 22:06:41 -05:00
Paul Davis
90d12b6d5a faderport: add a few more sensible actions to the footswitch options 2016-01-25 15:11:47 -05:00
Paul Davis
b02b6cc3cd faderport: add footswitch combos to GUI to allow user control over what the switch does 2016-01-25 15:11:36 -05:00
Paul Davis
5b7fa0b3c5 faderport: add footswitch button 2016-01-25 15:11:26 -05:00
Paul Davis
2005891d40 use route gain control, not amp->gain() 2016-01-25 11:48:43 -05:00
Paul Davis
dd32c05cda GainMeter(Base) now has an explicit gain control given to it 2016-01-25 11:47:44 -05:00
Paul Davis
22a20c7333 change exposed type of various objects' gain controls; remove Amp::gain() as a shortcut 2016-01-25 11:47:21 -05:00
Tim Mayberry
452e39f8a3 Make horizontal scroll increment consistent in ruler and track canvas areas
In response to a comment in #6722, as there is little delineation between the
ruler and track canvas areas it makes sense to keep the scrolling step the same
to avoid unintended jumps in scrolling if mouse cursor moves between areas.
2016-01-25 17:44:22 +10:00
Robin Gareus
b6eab5ede5 deactivate plugin if connect_and_run returns an error 2016-01-24 03:22:19 +01:00
Robin Gareus
470255effa add wrapper for ChanMapping::get()
The boolean "valid" is implicit, get() returns -1 (really UINT32_MAX)
This simplifies upcoming lua bindings
2016-01-24 03:21:24 +01:00
Robert Schneider
9bcd01c0a1 Added midi map file for AKAI MPK MINI 2016-01-23 15:07:55 +01:00
Paul Davis
8dad6fa2d1 remove incorrect/out of date comment 2016-01-22 11:58:31 -05:00
Paul Davis
570eb73ff3 no reason to have group edit dialog be modal 2016-01-22 11:58:31 -05:00
Paul Davis
40aa65254a fix rebase issue from master 2016-01-22 11:58:31 -05:00
Paul Davis
23794eca5b rename Controllable::WholeGroup => InverseGroup to reflect real intent.
Add logic to RouteGroupMember::use_group() to implement the real intent of InverseGroup
2016-01-22 11:58:31 -05:00
Paul Davis
9e5b7db89f first compiling, mostly working version of group controls changes 2016-01-22 11:58:31 -05:00
Paul Davis
eee07ac351 NOOP: whitespace fixup 2016-01-22 11:58:16 -05:00
Paul Davis
0c9249604f when leaving an active automation state, update fader displays to show correct current value 2016-01-22 11:58:16 -05:00
John Emmas
01fd887b9e Modify our MSVC project to accommodate newly introduced source files (libardour) 2016-01-22 12:29:30 +00:00
John Emmas
79f0a92818 Add a link library that's now needed when building ardour_cp
Now needs 'Timecode::BBT_Time' (from Ardour's 'timecode' lib).
2016-01-22 12:28:01 +00:00
Tim Mayberry
f315c0910d Fix bug 6735, Take into account snap to when stretching regions in Editor 2016-01-21 14:07:49 +10:00
Tim Mayberry
ab292183dd Bug #6722, Add UI config option to always use mouse position as zoom focus on scroll
This means that mouse zoom scrolling behaviour is consistent on the ruler
canvas area and track canvas area.

The config option defaults to true so this means the behaviour of Mixbus will
be unchanged but in Ardour the ruler area will now follow the option so by
default will use the mouse position as zoom focus when zooming rather than the
zoom focus setting.
2016-01-21 11:25:56 +10:00
Tim Mayberry
6ba6cce799 Refactor code into Editor::temporal_zoom_step_mouse_focus method 2016-01-21 11:25:56 +10:00
Tim Mayberry
72bdfc38a8 Fix/implement #6292, Shift + scroll wheel Scrolling in the ruler area
Keep the same scrolling distance per event as when scroll left/right is used.

Scrolling in the ruler area is different than the track canvas area which I'm
not sure is a great idea as there is not much delineation between the two areas
but as the ruler area has some other different behaviour it is probably
acceptable/useful.
2016-01-21 11:25:56 +10:00
Tim Mayberry
2a13891970 Change scrolling in the Editor track canvas summary area
Keep scroll distance consistent when scrolling up and down with horizontal
modifier as when scrolling left to right.

Scroll horizonally by half a page so that no sections of the canvas are skipped
when scrolling.

Scroll by half a page rather than a step like when scrolling in the track
canvas area as it is a summary area so larger steps seem acceptable and having
it use the same scroll distance as when scrolling in the track canvas seems
pointless as you would then just scroll in the track canvas area.
2016-01-21 11:25:56 +10:00
Tim Mayberry
08cbe0532c Refactor scrolling in Editor ruler canvas area into two utility methods 2016-01-21 11:25:56 +10:00
Tim Mayberry
743e324c6a Remove goto in Editor::track_canvas_scroll 2016-01-21 11:25:56 +10:00