lilypond-user
[Top][All Lists]
Advanced

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

Re: CueVoice and tagging


From: Johannes Roeßler
Subject: Re: CueVoice and tagging
Date: Wed, 10 Jan 2018 21:18:41 +0100
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2

thx David, got it. Changed the voice, so that it doesn't start with the \cue. (See attached file)
What I still don't get, is what happens when I start voiceB with

\clef "bass"

Joei

Johannes Roeßler <address@hidden> writes:

Hi Guys,

sort of an didactic question. Maybe I was tired or just stupid - I
forgot about the \killCues command and tried to build this on my own.
So - that means I know (now) the correct way to get rid of the cues -
but I'd still like to know where I was wrong with my idea:

\version "2.19.58"
\language "deutsch"


----8<--------------
voiceA = \relative c' {
   g8 a h c d e e e e2 e
}

voiceB = \relative c' {
   %\clef "bass"

\tag #'voice {
     \new CueVoice {\set instrumentCueName = "Voice A"}
     \cueDuringWithClef #"voiceA" #UP #"treble" { r2 r2 }
   }

\tag #'partitur { r1}
   a1
}

\addQuote "voiceA" {\voiceA}

<<
   \voiceA
   \removeWithTag #'partitur { \voiceB}
Your example contains cut marks in the middle of the example and
non-breaking spaces.  If you cannot teach your mail client to keep
spaces as-is, try attaching the file instead.

1) This example nearly works - but the "a1" in voiceB will be printed
small like a cue note. No idea why.
The documentation states in the section about \cue:

File: lilypond-notation.info,  Node: Formatting cue notes,  Prev: Quoting other 
voices,  Up: Writing parts

[...]

           Note: When a ‘Voice’ starts with ‘\cueDuring’, as in the
           following example, the ‘Voice’ context must be explicitly
           declared, or else the entire music expression would belong to
           the ‘CueVoice’ context.


Attachment: min_Joei.ly
Description: Text Data


reply via email to

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