lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Thanks to David Nalesnik and Jan-Peter Voigt


From: David Nalesnik
Subject: Re: Thanks to David Nalesnik and Jan-Peter Voigt
Date: Sun, 28 Sep 2014 12:48:11 -0500



On Sun, Sep 28, 2014 at 10:30 AM, Jay Vara <address@hidden> wrote:
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

I think you must have gotten this here:  http://www.mail-archive.com/lilypond-user%40gnu.org/msg78039.html

It says it's written by Jan-Peter, based on something I wrote.  What that something could be, I don't know anymore :)

--David

reply via email to

[Prev in Thread] Current Thread [Next in Thread]