lilypond-user
[Top][All Lists]
Advanced

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

Re: metronome-mark-alignment


From: David Nalesnik
Subject: Re: metronome-mark-alignment
Date: Wed, 8 Jan 2020 07:28:26 -0600

Hi Daniel,

On Tue, Jan 7, 2020 at 5:18 PM Daniel Rosen <address@hidden> wrote:
>
> I just rediscovered David Nalesnik's metronome-mark-alignment function in 
> this thread that I originally started years ago: https://bit.ly/2QUmi6H

I just rediscovered it too!  Completely forgot I had done this.
>
> The function works fine as long as Metronome_mark_engraver only exists in the 
> Score context. However, if it's added to, say, a Staff context or a Voice 
> context, it prevents the file from compiling and yields the following error 
> messages:
>
> > ~/example.ly:23:14: In expression (ly:make-simple-closure (quasiquote #)):
> > ~/example.ly:23:14: Unbound variable: ly:make-simple-closure
>
> See the attached example.

>
> Can anyone tweak this function so that it will work under these conditions?
>

The problem is that ly:make-simple-closure has been removed.  I
replaced the old default with the new definition (found in the
Internals Reference), and the function works again.  See attached.

Best.
David

Attachment: example-updated.ly
Description: Text Data


reply via email to

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