lilypond-auto
[Top][All Lists]
Advanced

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

[Lilypond-auto] Issue 3819 in lilypond: NR Amendment to 1.6.3 Writing Pa


From: lilypond
Subject: [Lilypond-auto] Issue 3819 in lilypond: NR Amendment to 1.6.3 Writing Parts - Known issues and warnings
Date: Sat, 18 Jan 2014 20:48:10 +0000

Status: Accepted
Owner: ----
Labels: Type-Documentation

New issue 3819 by address@hidden: NR Amendment to 1.6.3 Writing Parts - Known issues and warnings
http://code.google.com/p/lilypond/issues/detail?id=3819

On 18/01/14 16:58, Jan Hajic, jr. wrote:
Hello,

the difference in processing of quotes and tags leads to unintuitive
behavior when quoting voices with tags. Specifically, this comes up in
exporting parts from a score: cues are for parts only and should not
be left in scores.

A minimal example is:

----------------------------------------------------

\version "2.18.0"

outputTypeTag = "isScore"

firstInstrument = \relative c' {
\tag #'isPart { \cueDuring #"quoteSecondInstrument" #UP { r2 } }
\tag #'isScore { r2 }
e4 f |
g4 a b c |
}

secondInstrument= \relative c'' {
c4 c r2 |
\cueDuring #"quoteFirstInstrument" #DOWN { r2 }
c4 c |
}

\addQuote quoteFirstInstrument \firstInstrument
\addQuote quoteSecondInstrument \secondInstrument

\new Staff <<
\keepWithTag \outputTypeTag \firstInstrument
>>
\new Staff <<
\keepWithTag \outputTypeTag \secondInstrument
>>
----------------------------------------------------------

The cue voice in measure 2 of secondInstrument will display "e f"
instead of "g a". This is because when creating the quote in \addQuote
quoteFirstInstrument \firstInstrument, no tags
are applied, so instead of interpreting the first two measures of
firstInstrument as "alternate versions", it interprets them as
consecutive music, throwing the synchronization between the quote and
\secondInstrument by two measures. However, because the new Staff with
\firstInstrument is created with the tag, the synchronization of the
two voices stays correct -- only the cue notes are off.

The correct solution is to apply the tag when creating the quote:

\addQuote quoteFirstInstrument \keepWithTag \outputTypeTag \firstInstrument \addQuote quoteSecondInstrument \keepWithTag \outputTypeTag \secondInstrument

Although perfectly logical, this behavior leads to a strange error in
the output. I believe this should be mentioned in the documentation.

Proposed amendments to the documentation:

http://www.lilypond.org/doc/v2.17/Documentation/notation/writing-parts#quoting-other-voices
section Known issues and warnings:

"The quoting voice and the quote created with the \addQuote command
should have the same tags applied to them (\addQuote qInstrument
\keepWithTag #'someTag \instrument). Synchronization problems may
result otherwise: if there are alternatives in the quoted voice that
are selected from by tags (for instance: cues when exporting parts),
they will be interpreted as consecutive music when LilyPond is
creating the quote."

http://www.lilypond.org/doc/v2.17/Documentation/notation/different-editions-from-one-source#using-tags
section Known issues and warnings:

"Tags in voices that get quoted may cause hard-to-debug behavior. See
http://www.lilypond.org/doc/v2.17/Documentation/notation/writing-parts#quoting-other-voices,
section Known issues and warnings."

I hope this report/suggestion is useful.


--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings



reply via email to

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