[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Controllling repeat volta text
From: |
David Wright |
Subject: |
Re: Controllling repeat volta text |
Date: |
Mon, 22 Feb 2016 22:42:45 -0600 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Tue 23 Feb 2016 at 03:25:04 (+0000), Stan Mulder wrote:
> Andrew Bernard <andrew.bernard <at> gmail.com> writes:
> > Something like this?
> >
> > \version "2.19.36"
> >
> > voltaAdLib = \markup { 1. 2. 3... \text \italic { ad lib. } }
> > voltaLast = \markup { \text "last" }
> > \relative {
> > \set Score.repeatCommands = #(list(list 'volta voltaAdLib) 'start-repeat)
> > s1*8
> > s1*8
> > s1*8
> > s1*7
> > \set Score.repeatCommands = #(list (list 'volta #f) (list 'volta
> voltaLast) 'end-repeat)
> > s1
> > \set Score.repeatCommands = #'((volta #f))
> > }
>
>
> Thanks for the help Andrew, but I had previously tried what you suggested,
> and was not what I wanted.
>
> There are two problems. Your example has that horizontal repeat line going
> over all of the 32 measures of the solo section. That is excessive. I want
> just the last measure of the 32 bars (the 32nd bar) to have the multi
> repeat. Plus, the first measure of the solo section should have a repeat
> sign. I don't know how to make those two adjustments.
Perhaps this is more to your liking:
\version "2.19.36"
voltaAdLib = \markup { 1. 2. 3... \text \italic { ad lib. } }
voltaLast = \markup { \text "last" }
\relative {
s1 s1 s1 s1
\set Score.repeatCommands = #(list (list 'volta voltaAdLib) 'start-repeat)
s1
\set Score.repeatCommands = #'((volta #f))
s1 s1 s1 s1
\set Score.repeatCommands = #(list (list 'volta voltaLast) 'end-repeat)
s1
\set Score.repeatCommands = #'((volta #f))
s1 s1 s1 s1 \bar "|."
}
Cheers,
David.