Steven,

The lyrics line should read "\new Lyrics \lyricsto mel \text", without 
the "=".

- Abraham

On Fri, Mar 20, 2015 at 1:30 PM, Steven Arntson [via Lilypond] 
<ml-node+s1069038n173405...@n5.nabble.com> wrote:
> I'm trying to create a simple score with voice/lyrics and piano. I'm 
> basing it on a snippet I found in Frescobaldi, but entering things 
> myself with a few differences, as a learning exercise. The error I 
> get 
> in the \score block when I engrave is: 
> 
> | syntax error, unexpected \lyricsto, expecting SCM_IDENTIFIER or 
> | SCM_TOKEN or STRING \new Lyrics = \lyricsto mel \text 
> 
> Here's the working example: 
> 
> \version "2.19.12" 
> \language "english" 
> 
> % variables 
> global = { 
>   \key e \minor 
>   \time 2/2 
>   \tempo 4 = 120 
> } 
>   
> melody = \relative c' { 
>   \global 
>   \clef bass 
>   a2 b2 | 
> } 
> 
> text = \lyricmode { 
>   hel -- lo | 
> } 
> 
> chordsymbols = \chordmode { 
>   % chords here 
> } 
> 
> upper = \relative c'' { 
>   \global 
>   \clef treble 
>   a2 b2 | 
> } 
> 
> lower = \relative c { 
>   \global 
>   \clef bass 
>   a2 b2 | 
> } 
> 
> \score { 
>   << 
>     \new Voice = "mel" { \autoBeamOff \melody } 
>     \new Lyrics = \lyricsto mel \text 
>     \new ChordNames = "chordsymbols" 
>     \new PianoStaff << 
>       \new Staff = "upper" \upper 
>       \new Staff = "lower" \lower 
>     >> 
>   >> 
>   \layout { 
>     \context {} 
>   } 
>   \midi {} 
> } 
> 
> 
> Thank you, 
> steven arntson 
> 
> 
> _______________________________________________ 
> lilypond-user mailing list 
> [hidden email] 
> https://lists.gnu.org/mailman/listinfo/lilypond-user
> 
> 
> If you reply to this email, your message will be added to the 
> discussion below:
> http://lilypond.1069038.n5.nabble.com/beginner-score-error-tp173405.html
> To start a new topic under User, email 
> ml-node+s1069038n...@n5.nabble.com 
> To unsubscribe from Lilypond, click here.
> NAML




--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/beginner-score-error-tp173405p173406.html
Sent from the User mailing list archive at Nabble.com.
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to