[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
example-updated.ly
Description: Text Data
- metronome-mark-alignment, Daniel Rosen, 2020/01/07
- Re: metronome-mark-alignment,
David Nalesnik <=
- Re: metronome-mark-alignment, David Nalesnik, 2020/01/08
- RE: metronome-mark-alignment, Daniel Rosen, 2020/01/09
- RE: metronome-mark-alignment, Daniel Rosen, 2020/01/09
- Re: metronome-mark-alignment, Daniel Rosen, 2020/01/11
- Re: metronome-mark-alignment, David Nalesnik, 2020/01/11
- Re: metronome-mark-alignment, Thomas Morley, 2020/01/11
- RE: metronome-mark-alignment, Daniel Rosen, 2020/01/12
- Re: metronome-mark-alignment, Thomas Morley, 2020/01/12
- RE: metronome-mark-alignment, Daniel Rosen, 2020/01/13
- Re: metronome-mark-alignment, David Kastrup, 2020/01/13