Tempo ramps - remove the concept of bars from tempo sections.
authornick_m <mainsbridge@gmail.com>
Sun, 27 Dec 2015 18:33:04 +0000 (05:33 +1100)
committernick_m <mainsbridge@gmail.com>
Fri, 27 May 2016 13:38:09 +0000 (23:38 +1000)
commit5c6e18e6a087823e4a3719177c92238b206e3aeb
tree25f7faefa65e630e68da70bf4378b825e7c29312
parent41c8b534b70e220b4d4b940aed8a98d9a57003ab
Tempo ramps - remove the concept of bars from tempo sections.

- this helps where tempo and meter have a somewhat circular
  dependency.

MetricSection now has a musical position expressed in beats (a double).
MeterSection still has a bbt, but it really isn't needed as we have
enough information to discover the number of bars at a given beat without it.
TempoSection now has a hack to enable loading of legacy sessions, which will
ultimately be a lot cleaner than the current code.

Removing bars from tempo sections also allows us to place them
at arbitrary frames (implemented here).
gtk2_ardour/editor_drag.cc
gtk2_ardour/editor_ops.cc
gtk2_ardour/editor_tempodisplay.cc
libs/ardour/ardour/tempo.h
libs/ardour/tempo.cc
libs/ardour/test/bbt_test.cc
libs/ardour/test/framepos_minus_beats_test.cc
libs/ardour/test/framepos_plus_beats_test.cc
libs/ardour/test/framewalk_to_beats_test.cc
libs/ardour/test/midi_clock_slave_test.h
libs/ardour/test/tempo_test.cc