LilyPond Beginnershandleiding
LilyPond Beginnershandleiding
LilyPond Beginnershandleiding
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Hoofdstuk 3: Fundamentele concepten 54<br />
>><br />
Both of the above would produce<br />
<br />
<br />
<br />
The \voiceXXX commands set the direction of stems, slurs, ties, articulations, text annotations,<br />
augmentation dots of dotted notes, and fingerings. \voiceOne and \voiceThree make<br />
these objects point upwards, while \voiceTwo and \voiceFour make them point downwards.<br />
These commands also generate a horizontal shift for each voice when this is required to avoid<br />
clashes of note heads. The command \oneVoice reverts the settings back to the normal values<br />
for a single voice.<br />
Let us see in some simple examples exactly what effect \oneVoice, \voiceOne and voiceTwo<br />
have on markup, ties, slurs, and dynamics:<br />
\relative c' {<br />
% Default behavior or behavior after \oneVoice<br />
c4 d8~ d e4( f | g4 a) b-> c |<br />
}<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
\relative c' {<br />
\voiceOne<br />
c4 d8~ d e4( f | g4 a) b-> c |<br />
\oneVoice<br />
c,4 d8~ d e4( f | g4 a) b-> c |<br />
}<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
\relative c' {<br />
\voiceTwo<br />
c4 d8~ d e4( f | g4 a) b-> c |<br />
\oneVoice<br />
c,4 d8~ d e4( f | g4 a) b-> c |<br />
}<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
Now let’s look at three different ways to notate the same passage of polyphonic music, each of<br />
which is advantageous in different circumstances, using the example from the previous section.<br />
An expression that appears directly inside a > belongs to the main voice (but, note, not<br />
in a > construct). This is useful when extra voices appear while the main voice is playing.