13
0
Commit Graph

25060 Commits

Author SHA1 Message Date
183351f333 Add touch-events signal emission to ArdourKnob 2017-07-23 19:40:20 +02:00
05ddcdc004 Initialize some uninitialized variables
Editor::redisplay_tempo() is called early on, before
Editor::set_timecode_ruler_scale() and Editor::compute_bbt_ruler_scale ()
are called.  That is a bug which needs fixing (initial tempo+grid display)
. Still, uninitialized vars are not good.
2017-07-23 19:20:35 +02:00
1508838bde OSC: add /use_group 1/0 command 2017-07-22 12:12:41 -07:00
b42dbe9e4e Sanitize printing of a-eq gain parameters 2017-07-22 17:41:35 +02:00
YQ-YSY
f1ce28b6d9 Update zh.po for v5.10 Chinese Language 2017-07-22 15:52:15 +02:00
c21345fc93 NO-OP: whitespace 2017-07-22 15:41:08 +02:00
24829c93b8 AutomationWatch: single DropReferences connection per AC 2017-07-22 15:40:27 +02:00
48ec6dd5c4 NO-OP: whitespace 2017-07-22 15:17:09 +02:00
fba2c2467d Fix Route mute automation touch (owned control) 2017-07-22 15:16:54 +02:00
24e92c1861 NO-OP: consistent [internal] API name for Automatables 2017-07-22 04:45:48 +02:00
f756dc69f4 NO-OP: Consistent API name 2017-07-22 04:25:07 +02:00
038c391d55 More non-rt calls to VCA - fixes VCA automation writing
This calls for a unified API to invoke
Automatable methods  ::transport_located() and ::transport_stopped()
on Stripables,  rather than indirectly calling it via
Route::non_realtime_locate(), Route::nonrealtime_handle_transport_stopped()
2017-07-21 23:07:51 +02:00
ce48dfdeba Hide VTAV header controls for small height 2017-07-21 21:48:20 +02:00
243cd35a36 Fix VCA Automation: end write pass 2017-07-21 21:48:20 +02:00
36f70d2bc2 Main Menu: some re-organization of session- and global-centric windows. 2017-07-21 14:44:37 -05:00
addcca9ff3 Fix recursion in FloatinTextEntry (amend f62c8c664d) 2017-07-21 18:58:51 +02:00
nick_m
886f4e6bc8 TempoMap legacy session loading fixes
Ensure we set the last tempo end note types per minute.
Clarify that we only set the end ntpm if unset.
2017-07-22 02:15:20 +10:00
nick_m
e4e3c10a90 Fis stray break statement when checking for a legacy tempo map
This could result in legacy sessions not being identified correctly and
loading with end tempi of -1.0.
2017-07-22 02:15:20 +10:00
nick_m
2925fd52e5 Rework tempo marker editing menu functions
Setting a tempo to 'Continue' via right click puts it in a permanent state
of continuing the previous section's end tempo (basically what
'Lock Continue' should have been). This can be disabled (unlocked) by
selecting 'Don't Continue'.

Remove the previous temporary 'Continue' function.

