]> git.donarmstrong.com Git - lilypond.git/blobdiff - ly/performer.ly
release: 1.3.31
[lilypond.git] / ly / performer.ly
index f98ea244f5b8f046daa50ad0a99545db9e56217a..132d0e8c84cb5af325eae5f07dc02c57257a13a1 100644 (file)
@@ -14,6 +14,8 @@ StaffContext = \translator {
        \consists "Key_performer";
        \consists "Time_signature_performer";
        \consists "Tempo_performer";
+%      \consists "Span_dynamic_performer";
+       dynamicStyle = #"dynamic"
 };
 \translator { \StaffContext }
 
@@ -41,6 +43,8 @@ VoiceContext = \translator {
        \type "Performer_group_performer";
        \name Voice;
 % All notes fall to Grace if you leave Thread out (huh?)
+       \consists "Dynamic_performer";   % must come before text_engraver.
+       \consists "Span_dynamic_performer";
        \consists "Grace_position_performer";
        \accepts Thread;
        \accepts Grace;
@@ -102,6 +106,19 @@ PianoStaffContext = \translator {
        \consists "Time_signature_performer";
        \consists "Tempo_performer";
 }
+
+\translator {
+       \type "Staff_performer";
+       \accepts ChordNameVoice;
+       \name ChordNames;
+}
+
+\translator {
+       \type Performer_group_performer;
+       \consists Note_performer;
+       \name ChordNameVoice;   
+}
+
 \translator {
        \type Performer_group_performer;
 
@@ -120,6 +137,7 @@ ScoreContext = \translator {
        \accepts Lyrics; 
        \accepts StaffGroup;
        \accepts ChoirStaff;
+       \accepts ChordNames;
        \consists "Swallow_performer";
 };
 \translator { \ScoreContext }