fundamentally alter how we compute frames_per_beat(). this follows much discussion...
authorPaul Davis <paul@linuxaudiosystems.com>
Mon, 12 Dec 2011 14:00:44 +0000 (14:00 +0000)
committerPaul Davis <paul@linuxaudiosystems.com>
Mon, 12 Dec 2011 14:00:44 +0000 (14:00 +0000)
commit4a0c798242dec33e83eb4f5bfad728c1b7c1053d
tree09875ce19dac9c5f5533b5f282f89c6147a40b16
parenta107b95307658af9f881e453362c1388ffac2463
fundamentally alter how we compute frames_per_beat(). this follows much discussion on IRC. fundamentally, tempo and ONLY tempo affects the computation of frames_per_beat(), meter has no effect at all. However, following typical DAW conventions, we continue to want the "grid" to show metric divisions, not fixed beats, so add a new method (Meter::frames_per_division()) that retains the old math which takes meter into account. This commit will alter the behaviour of MIDI notes in any session with multiple time signatures. They will likely break. Unfortunately, there is no alternative to this breakage at this time.

git-svn-id: svn://localhost/ardour2/branches/3.0@10988 d708f5d6-7413-0410-9779-e7cbd77b26cf
libs/ardour/ardour/tempo.h
libs/ardour/tempo.cc