]> git.donarmstrong.com Git - lilypond.git/commit
Issue 3687 (part 1): Provide a compress MM function for MM rests only
authorTrevor Daniels <t.daniels@treda.co.uk>
Tue, 28 Apr 2015 22:50:31 +0000 (23:50 +0100)
committerTrevor Daniels <t.daniels@treda.co.uk>
Wed, 6 May 2015 16:46:41 +0000 (17:46 +0100)
commit689f63e0473f8325b63d6bba66f9a56335548303
tree47f3956f96b0f27ca7dbde3cbefaaf59c5c94034
parentca016880c383a964f3d3542cfba64ada0e1d41cd
Issue 3687 (part 1): Provide a compress MM function for MM rests only

  Multi-measure rests were previously compressed (i.e. all bars
  following the first were removed) by using the \compressFullBarRests
  predef.  This simply turned on 'skipBars, which causes bar lines at
  the ends of bars which contain either no rhythmic event or contain
  a rhythmic event with a duration extending beyond the bar to be removed.
  Such bars are generated by notes with durations longer than a bar,
  like a1*3, or by shorter notes which extend beyond the bar.

  This patch provides a function which also uses 'skipBars, but with
  a filter so that 'skipBars is activated only when an actual MM rest
  is encountered and deactivated by the first following rhythmic event.
ly/music-functions-init.ly