Automatically convert beams into slurs to indicate melisma: Difference between revisions

Import snippet from LSR
 
m New category
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Traditionally, vocal scores used beams to indicate melisma, while modern vocal scores tend to use slurs. With this snippet's <code>\beamsToSlurs</code> music function you can easily produce either type of output from the same music input, allowing you to have both traditional and modern vocal engraving with one unique source. The function automatically converts manually typeset beams: <code>[ ]</code> ...into slurs: <code>( )</code>.
Traditionally, vocal scores used beams to indicate melisma, while modern vocal scores tend to use slurs. With this snippet's <code>\beamsToSlurs</code> music function you can easily produce either type of output from the same music input, allowing you to have both traditional and modern vocal engraving with one unique source. The function automatically converts manually typeset beams: <code>[ ]</code> ...into slurs: <code>( )</code>.


<lilypond version="2.24.0">
<lilypond version="2.24">
% a music function to convert manually typeset beams: [ ] ...into slurs: ( )
% a music function to convert manually typeset beams: [ ] ...into slurs: ( )


Line 52: Line 52:
[[Category:Expressive marks]]
[[Category:Expressive marks]]
[[Category:Scheme]]
[[Category:Scheme]]
[[Category:Snippet]]