Changing alternative ending number to text

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Changing alternative ending number to text

Ralph Palmer
Greetings -

I'm running LilyPond 2.19.58 under Win7.

I have three endings : first, second, and FINE. Is it possible to
change the "3." to "FINE" without using manual repeats?

Thanks in advance for your help,

Ralph

%%%%%%%%%%%%%

\version "2.19.58"

test =
\repeat volta 3 {
  e''1 | }


\alternative {
  {
    c''1|
  }
  {
    a''1 \bar "|." |
  }
  {
    g''1 \bar "|." |
  }
}

\score {
  \test
}

%%%%%%%%%%%%%%%%

--
Ralph Palmer
Brattleboro, VT
USA
[hidden email]

_______________________________________________
lilypond-user mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/lilypond-user

alternative_test.ly (270 bytes) Download Attachment
alternative_test.pdf (44K) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Changing alternative ending number to text

Lukas-Fabian Moser
Deriving from http://lsr.di.unimi.it/LSR/Item?id=316 (and regretting that I don't fully understand the scheme code involved):

\version "2.19.44"

Fine = \markup { \text \small FINE }

test = 
\repeat volta 3 {
  e''1 | }


\alternative {
  {
    c''1|
  }
  {
    a''1 \bar "|." |
  }    
  {
   \set Score.repeatCommands = #(list (list 'volta Fine) 'start-repeat)
    g''1 \bar "|." |
  }
}

\score {
  \test 
}

2017-08-09 15:04 GMT+02:00 Ralph Palmer <[hidden email]>:
Greetings -

I'm running LilyPond 2.19.58 under Win7.

I have three endings : first, second, and FINE. Is it possible to
change the "3." to "FINE" without using manual repeats?

Thanks in advance for your help,

Ralph

%%%%%%%%%%%%%

\version "2.19.58"

test =
\repeat volta 3 {
  e''1 | }


\alternative {
  {
    c''1|
  }
  {
    a''1 \bar "|." |
  }
  {
    g''1 \bar "|." |
  }
}

\score {
  \test
}

%%%%%%%%%%%%%%%%

--
Ralph Palmer
Brattleboro, VT
USA
[hidden email]

_______________________________________________
lilypond-user mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/lilypond-user



_______________________________________________
lilypond-user mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/lilypond-user
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Changing alternative ending number to text

Ralph Palmer
On Wed, Aug 9, 2017 at 9:21 AM, Lukas-Fabian Moser <[hidden email]> wrote:

> Deriving from http://lsr.di.unimi.it/LSR/Item?id=316 (and regretting that I
> don't fully understand the scheme code involved):
>
> \version "2.19.44"
>
> Fine = \markup { \text \small FINE }
>
> test =
> \repeat volta 3 {
>   e''1 | }
>
>
> \alternative {
>   {
>     c''1|
>   }
>   {
>     a''1 \bar "|." |
>   }
>   {
>    \set Score.repeatCommands = #(list (list 'volta Fine) 'start-repeat)
>     g''1 \bar "|." |
>   }
> }
>
> \score {
>   \test
> }
>
> 2017-08-09 15:04 GMT+02:00 Ralph Palmer <[hidden email]>:
>>
>> I have three endings : first, second, and FINE. Is it possible to
>> change the "3." to "FINE" without using manual repeats?
>>

Beautiful! Thanks so much!

All the best,

Ralph

--
Ralph Palmer
Brattleboro, VT
USA
[hidden email]

_______________________________________________
lilypond-user mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/lilypond-user
Loading...