« Introduction à LilyPond/Partition de chant et grille d'accords » : différence entre les versions

Contenu supprimé Contenu ajouté
P-e (discussion | contributions)
He7d3r (discussion | contributions)
m -code invalid in HTML5: <font> was deprecated a long time ago; use of CSS to format, instead of superfluous (and obsolete) "big" tags
Ligne 1 :
{{lilypond}}
 
<div style="font-size: 170%; margin: 1em 0 0 0; border-bottom: 1px solid #aaa; padding: 0.2em 0;">4. Une ligne mélodique complète</div>
<br />
Il est possible de placer sur la même partition la ligne mélodique du chant, la grille d'accord ainsi que les paroles. Pour ce faire, il faut créer trois voix, en utilisant les <fontspan id="double_crochet_pointu2">doubles crochets pointus</fontspan> <code>&lt;&lt;</code> et <code>&gt;&gt;</code>. La première voix contient les accords, la deuxième voix la ligne mélodique et la troisième les paroles.
<big><big><big>5. Partition de chant et grille d'accords </big></big></big>
----
 
Il est possible de placer sur la même partition la ligne mélodique du chant, la grille d'accord ainsi que les paroles. Pour ce faire, il faut créer trois voix, en utilisant les <font id="double_crochet_pointu2">doubles crochets pointus</font> <code>&lt;&lt;</code> et <code>&gt;&gt;</code>. La première voix contient les accords, la deuxième voix la ligne mélodique et la troisième les paroles.
 
Il faut s'attacher à faire correspondre les durées d'une voix à l'autre.
Ligne 16 ⟶ 13 :
\version "''version''"
<fontspan colorstyle="color: #AA0000;"><fontspan id="header1">\header</fontspan> {</fontspan>
<fontspan id="title1">title</fontspan> = "''titre de l'oeuvre''"
<fontspan id="composer1">composer</fontspan> = "''nom du compositeur"
<fontspan colorstyle="color: #AA0000;">}</fontspan>
<fontspan colorstyle="color: #AA0000;"><fontspan id="score1">\score</fontspan> {</fontspan>
<fontspan colorstyle="color: #00AA00;"><<</fontspan>
<fontspan colorstyle="color: #0000AA;"><fontspan id="chords1">\chords</fontspan> {</fontspan>
''accords''
<fontspan colorstyle="color: #0000AA;">}</fontspan>
<fontspan colorstyle="color: #0000AA;">{</fontspan>
''ligne mélodique''
<fontspan colorstyle="color: #0000AA;">}</fontspan>
<fontspan colorstyle="color: #0000AA;"><fontspan id="addlyrics1">\addlyrics</fontspan> {</fontspan>
''paroles''
<fontspan colorstyle="color: #0000AA;">}</fontspan>
<fontspan colorstyle="color: #00AA00;">>></fontspan>
<fontspan colorstyle="color: #AA0000;">}</fontspan>
 
Le contexte <code>\header</code> est un en-tête permet de définir le titre de l'œuvre et le nom du compositeur ; ils seront affiché en haut de la partition.
Ligne 76 ⟶ 73 :
LilyPond s'occupe d'aligner les syllabes avec les notes de la mélodie, encore faut-il lui indiquer les syllabes.
 
L'espace entre deux mots indique un changement de note. Au sein d'un mot, les syllabes doivent être séparées par la combinaison « espace + deux <fontspan id="signe_moins3">tirets</fontspan> + espace ». Cela indique également à LilyPond comment faire les césures.
 
