]> git.donarmstrong.com Git - lilypond.git/blobdiff - mutopia/E.Satie/gnossienne-4.ly
release: 1.3.5
[lilypond.git] / mutopia / E.Satie / gnossienne-4.ly
index ca23359ef7d9f4b20b59534844598920b03b924f..bc6c08c8696a9b7701304945087648ff2a58148d 100644 (file)
@@ -12,7 +12,7 @@
  Tested Features: cross staff auto beams and slurs, grace notes, no bars
 %}
 
-\version "1.1.52";
+\version "1.3.4";
 
 \include "nederlands.ly"
 
@@ -20,12 +20,13 @@ global = \notes {
   \key a \minor;
   \time 6/4;
   \skip 1.*34;
-  \bar ".|";
+%  \bar ".|";
 }
   
 melody = \notes\relative c''{
   \clef violin;
   \property Voice.verticalDirection = 1
+  \property Voice.graceFraction = "1/4"
   r2 r r 
   r2 r r
   r4 a'8--(\< a--  a-- a-- c-- \!b-- a--\> gis f \!e 
@@ -106,15 +107,19 @@ accompany = \notes \relative c{
 \score{
   \notes{
     \context AutoSwitchGrandStaff \relative c <
-      \global
-      \context Staff=upper { 
-        \context Voice=foo
-        \property Voice.verticalDirection = 1
-        \property Voice.scriptVerticalDirection = 1
-        \melody 
-       }
-      \context AutoSwitchContext \accompany
+      \context Staff=upper <
+        \global
+        \context Voice=foo{
+         \property Voice.verticalDirection = 1
+         \property Voice.scriptVerticalDirection = 1
+         \melody 
+        }
       >
+      \context AutoSwitchContext <
+        \global
+       \accompany
+      >
+    >
   }
   \paper {
     gourlay_maxmeasures = 4.;
@@ -138,8 +143,8 @@ accompany = \notes \relative c{
     }
     \translator { 
       \ScoreContext
-      \accepts AutoSwitchGrandStaff;
-      }
+      \accepts "AutoSwitchGrandStaff";
+    }
     \translator{
       \type "Engraver_group_engraver";
       \name AutoSwitchGrandStaff;
@@ -158,14 +163,31 @@ accompany = \notes \relative c{
       slurVerticalDirection = 1;
       verticalDirection = -1;
       beamAutoEnd = "1/2";
-      }
+    }
     \translator {
       \type "Engraver_group_engraver";
-      \name "AutoSwitchContext";
+      \name AutoSwitchContext;
       \consists "Staff_switching_translator";
-      }
     }
+  }
   \midi {
     \tempo 4 = 54;
+    \translator {
+      \ScoreContext
+      \accepts "AutoSwitchGrandStaff";
+    }
+    \translator {
+      \type "Performer_group_performer";
+      \name AutoSwitchGrandStaff;
+      \accepts "AutoSwitchContext";
+      \accepts "Staff";
+    }
+    \translator {
+      \type "Staff_performer";
+      \name AutoSwitchContext;
+      \accepts "Voice";
+      \consists "Key_performer";
+      \consists "Time_signature_performer";
+    }
   }
 }