summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornick_m <mainsbridge@gmail.com>2016-04-19 23:24:55 +1000
committernick_m <mainsbridge@gmail.com>2016-05-27 23:38:15 +1000
commit54758ddd4a339b5d2e2e8bedfb4187f2f98ce51c (patch)
treeb1f4fcf4af681a0df49d89e96cd52c0348b8f2e7
parent29e0b2e5bfa0b1d107ee5644bddea06aa9cdaf8a (diff)
Tempo ramps - make documentation more confusing.
-rw-r--r--libs/ardour/tempo.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/libs/ardour/tempo.cc b/libs/ardour/tempo.cc
index b37d5efb93..c9176847c9 100644
--- a/libs/ardour/tempo.cc
+++ b/libs/ardour/tempo.cc
@@ -328,6 +328,13 @@ t = b log (Ta / T0) / (T0 (e^(log (Ta / T0)) - 1))
By substituting our expanded t as a in the c function above, our problem is reduced to:
c = T0 (e^(log (Ta / T0)) - 1) / b
+Of course the word 'beat' has been left loosely defined above.
+In music, a beat is defined by the musical pulse (which comes from the tempo)
+and the meter in use at a particular time (how many pulse divisions there are in one bar).
+It would be more accurate to substitute the work 'pulse' for 'beat' above.
+
+Anyway ...
+
We can now store c for future time calculations.
If the following tempo section (the one that defines c in conjunction with this one)
is changed or moved, c is no longer valid.