Coloring successive intervals: 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 46: Line 46:
* <code>Warning: Adding color_interval_engraver to a Staff context may lead to unexpected results if the Staff contains more than one voice.</code>
* <code>Warning: Adding color_interval_engraver to a Staff context may lead to unexpected results if the Staff contains more than one voice.</code>


<lilypond version="2.24.0" full>
<lilypond version="2.24" full>
%%% Create an engraver that colors note heads depending on the  
%%% Create an engraver that colors note heads depending on the  
%%% intervals between successive pitches
%%% intervals between successive pitches