[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: spanners in multi-voice
From: |
David Kastrup |
Subject: |
Re: spanners in multi-voice |
Date: |
Thu, 18 Jan 2018 14:44:59 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) |
"N. Andrew Walsh" <address@hidden> writes:
> Hi List,
>
> let's say I have the following code:
>
> \relative c'' {
>
> %1
> s2
>
> | %2
> <<
> { a16\cresc d~ d4. }
> \\
> { a8~ a4. }
> >>
> }
>
> Is there a way to have multiple measures of this kind of two-voice
> structure, and each measure contained within its own pair of << >>
> brackets, with one of these multi-measure-long \cresc commands? Or do I
> have to have all the measures over which the \cresc spanner occurs
> contained within one pair of << >> brackets?
>
> When I try the former, I get this:
>
> programming error: Spanner `DynamicTextSpanner' is not fully contained in
> parent spanner. Ignoring orphaned part
> { a16
> \cresc d~ d4. }
I get
-*- mode: compilation; default-directory: "/tmp/" -*-
Compilation started at Thu Jan 18 14:43:16
lilypond /tmp/gaga.ly
GNU LilyPond 2.21.0
Processing `/tmp/gaga.ly'
Parsing...
/tmp/gaga.ly:1: warning: no \version statement found, please add
\version "2.21.0"
for future compatibility
Interpreting music...
/tmp/gaga.ly:6:1: warning: barcheck failed at: 1/2
| %2
/tmp/gaga.ly:8:9: warning: unterminated crescendo
{ a16
\cresc d~ d4. }
Preprocessing graphical objects...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
Layout output to `/tmp/lilypond-TOO2Rj'...
Converting to `gaga.pdf'...
Deleting `/tmp/lilypond-TOO2Rj'...
Success: compilation successfully completed
> I was hoping to be able to keep each measure within its own line of
> code, separated with these barcheck and commented measure-number
> marks. Is there a way to do that?
How about giving an example actually showing the problem you are talking
about?
--
David Kastrup