Additional voices to avoid collisions: Difference between revisions

Import snippet from LSR
 
m Replace version="2.24.0" with version="2.24" now that the LilyWiki extension supports auto-selecting the latest release in a stable series
Line 1: Line 1:
In some instances of complex polyphonic music, additional voices are necessary to prevent collisions between notes. If more than four parallel voices are needed, additional voices can be added by defining a variable using the Scheme function <code>context-spec-music</code>.
In some instances of complex polyphonic music, additional voices are necessary to prevent collisions between notes. If more than four parallel voices are needed, additional voices can be added by defining a variable using the Scheme function <code>context-spec-music</code>.


<lilypond version="2.24.0">
<lilypond version="2.24">
voiceFive = #(context-spec-music (make-voice-props-set 4) 'Voice)
voiceFive = #(context-spec-music (make-voice-props-set 4) 'Voice)