Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Chapter 4: Tweaking output 125<br />
Simulating a fermata in MIDI<br />
For outside-staff objects it is usually better to override the object’s stencil property rather<br />
than its transparent property when you wish to remove it from the printed output. Setting the<br />
stencil property of an object to #f will remove that object entirely from the printed output.<br />
This means it has no effect on the placement of other objects placed relative to it.<br />
For example, if we wished to change the metronome setting in order to simulate a fermata in<br />
the MIDI output we would not want the metronome markings to appear in the printed output,<br />
and we would not want it to influence the spacing between the two systems or the positions of<br />
adjacent annotations on the staff. So setting its stencil property to #f would be the best way.<br />
We show here the effect of the two methods:<br />
\score {<br />
\relative c'' {<br />
% Visible tempo marking<br />
\tempo 4=120<br />
a4 a a<br />
\once \override Score.MetronomeMark #'transparent = ##t<br />
% Invisible tempo marking to lengthen fermata in MIDI<br />
\tempo 4=80<br />
a\fermata<br />
% New tempo for next section<br />
\tempo 4=100<br />
a a a a<br />
}<br />
\layout { }<br />
\midi { }<br />
}<br />
�<br />
�<br />
� = 120<br />
� � �<br />
�<br />
�<br />
� = 100<br />
�<br />
�<br />
�<br />
\score {<br />
\relative c'' {<br />
% Visible tempo marking<br />
\tempo 4=120<br />
a4 a a<br />
\once \override Score.MetronomeMark #'stencil = ##f<br />
% Invisible tempo marking to lengthen fermata in MIDI<br />
\tempo 4=80<br />
a\fermata<br />
% New tempo for next section<br />
\tempo 4=100<br />
a a a a<br />
}<br />
\layout { }<br />
\midi { }<br />
}<br />
