|
From: | David Nalesnik |
Subject: | Re: Thanks to David Nalesnik and Jan-Peter Voigt |
Date: | Sun, 28 Sep 2014 12:48:11 -0500 |
I wanted to get bar lines after each sub-meter of a compound meter, and
to have Completion_heads_engraver recognize these bar lines and split
and tie notes as needed.
Thanks to David and Jan-Peter, I was able to change their
doubleBarlinesAfterTimeSig engraver to achieve this effect. I still have
a little more work to do since some of the moment variables currently
have fixed values.
The engraver works well as seen in the code below. Again, I do not
really understand the significance of why, for example time-signature is
set to '() although it does not change in the engraver. Also, when I
tried to change the variable last-fraction to last-bnum, it resulted in
a syntax error, even after changing the #f to #0. Perhaps someone may
know the answer to this.
Here is the modified engraver. Currently, it sets up timings of 3/4, 5/4
and 2/4 and puts a double bar at the end of the three measures. Also
notice how the double notes are split and tied across the bar lines.
Pretty cool, I would say.
\version "2.18.0"
%{
Based on a Scheme engraver that places
double bar lines before time signature changes
Provided by Jan-Peter Voigt
Presumably written by David Nalesnik
[Prev in Thread] | Current Thread | [Next in Thread] |