Add chord track (enable with LILYPOND_USE_CHORDS).
[music/pretentious.git] / 01-song1 / 01-song1.ly
index 6ace04772f36f1d6d7882310fb8c98c707c9d68d..c1157339092b8cbbfdce88c66d420b050de69c28 100644 (file)
@@ -11,6 +11,7 @@
 \include "music/keys.ly"
 \include "music/stick.ly"
 \include "music/click.ly"
+\include "music/chords.ly"
 
 \layout {
   ragged-last = ##t
@@ -46,4 +47,8 @@ AllMusic = <<
   } { \stick }
 >>
 
+AllMusicMIDI = #(if (string-null? (getenv "LILYPOND_USE_CHORDS"))
+                 #{ \AllMusic #}
+                 #{ \chordTrack #})
+
 \include "../layouts.ly"