diff options
author | rekado <rekado@elephly.net> | 2016-03-12 13:48:05 +0100 |
---|---|---|
committer | rekado <rekado@elephly.net> | 2016-03-12 13:48:05 +0100 |
commit | 5a905751249d19155c4941fcc01cfcb57d512462 (patch) | |
tree | 4a47a06f5ffb121588eab4a38563b5515dca0b99 /01-song1/01-song1.ly | |
parent | 2a5e6cb7f320203b7f14d961f8d80525e75eaba8 (diff) |
01-song1: Start notation of song 1.
Diffstat (limited to '01-song1/01-song1.ly')
-rw-r--r-- | 01-song1/01-song1.ly | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/01-song1/01-song1.ly b/01-song1/01-song1.ly new file mode 100644 index 0000000..86ee485 --- /dev/null +++ b/01-song1/01-song1.ly @@ -0,0 +1,44 @@ +\version "2.19.27" + +\header { + title = "Song 1" + composer = "The very pretentious elephlies" + arranger = "Ricardo Wurmus" + copyright = "2002--2016 Ricardo Wurmus" +} + +\include "parts/stick.ly" + +AllMusic = << + \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 = 180 } +} + +\score { + \AllMusic + \layout { + \tempo 4 = 180 + \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 + } + } +} |