From d30e3c1c699f5b84424b76ebf0ab944490015886 Mon Sep 17 00:00:00 2001 From: David Kastrup Date: Sun, 20 Sep 2015 18:10:51 +0200 Subject: [PATCH] Issue 4614/6: Amend snippet single-staff-template-with-notes-and-chords.ly --- ...le-staff-template-with-notes-and-chords.ly | 37 +++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 Documentation/snippets/new/single-staff-template-with-notes-and-chords.ly diff --git a/Documentation/snippets/new/single-staff-template-with-notes-and-chords.ly b/Documentation/snippets/new/single-staff-template-with-notes-and-chords.ly new file mode 100644 index 0000000000..598f0b94ae --- /dev/null +++ b/Documentation/snippets/new/single-staff-template-with-notes-and-chords.ly @@ -0,0 +1,37 @@ +\version "2.19.28" + +\header { + lsrtags = "chords, really-simple, template" + + texidoc = " +Want to prepare a lead sheet with a melody and chords? Look no further! + + +" + doctitle = "Single staff template with notes and chords" +} +melody = \relative c' { + \clef treble + \key c \major + \time 4/4 + + f4 e8[ c] d4 g + a2 ~ a +} + +harmonies = \chordmode { + c4:m f:min7 g:maj c:aug + d2:dim b4:5 e:sus +} + +\score { + << + \new ChordNames { + \set chordChanges = ##t + \harmonies + } + \new Staff \melody + >> + \layout{ } + \midi { } +} -- 2.39.2