Lorsqu'une syllabe est chantée sur plusieurs notes (<fontspan id="melisme1">mélisme</fontspan>), on place deux <fontspan id="tiret_de_soulignement2">tirets de soulignement</fontspan> « <code>__</code> » après. Il peut être nécessaire, dans la ligne mélodique, d'encadrer les notes du mélisme par les commandes <code>\melisma</code> et <code>\melismaEnd</code>. Lorsque les notes sont inclues dans une liaison non rythmique (liaison d'expression) - par les signes <code>(</code> et <code>)</code>, une seule syllabe sera allouée aux notes inclues dans la liaison.
 
Pour au contraire affecter plusieurs syllabes à une seule note, on les sépare d'un tiret de soulignement, ou bien on les met entre <fontspan id="guillemet2">guillemets</fontspan> « <code>"</code> ». Pour faire figurer des guillemets dans le texte imprimé, il faut faire précéder le guillemet d'une barre de fraction inversée « <code>\"</code> ».
 
Si l'on veut que les paroles sautent une ou plusieurs notes, on utilise la commande <code>\skip</code> suivi d'un espace puis de la valeur rythmique à sauter (par exemple <code>\skip 4</code> pour sauter une noire).
Ligne 88 ⟶ 85 :
; Exemple
...
<fontspan colorstyle="color: #0000AA;">\relative c' {</fontspan>
\clef treble
Ligne 94 ⟶ 91 :
c8 c c d e4 d c8 e d d c2
<fontspan colorstyle="color: #0000AA;">\addlyrics {</fontspan>
\set stanza = "1. "
Au clair de la Lu -- ne
mon a -- mi Pier -- rot
<fontspan colorstyle="color: #0000AA;">}</fontspan>
<fontspan colorstyle="color: #0000AA;">\addlyrics {</fontspan>
\set stanza = "2. "
Au clair de la Lu -- ne
Pier -- rot ré -- pon -- dit
<fontspan colorstyle="color: #0000AA;">}</fontspan>
...
 
Ligne 111 ⟶ 108 :
En général, seul le premier couplet est sous la ligne mélodique, les autres sont en fin de morceau.
 
Pour cela, il faut ajouter un environnement <code><fontspan id="markup3">\markup</fontspan></code> après la fermeture de l'environnement <code>\score</code>. La structure globale est alors la suivante :
\version "''version''"
<fontspan colorstyle="color: #AA0000;">\header {</fontspan>
''comme à l'habitude''
<fontspan colorstyle="color: #AA0000;">}</fontspan>
<fontspan colorstyle="color: #AA0000;">\score {</fontspan>
''comme à l'habitude''
<fontspan colorstyle="color: #AA0000;">}</fontspan>
<fontspan colorstyle="color: #AA0000;">\markup {</fontspan>
<fontspan colorstyle="color: #00AA00;"><fontspan id="column1">\column{</fontspan></fontspan>
<fontspan colorstyle="color: #0000AA;"><fontspan id="line1">\line{</fontspan></fontspan> Couplet 2. <fontspan colorstyle="color: #0000AA;">}</fontspan>
<fontspan colorstyle="color: #0000AA;">\line{</fontspan> ''première strophe'' <fontspan colorstyle="color: #0000AA;">}</fontspan>
<fontspan colorstyle="color: #0000AA;">\line{</fontspan> ''deuxième strophe'' <fontspan colorstyle="color: #0000AA;">}</fontspan>
''etc.''
<fontspan colorstyle="color: #00AA00;">}</fontspan>
<fontspan colorstyle="color: #AA0000;">}</fontspan>
 
== Exemple ==
Ligne 135 ⟶ 132 :
\version "2.10"
<fontspan colorstyle="color: #AA0000;">\header {</fontspan>
title = "Au clair de la Lune"
composer = "Jean-Baptiste Lully ?"
<fontspan colorstyle="color: #AA0000;">}</fontspan>
<fontspan colorstyle="color: #AA0000;">\score {</fontspan>
<fontspan colorstyle="color: #00AA00;"><<</fontspan>
<fontspan colorstyle="color: #0000AA;">\chords {</fontspan>
\frenchChords
<fontspan colorstyle="color: #555500;">\repeat "unfold" 2 {</fontspan>
c1 c4 g4 c2
<fontspan colorstyle="color: #555500;">}</fontspan>
d2:m a d g
c1 c4 g4 c2
<fontspan colorstyle="color: #0000AA;">}</fontspan>
<fontspan colorstyle="color: #0000AA;">\relative c' {</fontspan>
\clef treble
Ligne 159 ⟶ 156 :
\tempo 4=80
<fontspan colorstyle="color: #555500;">\repeat "unfold" 2 {</fontspan>
c8 c c d e4 d c8 e d d c2
<fontspan colorstyle="color: #555500;">}</fontspan>
d8 d d d a4 a d8 c b a g2
c8 c c d e4 d c8 e d d c2
\bar "|."
<fontspan colorstyle="color: #0000AA;">}</fontspan>
<fontspan colorstyle="color: #0000AA;">\addlyrics {</fontspan>
\set stanza = "1. "
Au clair de la Lu -- ne
Ligne 177 ⟶ 174 :
ou -- vre moi ta por -- te
pour l'am -- our de dieu
<fontspan colorstyle="color: #0000AA;">}</fontspan>
<fontspan colorstyle="color: #0000AA;">\addlyrics {</fontspan>
\set stanza = "2. "
Au clair de la Lu -- ne
Ligne 189 ⟶ 186 :
car dans sa cui -- si -- ne
on bat le bri -- quet
<fontspan colorstyle="color: #0000AA;">}</fontspan>
<fontspan colorstyle="color: #00AA00;">>></fontspan>
<fontspan colorstyle="color: #AA0000;">}</fontspan>
 
[[Image:Ly au clair de la lune accords melodie paroles.png|500px]]