]> git.donarmstrong.com Git - lilypond.git/blobdiff - ly/performer-init.ly
* ly/italiano.ly: additions for semi-sharps and semi-flats by Eric
[lilypond.git] / ly / performer-init.ly
index 6ab401df96ee3ff8b1350200e8f6f48f4651f631..51c90fd7804138d6a2995ab56a61037931d0bea7 100644 (file)
@@ -1,4 +1,5 @@
-\version "1.3.146"
+\version "1.9.8"
+
 %
 % setup for Request->Element conversion. Guru-only
 %
@@ -10,42 +11,29 @@ StaffContext = \translator {
        \consists "Key_performer"
        \consists "Tempo_performer"
        \consists "Time_signature_performer"
-       dynamicStyle = #"dynamic"
-}
-\translator { \StaffContext }
-\translator { \StaffContext
-  \name RhythmicStaff
-}
 
+}
 
 VoiceContext = \translator {
        \type "Performer_group_performer"
        \name Voice
-% All notes fall to Grace if you leave Thread out (huh?)
        \consists "Dynamic_performer"
        \consists "Span_dynamic_performer"
-       \consists "Piano_pedal_performer"
-       \consists "Note_performer"
        \consists "Tie_performer"
+       \consists "Piano_pedal_performer"
+       \accepts "Thread"
 }
-\translator { \VoiceContext }
 
 ThreadContext = \translator {
        \type "Performer_group_performer"
        \name Thread
-}
-\translator { \ThreadContext }
-
-\translator {
-       \type "Performer_group_performer"
-       \name Grace
+       \consists "Note_performer"
 }
 
-\translator
-{
+FiguredBassContext = \translator {
        \type "Performer_group_performer"
-       \name VoiceTwo\consists "Note_performer"
-
+       \name FiguredBass 
+       \consists "Swallow_performer"
 }
 
 GrandStaffContext = \translator {
@@ -54,14 +42,50 @@ GrandStaffContext = \translator {
        \accepts RhythmicStaff
        \accepts Staff
 }
-\translator { \GrandStaffContext }
 
 PianoStaffContext = \translator {
         \type "Performer_group_performer"
        \name "PianoStaff"
        \accepts Staff
 }
-\translator { \PianoStaffContext }
+
+TabVoiceContext = \translator {
+        \type "Performer_group_performer"
+       \name "TabVoice"
+       \consists "Swallow_performer"
+}
+
+TabStaffContext = \translator {
+        \type "Performer_group_performer"
+       \name "TabStaff"
+       \accepts "TabVoice"
+}
+
+ScoreContext = \translator {
+       \type "Score_performer"
+
+       \name Score
+       \alias Timing
+       instrument = #"bright acoustic"
+       \accepts Staff
+       \accepts GrandStaff
+       \accepts PianoStaff
+       \accepts TabStaff
+       \accepts Lyrics 
+       \accepts StaffGroup
+       \accepts ChoirStaff
+       \accepts RhythmicStaff
+       \accepts ChordNames
+       \accepts FiguredBass
+
+       \alias "Timing"
+       \consists "Timing_translator"
+       \consists "Swallow_performer"
+       
+       dynamicAbsoluteVolumeFunction = #default-dynamic-absolute-volume
+       instrumentEqualizer = #default-instrument-equalizer
+}
+
 
 \translator {
        \type "Performer_group_performer"
@@ -74,7 +98,8 @@ PianoStaffContext = \translator {
        \name ChoirStaff
        \accepts Staff
 }
-\translator { 
+
+\translator {
        \type "Staff_performer"
        \accepts LyricsVoice
        \name Lyrics
@@ -89,35 +114,27 @@ PianoStaffContext = \translator {
 }
 
 \translator {
-       \type Performer_group_performer
-       \consists Note_performer
+       \type "Performer_group_performer"
+       \consists "Note_performer"
        \name ChordNameVoice    
 }
 
 \translator {
-       \type Performer_group_performer
+       \type "Performer_group_performer"
 
        \name StaffGroup
        \accepts Staff
 }
 
-ScoreContext = \translator {
-       \type "Score_performer"
 
-       \name Score
-       instrument = #"bright acoustic"
-       \accepts Staff
-       \accepts GrandStaff
-       \accepts PianoStaff
-       \accepts Lyrics 
-       \accepts StaffGroup
-       \accepts ChoirStaff
-       \accepts RhythmicStaff
-       \accepts ChordNames
-       \consists "Swallow_performer"
 
-       dynamicAbsoluteVolumeFunction = #default-dynamic-absolute-volume
-       instrumentEqualizer = #default-instrument-equalizer
-}
 \translator { \ScoreContext }
-
+\translator { \StaffContext }
+\translator { \StaffContext \name RhythmicStaff }
+\translator { \VoiceContext }
+\translator { \ThreadContext }
+\translator { \PianoStaffContext }
+\translator { \TabVoiceContext }
+\translator { \TabStaffContext }
+\translator { \GrandStaffContext }
+\translator { \FiguredBassContext }