7 In improvisation, noteheads do not have a pitch, and have different
8 shapes. In this example, this is achieved by adding
9 @code{Pitch_squash_engraver} and setting @code{squashedPosition} when the
10 improvisation is active.
18 \set squashedPosition = #0
19 \override NoteHead #'style = #'slash
23 \unset squashedPosition
24 \revert NoteHead #'style
27 global = { s1*3 \bar "|." }
31 \context ChordNames \chords {
32 e8*7:m7 a2.:m7 bes4:m7 b1:m7 e8:m
35 \context Voice = melo \transpose c c' {
36 e8 e g a a16(bes)(a8) g \improOn
39 ~fis2 \improOff a16(bes) a8 g e
46 \consists Pitch_squash_engraver