Changing the interval of lines on the stave: Difference between revisions
Import snippet from LSR |
m New category |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
<code>staffLineLayoutFunction</code> is used to change the position of notes. This snippet shows setting its value to <code>ly:pitch-semitones</code> in order to produce a chromatic scale with the distance between each space and line of the stave equal to one semitone. | <code>staffLineLayoutFunction</code> is used to change the position of notes. This snippet shows setting its value to <code>ly:pitch-semitones</code> in order to produce a chromatic scale with the distance between each space and line of the stave equal to one semitone. | ||
<lilypond version="2.24 | <lilypond version="2.24"> | ||
scale = \relative c' { | scale = \relative c' { | ||
a4 ais b c | a4 ais b c | ||
| Line 26: | Line 26: | ||
[[Category:Included in the official documentation]] | [[Category:Included in the official documentation]] | ||
[[Category:Pitches]] | [[Category:Pitches]] | ||
[[Category:Snippet]] | |||