nick_m
e9deb82ef6
only update MidiRegion length_beats in partial copy ctor if there is an offset.
2016-12-13 04:36:07 +11:00
nick_m
44e8181c36
only set the exact musical position of the primary region for move/copy drag.
2016-12-13 04:33:58 +11:00
nick_m
a4d8cc2e04
only recalculate MidiRegion start_beats if there is an offset in the 'part-of' ctor.
...
- when drag-copying MIDI regions, a partial region ctor is used
which can lead to _start_beats being off by a sample.
this in turn leads to 7168 happening, but only if magnetic snap
is used and the regions are copied as a group.
this should fix 7168, but the magnetic snap part is not yet addressed.
2016-12-13 02:15:34 +11:00
f22d852d8c
Towards making tape-tracks work again..
2016-12-12 03:20:29 +01:00
d3803c54de
Fix a potential deadlock/crash (here tape-track peak-file)
...
read_peaks_with_fpp() already holds _lock, build_peaks_from_scratch()
takes the _lock again.
Depending on glib[mm] and the threading lib it may either result in a
deadlock, or with EDEADLK in undefined behavior when a
non-recursive lock is released twice.
2016-12-12 03:13:16 +01:00
b52bf1a42c
Fix potential deadlock on session-load
2016-12-12 00:09:38 +01:00
nick_m
e4d6e4a87f
disallow placement of audio-locked tempi within a frame of any other.
2016-12-12 02:37:26 +11:00
nick_m
9c5e1ffb0d
sort tempo curves initially as well.
2016-12-12 02:07:00 +11:00
nick_m
9598f2a811
fix loop/crash when dragging an audio-locked tempo over a music-locked one while snapped to grid.
2016-12-12 02:07:00 +11:00
nick_m
0d7b298fbe
no-op - rename TempoMap::set_active_tempos -> TempoMap::set_active_tempi
2016-12-12 02:07:00 +11:00
nick_m
4d625d35b6
clean up some odd logic.
2016-12-12 02:07:00 +11:00
nick_m
782b28a1a8
amend previous commit
2016-12-12 02:07:00 +11:00
nick_m
34e41a3ca6
rename MetricSection movable -> initial, but of course initial is !movable..
2016-12-12 02:07:00 +11:00
0c54e56f96
Add support for MacVST hidden/favorites
2016-12-11 15:52:56 +01:00
2481db7a7f
Add a small tool to experiment with libcanvas
2016-12-11 15:52:56 +01:00
nick_m
165645495c
there is no need to do a full set_colors() in MidiGhostRegion ctor.
2016-12-11 23:57:50 +11:00
nick_m
22f17a3007
tempo curve fiddling.
2016-12-11 23:55:13 +11:00
nick_m
c3ab67ddb6
go back to always interpolating framed curve points.
2016-12-11 23:54:03 +11:00
nick_m
00eef2e000
make TempoMap::dump slightly more readable.
2016-12-11 23:51:00 +11:00
nick_m
d8cabc67d9
fix incorrect audio-locked tempo position when setting bbt via tempo dialog.
2016-12-11 23:49:02 +11:00
nick_m
dbbe65777f
fix flickering in tempo curve when markers are reordered.
2016-12-11 23:46:49 +11:00
nick_m
b830ad3d66
constify TempoCurve::tempo().
2016-12-11 23:44:25 +11:00
nick_m
08cec2350e
fix bar renumbering for audio-locked metrum.
2016-12-11 23:42:26 +11:00
3cfd48f48d
fix typo in 914224f
2016-12-11 04:36:29 +01:00
cdbf49b873
Revert "Pixel hunt cairo-packer (status-bar, selection-clock border)"
...
This reverts commit 6015481377
.
2016-12-11 02:19:10 +01:00
6015481377
Pixel hunt cairo-packer (status-bar, selection-clock border)
2016-12-11 01:32:27 +01:00
39903a0023
Check for reserved i/o that are not routes, fixes #7171
2016-12-11 00:04:08 +01:00
642b357376
CairoPacker draws outside of its widget allocation
...
This fixes fixes TimeInfoBox packing when the InfoBox position changes.
2016-12-10 21:30:33 +01:00
914224f808
Add editor actions to set tempo and meter
2016-12-10 21:30:30 +01:00
1468e270de
Tweak transport icons
2016-12-10 15:56:47 +01:00
cc6f8cf321
Black selection & punch clock bg
2016-12-10 15:54:52 +01:00
1479e2d772
Fix video-monitor "sync-source" changes
2016-12-10 15:54:47 +01:00
b552ed886f
Add support for Pango Markup to ArdourButton
2016-12-10 15:54:41 +01:00
6a429cfb7c
Consistent ArdourButton sizing for elements with LED
2016-12-10 15:54:37 +01:00
e97404c5de
Speed up recent-session display with lots of snapshots.
...
Given that a session can easily have >100 snapshots and one cannot change
the sample-rate anymore, it's mostly useless to parse them all.
2016-12-08 20:33:26 +01:00
61693a318a
Add LIBPBD_API to a function declaration
...
The new specialisation for ConfigVariable<float>::set_from_string() needs to be exportable (it gets used somehow by ARDOUR::SessionConfiguration).
If adding LIBPBD_API causes a problem for gcc, we could change it to LIBPBD_TEMPLATE_MEMBER_API
2016-12-08 17:29:49 +00:00
3242bbd84c
Add some doc/comments to the timecode example script
2016-12-08 15:42:11 +01:00
3fe99b0c7c
remove dups.
2016-12-08 15:41:21 +01:00
975f959adb
For building with MSVC, std::strtof() didn't get introduced until VS2013
...
(use std::strtod() in earlier versions)
2016-12-08 13:57:23 +00:00
f04c1ca4db
I can't find a source file called MIDIXML.cpp (??)
2016-12-08 13:55:11 +00:00
4992ed1211
Add missing enum bindings
2016-12-08 13:21:00 +01:00
462deb3544
Add timecode example script
2016-12-08 12:45:44 +01:00
61c7af141d
Clarify "frames" (video, timecode) vs "samples" (audio)
2016-12-08 12:45:44 +01:00
f05f19bdd4
add Lua bindings for Timecode conversion
2016-12-08 12:45:44 +01:00
3d925ef503
braces, please
2016-12-08 10:49:26 +00:00
e1ca4b2887
Speed up recent session display (for many large sessions)
...
- don't parse XML into XMLTree
- only read the file, extract relevant elements
- don't read session-template contents, only test file
2016-12-08 10:36:12 +01:00
9a46d593cb
a-fluidsynth process events even when no sf2 is loaded.
...
Keep track of program-changes, re-apply Bank/PGM once the
soundfont is loaded. fluidsynth itself keeps track of CCs.
2016-12-07 19:48:52 +01:00
bb30d92814
amend 581c7b6
-Wparentheses
2016-12-07 19:47:29 +01:00
295562dd52
Save/Restore MIDI Automation Controls (current CC, PGM)
2016-12-07 19:47:04 +01:00
d766095732
Further tweaks to EngineDialog z-axis stacking
...
When there's no main window (initial setup, no transient parent),
preset a normal window listed in the task-bar.
The duality the Engine Dialog being used as Ardour-WM managed non-modal
Window (Menu > A/M Setup) and modal Dialog (AudioEngineSetupRequired)
complicates this a bit.
2016-12-07 14:50:17 +01:00