diff options
author | rekado <rekado@elephly.net> | 2015-10-30 21:47:03 +0100 |
---|---|---|
committer | rekado <rekado@elephly.net> | 2015-10-30 21:47:20 +0100 |
commit | a82edb8fe84874e6dc4ee21288cb69f6ef306427 (patch) | |
tree | 62bba4e62ed7b24479e445450816d1886a6ede18 /02-song2/02-song2.ly | |
parent | 8496e52fef616ce10a37fb2b070a4f285e10bc91 (diff) |
song2: Start it!
Diffstat (limited to '02-song2/02-song2.ly')
-rw-r--r-- | 02-song2/02-song2.ly | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/02-song2/02-song2.ly b/02-song2/02-song2.ly new file mode 100644 index 0000000..daaa331 --- /dev/null +++ b/02-song2/02-song2.ly @@ -0,0 +1,44 @@ +\version "2.19.27" + +\header { + title = "Song 2" + composer = "The very pretentious elephlies" + arranger = "Ricardo Wurmus" + copyright = "2002--2015 Ricardo Wurmus" +} + +\include "parts/bass.ly" +\include "parts/keys.ly" +\include "parts/stick.ly" + +AllMusic = << + \new Staff = "keyboard" { \keyboard } + \new Staff = "bass" { \bass } + \new Staff = "grand stick" { \stick } +>> + +%% Two scores are needed: one with unfolded repeats for MIDI and the +%% other with regular repeats for notation. +\score { + \unfoldRepeats { \AllMusic } + \midi { \tempo 4 = 90 } +} + +\score { + \AllMusic + \layout { + \tempo 4 = 90 + \context { + %% add the RemoveEmptyStaffContext that erases rest-only staves + \Staff \RemoveEmptyStaves + } + \context { + \Score + \numericTimeSignature + %% Remove all-rest staves also in the first system + \override VerticalAxisGroup.remove-first = ##t + %% If only one non-empty staff in a system exists, still print the starting bar + \override SystemStartBar.collapse-height = #1 + } + } +} |