lilypond-user
[Top][All Lists]
Advanced

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

Re: Strange error from \new Voice


From: Michael Gerdau
Subject: Re: Strange error from \new Voice
Date: Fri, 10 Apr 2020 09:58:57 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0

> When working with addlyrics it was outside the \new staff construct like
> here:
> 
> tenorVoicePart = \new Staff \with {
>   instrumentName = "Tenor"
>   midiInstrument = "choir aahs"
> } { \clef "treble_8" \tenorVoice }
> \addlyrics { \verseVoice }
> 
> Now, it is within
> 
> Soprano = \new Staff \with {
>   instrumentName = "Sopran"
> } <<
>   \new Voice = "SI" { \voiceOne \SopranoVoiceI }
>   \new Voice = "SII" { \voiceTwo \SopranoVoiceII }
>   \new Lyrics \lyricsto "SI" { \VerseSopranoVoiceI }
>>>
> 
> That should be mentioned.

I'm surprised that works. I always do it like this:
Soprano = <<
  \new Staff \with {
    instrumentName = "Sopran"
  } <<
    \new Voice = "SI" { \voiceOne \SopranoVoiceI }
    \new Voice = "SII" { \voiceTwo \SopranoVoiceII }
  >>
  \new Lyrics \lyricsto "SI" { \VerseSopranoVoiceI }
>>

That's what's documented under the link that Joram already provided.

Kind regards,
Michael
-- 
 Michael Gerdau       email: address@hidden
 GPG-keys available on request or at public keyserver

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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