]> git.donarmstrong.com Git - lilypond.git/commit
Add support for tempo ranges
authorValentin Villenave <valentin@villenave.net>
Tue, 30 Nov 2010 20:24:40 +0000 (21:24 +0100)
committerValentin Villenave <valentin@villenave.net>
Tue, 30 Nov 2010 20:24:40 +0000 (21:24 +0100)
commitbbd36fb0cb6b2d8249cbe628470c736747c330d0
treea94347d5cf5c3aebc0c2d792e6ac49618b0ad7a4
parente2a16404c77e5baea0b9ec33230b859b5229a97a
Add support for tempo ranges

This commit
 - extends the parser to accept the following syntax:
     \tempo numA ~ numB
 - changes the 'tempoUnitCount property to accept either
a number or a pair (in which case tempoWholesPerMinutes
will be set by averaging the two numbers)
 - adapts the format-metronome-markup translation function
to print the tempo range properly
 - adds a metronome-range.ly regtest
 - adds relevant display-lily methods, and updates this
regtest as well.
input/regression/display-lily-tests.ly
input/regression/metronome-range.ly [new file with mode: 0644]
lily/metronome-engraver.cc
lily/parser.yy
scm/c++.scm
scm/define-context-properties.scm
scm/define-music-display-methods.scm
scm/lily.scm
scm/ly-syntax-constructors.scm
scm/song.scm
scm/translation-functions.scm