rework tempo editing

Multimedia / Ardour - nick_m [gmail.com] - 27 February 2017 14:16 UTC

most changes are due to a new design where tempo discontinuities at the beginning of a ramped section may be set. this allows easier mapping of live performance, especially in the common case of a ramped ritard before the beginning of a new section.

feature summary:

holding constraint modifier (shift) while dragging the BBT ruler area drags the tempo lines by changing the start tempo (as before)

holding copy modifier (control) while dragging the BBT ruler area drags the tempo lines by changing the end tempo (ahem. not quite there)

dragging a tempo mark while holding constraint (shift) will change the previous end tempo to match the marker position *worth trying*.

holding constraint and copy modifier (control + shift) while dragging the BBT ruler area attempts to'pinch' or twist the surrounding tempi sp that later ones are not repositioned (currently suffereng from rounding errors)

ccb51a8 rework tempo editing.
gtk2_ardour/editor_canvas_events.cc | 53 +++-
gtk2_ardour/editor_drag.cc | 228 +++++++++++++-
gtk2_ardour/editor_drag.h | 59 +++-
gtk2_ardour/editor_markers.cc | 4 +-
gtk2_ardour/editor_mouse.cc | 4 +
gtk2_ardour/editor_ops.cc | 6 +-
gtk2_ardour/editor_tempodisplay.cc | 20 +-
gtk2_ardour/tempo_curve.cc | 2 +-
libs/ardour/ardour/tempo.h | 33 ++-
libs/ardour/luabindings.cc | 2 +-
libs/ardour/tempo.cc | 573 ++++++++++++++++++++++++++++--------
11 files changed, 820 insertions(+), 164 deletions(-)

  • Share