<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <!-- header_tag --> <html lang="en"> <head> <title>Notation polymétrique - GNU LilyPond - manuel de notation</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta name="description" content="GNU LilyPond - manuel de notation"> <meta name="generator" content="makeinfo 4.11"> <link title="Top" rel="start" href="index.fr.html#Top"> <link rel="up" href="Displaying-rhythms.fr.html#Displaying-rhythms" title="Gravure du rythme"> <link rel="prev" href="Unmetered-music.fr.html#Unmetered-music" title="Musique sans métrique"> <link rel="next" href="Automatic-note-splitting.fr.html#Automatic-note-splitting" title="Découpage automatique des notes"> <link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage"> <meta http-equiv="Content-Style-Type" content="text/css"> <style type="text/css"><!-- pre.display { font-family:inherit } pre.format { font-family:inherit } pre.smalldisplay { font-family:inherit; font-size:smaller } pre.smallformat { font-family:inherit; font-size:smaller } pre.smallexample { font-size:smaller } pre.smalllisp { font-size:smaller } span.sc { font-variant:small-caps } span.roman { font-family:serif; font-weight:normal; } span.sansserif { font-family:sans-serif; font-weight:normal; } hr { border:0; height:1; color: #000000; background-color: #000000; } /* hr { border: none; height: 1px; color: #666666; background-color: #666666; } body { border-left: 1px solid #666666; border-right: 1px solid #666666; color: #332d28; margin-right: auto; margin-left: auto; width: 60em; list-style-type: square; font-family: Arial,Helvetica,sans-serif; padding-right: 1em; padding-left: 1em; } a { border-bottom: 1px dashed #344242; text-decoration: none; color: #344242; } a:link { text-decoration: none; } a:visited { border-bottom: 1px dashed #666666; color: #666666; } a:active { border-bottom: 1px solid #00cccc; color: #00cccc; } a:hover { border-bottom: 1px solid #1d7b85; color: #1d7b85; } blockquote { border: 1px solid #cccccc; padding: 3px; width: 40em; } .node { border-left: 1px solid #666666; margin: -0.5em 0px 1em; padding: 2px 1px 0px; font-style: italic; } .node a { border: none; text-decoration: underline; font-style: normal; font-weight: bold; } .verbatim { font-family: "Courier New",Courier,monospace; } .unnumberedsubsubsec { font-size: large; color: #1d7b85; } .subsubheading { font-size: large; color: #3b220d; } .contents { border: 1px dashed #339999; margin: 3px 2em; list-style-type: square; padding-right: 1em; width: 40em; background-color: #fcfff9; } .contents a { border-bottom: 1px dashed #423d34; text-decoration: none; color: #423d34; } .contents a:visited { border-bottom: 1px dashed #666666; color: #666666; } .contents a:active { border-bottom: 1px solid #f0d86d; color: #f0d86d; } .contents a:hover { border-bottom: 1px solid #3b220d; color: #3b220d; } .menu { border-left: 1px dashed #339999; margin: 3px 2em 1em; list-style-type: square; padding-left: 1.4em; width: 40em; } .unnumbered { } h2 { font-size: x-large; color: #1d7b85; } */ --></style> </head> <BODY BGCOLOR=WHITE TEXT=BLACK> <div class="node"> <p> <a name="Polymetric-notation"></a> Suivant : <a rel="next" accesskey="n" href="Automatic-note-splitting.fr.html#Automatic-note-splitting">Découpage automatique des notes</a>, Précédent : <a rel="previous" accesskey="p" href="Unmetered-music.fr.html#Unmetered-music">Musique sans métrique</a>, Haut : <a rel="up" accesskey="u" href="Displaying-rhythms.fr.html#Displaying-rhythms">Gravure du rythme</a> <hr> </div> <h5 class="subsubsection">1.2.3.4 Notation polymétrique</h5> <p><a name="index-m_00c3_00a9trique-composite-250"></a><a name="index-composite_002c-m_00c3_00a9trique-251"></a><a name="index-m_00c3_00a9trique-polym_00c3_00a9trique-252"></a><a name="index-polym_00c3_00a9trie-253"></a> LilyPond ne gère pas les métriques composites de manière explicite, mais on peut contourner ce problème. Dans l'exemple suivant, l'indicateur de métrique est obtenu grâce à une étiquette textuelle. Cette étiquette vient s'insérer dans l'objet graphique (<em>grob</em>) <a name="index-TimeSignature-254"></a><a href="../lilypond-internals/TimeSignature.fr.html#TimeSignature">TimeSignature</a>. <pre class="verbatim"> % Create 9/8 split into 2/4 + 5/8 tsMarkup = \markup { \override #'(baseline-skip . 2) \number { \column { "2" "4" } \vcenter "+" \bracket \column { "5" "8" } } } { \override Staff.TimeSignature #'stencil = #ly:text-interface::print \override Staff.TimeSignature #'text = #tsMarkup \time 9/8 c'2 \bar ":" c'4 c'4. c'2 \bar ":" c'4 c'4. } </pre> <p> <a href="../c1/lily-dac174df.ly"> <img align="middle" border="0" src="../c1/lily-dac174df.png" alt="[image of music]"> </a> </p> <p><em>Compound time signatures</em> <p>Odd 20th century time signatures (such as "5/8") can often be played as compound time signatures (e.g. "3/8 + 2/8"), which combine two or more inequal metrics. LilyPond can make such music quite easy to read and play, by explicitly printing the compound time signatures and adapting the automatic beaming behavior. (Graphic measure grouping indications can also be added; see the appropriate snippet in this database.) <blockquote> <pre class="verbatim"> #(define (compound-time one two num) (markup #:override '(baseline-skip . 0) #:number (#:line ((#:column (one num)) #:vcenter "+" (#:column (two num)))) )) \relative { \override Staff.TimeSignature #'stencil = #ly:text-interface::print \override Staff.TimeSignature #'text = #(compound-time "2" "3" "8") \time 5/8 #(override-auto-beam-setting '(end 1 8 5 8) 1 4) c8 d e fis gis c8 fis, gis e d c8 d e4 gis8 } </pre> <p> <a href="../0f/lily-0ef8d6dd.ly"> <img align="middle" border="0" src="../0f/lily-0ef8d6dd.png" alt="[image of music]"> </a> </p> </blockquote> <p>Il arrive aussi que chaque portée ait sa propre métrique. Vous y parviendrez en déplaçant le <a name="index-Timing_005ftranslator-255"></a><a href="../lilypond-internals/Timing_005ftranslator.fr.html#Timing_005ftranslator">Timing_translator</a> dans le contexte <a name="index-Staff-256"></a><a href="../lilypond-internals/Staff.fr.html#Staff">Staff</a>. <pre class="example">\layout { \context { \Score \remove "Timing_translator" \remove "Default_bar_line_engraver" } \context { \Staff \consists "Timing_translator" \consists "Default_bar_line_engraver" } } </pre> <p>Maintenant, chacune des portées dispose de sa propre métrique. <pre class="example"><< \new Staff { \time 3/4 c4 c c | c c c | } \new Staff { \time 2/4 c4 c | c c | c c } \new Staff { \time 3/8 c4. c8 c c c4. c8 c c } >> </pre> <blockquote> <p> <a href="../7e/lily-46718741.ly"> <img align="middle" border="0" src="../7e/lily-46718741.png" alt="[image of music]"> </a> </p> </blockquote> <p>Une autre forme de notation polymétrique consiste dans le fait que des notes aient une durée relative différente selon la portée. <p>Vous pouvez créer une telle notation en définissant une métrique commune à toutes les portées, que vous proratiserez manuellement selon le cas en utilisant <code>timeSignatureFraction</code> pour obtenir la division adéquate pour chaque portée. Les durées, dans chacune des portées, seront alors échelonnées par rapport à la métrique commune. L'échelle de représentation se règle avec <code>\scaleDurations</code> — qui fonctionne comme <code>\times</code>, sans toutefois créer de crochet. La syntaxe appropriée est : <pre class="example">\scaleDurations #'(<var>numérateur</var> . <var>dénominateur</var>) <var>exprmusicale</var> </pre> <p>L'exemple suivant utilise parallèlement des mesures à 3/4, 9/8 et 10/8. Pour la deuxième portée, les durées sont multipliées par 2/3, de telle sorte que 2/3 * 9/8 = 3/4<!-- /@w --> ; pour la troisième, elles sont multipliées par 3/5, de telle sorte que 3/5 * 10/8 = 3/4<!-- /@w -->. <blockquote> <pre class="verbatim"> \relative c' { << \new Staff { \time 3/4 c4 c c | c c c | } \new Staff { \time 3/4 \set Staff.timeSignatureFraction = #'(9 . 8) \scaleDurations #'(2 . 3) \repeat unfold 6 { c8[ c c] } } \new Staff { \time 3/4 \set Staff.timeSignatureFraction = #'(10 . 8) \scaleDurations #'(3 . 5) { \repeat unfold 2 { c8[ c c] } \repeat unfold 2 { c8[ c] } | c4. c4. \times 2/3 { c8 c c } c4 } } >> } </pre> <p> <a href="../cc/lily-a61ebd6d.ly"> <img align="middle" border="0" src="../cc/lily-a61ebd6d.png" alt="[image of music]"> </a> </p> </blockquote> <p class="noindent"> <h5 class="subsubheading">Voir aussi</h5> <p>Exemples : <a name="index-Rhythms-257"></a><a href="../../../input/lsr/lilypond-snippets/Rhythms.html#Rhythms">Rythme</a>. <p class="noindent"> <h5 class="subsubheading">Problèmes connus et avertissements</h5> <p>L'utilisation de métriques différentes en parallèle entraine un alignement vertical. De ce fait, les barres de mesure ont tendance à fausser l'espacement régulier. <!-- footer_tag --><br><hr> <div class="node"> <p> Suivant : <a rel="next" accesskey="n" href="Automatic-note-splitting.fr.html#Automatic-note-splitting">Découpage automatique des notes</a>, Précédent : <a rel="previous" accesskey="p" href="Unmetered-music.fr.html#Unmetered-music">Musique sans métrique</a>, Haut : <a rel="up" accesskey="u" href="Displaying-rhythms.fr.html#Displaying-rhythms">Gravure du rythme</a> </div> <div style="background-color: #e8ffe8; padding: 2; border: #c0ffc0 1px solid;"> <p> <font size="-1"> Cette page documente LilyPond-2.11.57 (branche de développement). <br> <address> Rapportez toute anomalie en français à <a href="mailto:lilypond-user-fr@gnu.org">lilypond-user-fr@gnu.org</a> ou en anglais à <a href="http://post.gmane.org/post.php?group=gmane.comp.gnu.lilypond.bugs">http://post.gmane.org/post.php?group=gmane.comp.gnu.lilypond.bugs</a> </address> <br> Vos <a href="http://lilypond.org/web/devel/participating/documentation-adding">suggestions à propos de la documentation</a> sont les bienvenues. </font> </p> </div> <P> Autres langues : <a href="Polymetric-notation.html">English</a>. <BR> </P> </BODY></html>