29.11.2012 Views

mpdolce - LilyPond

mpdolce - LilyPond

mpdolce - LilyPond

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 4: Tweaking output 120<br />

}<br />

�<br />

\new Staff = "LH" ><br />

>><br />

� �� �<br />

� � � �<br />

� �<br />

4 �� �<br />

��� 6 �<br />

4 6 � �<br />

�<br />

� � � � �<br />

�� ��� �� �<br />

����<br />

� �<br />

� �� � � �<br />

�<br />

On to bar three and the start of the Moderato section. The tutorial showed how to add<br />

embolded text with the \markup command, so adding ‘Moderato’ in bold is easy. But how do<br />

we merge notes in different voices together? This is where we need to turn to the Notation<br />

Reference for help. A search for “merge” in the Notation Reference index quickly leads us to<br />

the commands for merging differently headed and differently dotted notes in Section “Collision<br />

resolution” in Notation Reference. In our example we need to merge both types of note for the<br />

duration of the polyphonic section in bar 3, so using the information we find in the Notation<br />

Reference we add<br />

\mergeDifferentlyHeadedOn<br />

\mergeDifferentlyDottedOn<br />

to the start of that section and<br />

\mergeDifferentlyHeadedOff<br />

\mergeDifferentlyDottedOff<br />

to the end, giving:<br />

rhMusic = \relative c'' {<br />

r2 c4.\( g8 |<br />

\once \override Tie #'staff-position = #3.5<br />

bes1~ |<br />

\bar "||"<br />

\time 6/4<br />

bes2.^\markup {\bold "Moderato"} r8<br />

\mergeDifferentlyHeadedOn<br />

\mergeDifferentlyDottedOn<br />

% Start polyphonic section of four voices<br />

><br />

\mergeDifferentlyHeadedOff<br />

\mergeDifferentlyDottedOff<br />

��<br />

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!