*** empty log message ***
[lilypond.git] / input / test / improv.ly
blobfc8faf52cb90df494a8b0a352d2f787b04d738e4
1 \version "1.7.18"
2 \header {
4 texidoc =
7 "@cindex improvisation
10 Noteheads for improvisation have a different shape.
13 " }
16 improOn = \notes {\translator Voice = impro }
17 improOff = \notes {\translator SquashVoice = melo }
19 global = \notes { s1*3 \bar "|." }
21 \score {
23 \context ChordNames \chords {e8*7:m7 a2.:m7 bes4:m7 b1:m7 e8:m }
24 \context Staff \notes <
25 \context SquashVoice = impro { \global }
26 \context Voice = melo \transpose c c' {
27 e8 e g a a16(bes-)(a8-) g \improOn e8
28 ~e2~e8 f4 fis8
29 ~fis2 \improOff a16(bes-) a8 g e
33 \paper {
34 \translator {
35 \VoiceContext
36 \name SquashVoice
37 \alias Voice
38 \consists Pitch_squash_engraver
39 squashedPosition = #0
40 NoteHead \override #'style = #'slash
43 \translator {
44 \VoiceContext
45 \alias SquashVoice
48 \translator {
49 \StaffContext
50 \remove "Accidental_engraver"
51 \accepts SquashVoice
53 raggedright = ##t