lilypond-user
[Top][All Lists]
Advanced

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

Re: trying to attach lyrics to global variable in /score


From: David Wright
Subject: Re: trying to attach lyrics to global variable in /score
Date: Sun, 3 Jan 2016 20:29:38 -0600
User-agent: Mutt/1.5.21 (2010-09-15)

On Mon 04 Jan 2016 at 00:26:44 (+0100), Simon Albrecht wrote:
[...]
> That said: The following code works for me.
> 
> %%%%%%%%%%
> \version "2.18.2"
> global = { s1 }
> recorder = { c''1 }
> verseOne = \lyricmode { test }
> \score {
>   \new StaffGroup <<
> 
>     \new Staff <<
>       \new Voice \global
>       \new Voice = "recorder" \recorder
>     >>
>     \new Lyrics \lyricsto "recorder" \verseOne
>   >>
> 
>   \layout { }
>   \midi { }
> }
> %%%%%%%%%%%%%%
> 
> It’s more logical IMO to keep the Lyrics outside the Staff,

... but it does mean that you can't use \addlyrics, and dispense with
naming the context when not required (ie simple cases).

Cheers,
David.



reply via email to

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