bug-lilypond
[Top][All Lists]
Advanced

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

Re: Changing volta number text


From: Ralph Palmer
Subject: Re: Changing volta number text
Date: Tue, 18 May 2021 08:56:11 -0700

On Tue, May 18, 2021 at 6:35 AM Kieren MacMillan <
kieren_macmillan@sympatico.ca> wrote:

> Hi Ralph,
>
> > I think it would be helpful to either have a snippet that shows how to
> change a "normal" volta number setup (i.e., change the numbers and/or add
> text), or to add something to the documentation.
>
> The documentation is accurate, if not entirely clear…  =)


> This is what I got using <
> https://lilypond.org/doc/v2.21/Documentation/notation/long-repeats#manual-repeat-marks
> >:
>
> %%%%%%%%%%
> \version "2.21.0"
> \include "english.ly"
>
> test = {
>   \time 3/4
>   a'4 b' c' |
>   b'4 c' d' |
>   {
>     {
>       \set Score.repeatCommands = #'((volta "1., 3."))
>       e'4 f' g' |
>     }
>     {
>       \set Score.repeatCommands = #'(end-repeat (volta "2."))
>       d'4 c' b' |
>     }
>     {
>       \set Score.repeatCommands = #'(end-repeat (volta "4."))
>       g'4 a' b' |
>       \set Score.repeatCommands = #'((volta #f))
>     }
>   }
>   c'1
> }
>
> \score {
>   \test
> }
> %%%%%%%%%%%
>
> Note that I deleted the \repeat volta command, but kept the bracketing of
> your \alternative block for readability.
>
> Hope this helps!
> Kieren.
>>
>>
Thanks, Kieren.

I have to admit, after learning from you that the documentation is
accurate, and spending some time examining the various examples in the
documentation, I think I could achieve what I want. It takes some real
effort, and I think it would be difficult for someone who has little
experience with LilyPond. And isn't that the point of the documentation?

I've run into this problem before while doing transcription, and solved the
problem somehow, but I couldn't (can't) find the exact file where I used
the solution. I've also seen the pattern occasionally while playing music.
I think it would be helpful to include an appropriate example in the manual
repeat marks section of the documentation. Then again, this hasn't exactly
come up as a problem very often, has it? . . . I guess I'll make a note of
the solution!

All the best,

Ralph

-- 
Ralph Palmer
Seattle
USA
(he, him, his)
palmer.r.violin@gmail.com


reply via email to

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