Tested Features: cross staff auto beams and slurs, grace notes, no bars
%}
-\version "1.1.52";
+\version "1.3.4";
\include "nederlands.ly"
\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
\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.;
}
\translator {
\ScoreContext
- \accepts AutoSwitchGrandStaff;
- }
+ \accepts "AutoSwitchGrandStaff";
+ }
\translator{
\type "Engraver_group_engraver";
\name AutoSwitchGrandStaff;
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";
+ }
}
}