Lily# Learn — twelve short lessons, in the editor

Lesson 7 of 12

Lyrics

In VS Code, in an empty .lys file: type lesson, press Ctrl+Space and pick lesson-07-lyrics.

A lyrics track sings a part: one syllable per note, sleep- ing joins a word, | keeps in step with the bars. Each row goes under the staff.

Lyrics — engraved

The lesson as it opens: the red rings mark where a step happens.

Try

Remove lyrics fr from the score · change the last English bar to Ding, dang, dong, ding! | — rest the mouse on the squiggle.

The whole lesson

// Lesson 7 of 12 — Lyrics
// Preview: Ctrl+K V
//
// A lyrics track `sings` a part: one syllable per note, `sleep- ing` joins a
// word, `|` keeps in step with the bars. Each row goes under the staff.

title "Frère Jacques"
composer "Traditional"

part melody {
  clef treble
  section A {
    c4 d e c | c d e c | e f g2 | e4 f g2 |
    g8 a g f e4 c | g'8 a g f e4 c | c g c2 | c4 g c2 |.
  }
}

lyrics en sings melody {
  section A {
    Are you sleep- ing, | are you sleep- ing, | Bro- ther John? | Bro- ther John? |
    Morn- ing bells are ring- ing, | morn- ing bells are ring- ing: | Ding, dang, dong! | Ding, dang, dong! |
  }
}

lyrics fr sings melody {
  section A {
    Frè- re Jac- ques, | frè- re Jac- ques, | dor- mez- vous? | dor- mez- vous? |
    Son- nez les ma- ti- nes, | son- nez les ma- ti- nes: | Ding, dang, dong! | Ding, dang, dong! |
  }
}

form { ~A }

score {
  staff melody
  lyrics en
  lyrics fr
}

// TRY: remove `lyrics fr` from the score · change the last English bar to
// `Ding, dang, dong, ding! |` — rest the mouse on the squiggle.
//
// NEXT — type `lesson` on a new line and pick `lesson-08-chords`.

In the manual