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

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

Re: diagramme et nom d'accord


From: Jean-Pierre Achard
Subject: Re: diagramme et nom d'accord
Date: Fri, 11 Apr 2014 18:54:36 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.3.0

Merci pour ta réponse.
C'est tout-à fait ce que je veux, mais effectivement c'est compliqué et on n'utilise pas le context accords.
Voici un extrait du fichier que je voudrais modifier.
Le schéma est mis pour que l'élève puisse utiliser la gamme tout en suivant la grille d'accords et le 3ème accord est situé bien trop haut par rapport à la partition.
Merci.
Jean-Pierre

\version "2.16.2"


grille =

\chordmode

{

\set chordChanges = ##t

{

g1:13

c1:9

g1:13

g1:13

\break

}

}


accords =

{

\override ChordNames . ChordName #'font-size = #2

\override ChordNames . ChordName #'font-name = #"lilyjazzchord"

\grille

}


melody =

{

\new Staff

\clef "treble_8"

\key g \major

\relative c'

{

s1^\markup{\override #'(size . 2.5)\fret-diagram-terse #"3 6;3 5;3 5;3 5;3 6;3 6;"}_"Gamme de Sol Min. Penta."

s1^\markup{\override #'(size . 2.5)\fret-diagram-terse #"3 6;3 4 5;3 5;3 5;3 5 6;3 6;"}_"Gamme de Sol Blues"

s1

s1

\break

s1

}

}


\score

{

<<

\new StaffGroup

<<

\accords

\melody

>>

>>

\layout{ }

}





Le 11/04/2014 16:03, Schneidy a écrit :
Bonjour Jean-Pierre,

En \markup tout est possible mais c'est un peu fastidieux.
Si l'on reprend cet exemple :
http://www.lilypond.org/doc/v2.19/Documentation/snippets/fretted-strings#fretted-strings-how-to-change-fret-diagram-position

ça donnerait :

%%%%%%%%%%%%%%%%%%%%%%%%%%%
\version "2.19.2"

\score {
  <<
     \context Staff {
        a8 ^\markup\center-column { 
            \fret-diagram  #"6-x;5-0;4-2;3-0;2-0;1-2;" 
            \vspace #.3 \concat\huge\sans { "A" \raise #1 \small { "9"
\hspace #.4 "13" } }
          }
       b4.~ ^\markup\center-column { 
            \fret-diagram  #"6-x;5-2;4-4;3-2;2-2;1-4;"
            \vspace #.3 \concat\huge\sans { "B" \raise #1 \small { "9"
\hspace #.4 "13" } }
          }
       b4. a8
     }
  >>
  \layout {
    ragged-right = ##f
  }
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%



--
View this message in context: http://lilypond-french-users.1298960.n2.nabble.com/diagramme-et-nom-d-accord-tp7581136p7581149.html
Sent from the LilyPond French Users mailing list archive at Nabble.com.

_______________________________________________
liste de diffusion lilypond-user-fr
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user-fr




reply via email to

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