Interpret tempo time based on read position (not source timeline position which is...
authorDavid Robillard <d@drobilla.net>
Thu, 19 Feb 2009 04:12:54 +0000 (04:12 +0000)
committerDavid Robillard <d@drobilla.net>
Thu, 19 Feb 2009 04:12:54 +0000 (04:12 +0000)
commit0f71728a925eb8f16c14c74f0dae9fdd53406a20
tree01e056fde9fdcbe90c9bccdc03dce57b4bc043f9
parent8f572c3d3f79a86e6b86ccb71f9bee772e6fe738
Interpret tempo time based on read position (not source timeline position which is more or less meaningless).
Move time conversion into the region view rather than the source.
Adapt MIDI (including controllers) regions to the destination tempo when moved (e.g. dragging a region to a location with half the tempo will make the notes twice as long).

git-svn-id: svn://localhost/ardour2/branches/3.0@4635 d708f5d6-7413-0410-9779-e7cbd77b26cf
12 files changed:
gtk2_ardour/automation_region_view.cc
gtk2_ardour/midi_region_view.cc
gtk2_ardour/region_view.cc
gtk2_ardour/region_view.h
libs/ardour/ardour/midi_source.h
libs/ardour/ardour/smf_source.h
libs/ardour/ardour/source.h
libs/ardour/import.cc
libs/ardour/midi_diskstream.cc
libs/ardour/midi_region.cc
libs/ardour/midi_source.cc
libs/ardour/smf_source.cc