lilypond-user-fr
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: chords grid


From: JeanPi
Subject: Re: chords grid
Date: Sun, 27 Nov 2011 08:05:24 -0800 (PST)

Bonjour,

Je suppose que tu parles aussi français car ici c'est Lilipond French Users
;)

Cela fait un moment que je cherche a faire des grilles avec lilypond et j'ai
trouvé une solution.
La notation avec une barre oblique prête a confusions (accords avec basse
différente) et je pense qu'un affichage avec un espacement proportionnel est
suffisant dans la majorité des cas. Quelques annotations rythmiques sous la
grille peuvent aider a expliciter.

Bref j'ai fait ça:

%------------------------
\version "2.14.0"

\paper {
        indent = 0
        system-system-spacing #'basic-distance = #20
}

structure = {
        \key e \major
        \mark \markup \box "test"
        s1 * 4 \break
        \bar "|:" s1 * 2 \bar ":|" s1 * 2
}

accords = \chordmode {|
        c2      c2:7    r8 f4.  f2:m    c2:7 f:7 c1:7 |
        c1 f c2 f2 g1
}

rythme = { 
        \stemDown
        b8 b16 b16 b4 b4. r8 r8 b4. b2 b2 b2 b1 
        s1 s1 s1 s1
}

\layout {
        \context { \Score 
        \remove "Bar_number_engraver" 
        proportionalNotationDuration = #(ly:make-moment 1 8) 
        } 
        \context { \ChordNames
                
                \override ChordName #'font-name = #"Deja Vu Sans" 
                \override ChordName #'font-size = #5
                
                noChordSymbol = #(make-simple-markup "-")
                \override BarLine #'bar-extent = #'(-2 . 5)
                \consists "Bar_engraver"
                \override VerticalAxisGroup #'nonstaff-relatedstaff-spacing 
#'padding = #0
        }
        \context { \RhythmicStaff
                \override NoteHead #'style = #'slash
                \override NoteHead #'font-size = #-2
                \remove "Time_signature_engraver"
                \remove "Bar_engraver"
        }
}

\score {
        << 
                \new RhythmicStaff \with {
                        \override VerticalAxisGroup #'staff-affinity = #DOWN
                } \structure
                \new ChordNames \accords
                \new RhythmicStaff \rythme
        >> 
        \layout {}
}
%------------------------
Un peu d'analyse devrait permettre d'adapter a tes désirs.

Cordialement



-----
Lily Pond et le Jazz 
--
View this message in context: 
http://lilypond-french-users.1298960.n2.nabble.com/chords-grid-tp7029465p7036540.html
Sent from the LilyPond French Users mailing list archive at Nabble.com.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]