Reorganise menu to separate position lock style from more commonly
used functions.
2017-07-22 02:15:20 +10:00
nick_m
1c51435fa3 Calculate clamped tempo stretch ratios using the correct (musical) domain 2017-07-22 02:15:20 +10:00
nick_m
90547112e2 TempoMap : Remove old solve_map debugging code 2017-07-22 02:15:20 +10:00
nick_m
bb71a31b0c Move some duplicated replace/add tempo section code
Resets the previous tempo section's end ntpm to match the start
of a new section whenever a section is added to the map.
2017-07-22 02:15:20 +10:00
nick_m
1399ef391d Remove redundant beat arg from TempoMap::add_meter
BBT time should be enough to determine the beat.
2017-07-22 02:15:20 +10:00
nick_m
c03da364ad Fix incorrect double-snap when moving audio-locked tempi 2017-07-22 02:15:20 +10:00
nick_m
515cdb6b32 Rework region selection XML
Ensures that selection is restored in the same object type order
it was created in, which may some day make a difference.
2017-07-22 02:15:20 +10:00
nick_m
1d8548306b Cropping a single region to time selection works for multiple ranges
Should fix 7285.
2017-07-22 02:15:20 +10:00
nick_m
6e5c046f90 Fix time selection undo for multiple time selections
This is in mantis somewhere but i can't find it. timbyr?
2017-07-22 02:15:20 +10:00
nick_m
cadb5c481c Disable tempo end/twist drag for meter-locked tempi
It was assumed that the drag takes place within an area of musical time.
This is not true for the space before any non-initial
meter-locked tempo.
In the case of the initial tempo, there is no previous section
to perform an end-drag on.
2017-07-22 02:15:20 +10:00
nick_m
0d9c4986e9 Only add a new tempo or meter on click if the primary modifier is pressed
Being able to add with any modifier can confuse a user who expected
a tempo-altering drag.
2017-07-22 02:15:20 +10:00
nick_m
2bec17ca1a Remove duplicated tempo curve colour change when dragging 2017-07-22 02:15:20 +10:00
nick_m
d94c630134 Fix various issues wrt BBTRulerDrag
If we've clicked on a tempo bar before the initial tempo,
don't allow anything to happen.
If it was just a click, ensure the tempo curve colour is restored.
2017-07-22 02:15:20 +10:00
nick_m
b0a306f9d0 Check for identical meter positions in old sessions by beat rather than pulse 2017-07-22 02:15:20 +10:00
nick_m
33c06fd3ca Indicate musical position lock style of regions and locations using BEAMED EIGHTH NOTES in name
Also attempt to indicate lock type with symbols CROSS OF JERUSALEM and
LEFTWARDS ARROW TO BAR OVER RIGHTWARDS ARROW TO BAR
2017-07-22 02:15:20 +10:00
nick_m
29e580a249 Time info box updates its length display correctly over a tempo change 2017-07-22 02:15:20 +10:00
nick_m
fb761a6fa7 Rework time info box updates on region selection change
Should provide better performance as we now only listen for changes in the
selected regions. Testing every changed region to see if its in
the selection was not working very well under some circumstances.
2017-07-22 02:15:20 +10:00
nick_m
d1932b23b3 Call Editor::abort_reversible_command() in MidiRegionView::abort_command()
Fixes broken undo stack if no changes occurred.
Edit note dialog is currently the only user.
2017-07-22 02:15:20 +10:00
nick_m
e82e30992d Remove double-nested reversible command when note editing 2017-07-22 02:15:20 +10:00
nick_m
964100e911 Fix both note length setting and display in EditNoteDialog
Length clock uses region relative time converter with offset to display
correct value over tempo changes.
Fix note length setting by using source time converter on a sample duration
based on a session-relative offset.
2017-07-22 02:15:20 +10:00
nick_m
c54978bd5c Add missing braces to Editor::cut_copy conditional 2017-07-22 02:15:20 +10:00
nick_m
c9617b4b16 Editor::playhead_forward/backward_to_grid snaps even in magnetic mode 2017-07-22 02:15:20 +10:00
8af27a7a2e OSC make all group dispositions the same 2017-07-21 08:22:02 -07:00
Johannes Mueller
0109042e7b Increase range of a-comp#stereo release time
Like for the mono version in f52443e17e
2017-07-21 16:11:17 +02:00
3d50563620 Properly propagate TAV TimeSelection 2017-07-21 15:49:28 +02:00
8400ebd175 Amend c242cbc318 (VCA automation button) 2017-07-21 13:01:43 +02:00
c242cbc318 Add automation button to VCA strip 2017-07-21 02:10:29 +02:00
d977cc3238 Non-layered MIDI recording
This does not merge MIDI data, but trims MIDI regions at rec-stop like
non-layered audio-recording does.
2017-07-21 00:39:22 +02:00
f62c8c664d Fix crash when renaming track to an invalid name
If the "Sorry I cannot do that" dialog is displayed from
FloatingTextEntry::use_text(), the entry is still visible and accepts
[focus] events. Also the dialog returns focus and multiple
idle_delete_self() will be called for an Entry that's already being
deleted.
2017-07-20 23:41:39 +02:00
Johannes Mueller
2f66899222 Equivalent fix for #7429 for the mixer
The previous commit addressed only the behavior of clicking a route in the
editor window. Now we handle the same issue in the mixer window.
2017-07-20 15:05:07 -04:00
Johannes Mueller
741c7229c7 Select the clicked route in the current mixer strip (fixes #7429)
Issue #7429 reports that that clicking a route of an already selected group
does not update the editor mixer strip selection. To fix this we call
Editor::set_selected_mixer_strip() at the end of
RouteTimeAxisView::selection_click();

The overhead of maybe calling it twice should be toleratable, as
::set_selected_mixer_strip() checks, if the route is already the current mixer
strip route before setting it.
2017-07-20 15:05:07 -04:00
611a150dfb Editor Summary: Don't require user to re-click to scroll + zoom.
* Use conventions similar to those used in CursorDrag.
2017-07-20 14:15:40 -05:00