]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/chromatic-scales.ly
Merge commit 'origin' into beamlets2
[lilypond.git] / input / regression / chromatic-scales.ly
1 \version "2.12.0"
2 \header{
3   texidoc="@code{staffLineLayoutFunction} is used to change the position of the notes.
4 This sets @code{staffLineLayoutFunction} to @code{ly:pitch-semitones} to
5 produce a chromatic scale with the distance between a consecutive
6 space and line equal to one semitone.
7 "
8 }
9
10 scales = \relative {
11   a ais b c cis d dis e f fis g gis
12   a
13 }
14
15 \new Staff \with {
16   \remove "Accidental_engraver"
17   \remove "Key_engraver" 
18   staffLineLayoutFunction = #ly:pitch-semitones
19   middleCPosition = #-6
20   clefGlyph = #"clefs.G"
21   clefPosition = #(+ -6 7)
22 }
23 {
24   \override Staff.StaffSymbol #'line-count = #5
25   \time 4/4
26   <<
27     \scales
28     \context NoteNames {
29       \set printOctaveNames= ##f
30       \scales
31     }
32   >>
33 }