X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fsnippets%2Fsubdividing-beams.ly;h=d1def0181532d0b1728343c516ae6ba6d6b8caba;hb=8cce5dd067a8a2bab508f5abebc3955db8837bbf;hp=c96569bdc86413da43706e97590dd10a92326dbb;hpb=e1a149d0cc60b02e86209387958f4028567dd366;p=lilypond.git diff --git a/Documentation/snippets/subdividing-beams.ly b/Documentation/snippets/subdividing-beams.ly index c96569bdc8..d1def01815 100644 --- a/Documentation/snippets/subdividing-beams.ly +++ b/Documentation/snippets/subdividing-beams.ly @@ -1,65 +1,45 @@ -% Do not edit this file; it is automatically -% generated from Documentation/snippets/new -% This file is in the public domain. -%% Note: this file works from version 2.13.29 -\version "2.13.31" +%% DO NOT EDIT this file manually; it is automatically +%% generated from LSR http://lsr.di.unimi.it +%% Make any changes in LSR itself, or in Documentation/snippets/new/ , +%% and then run scripts/auxiliar/makelsr.py +%% +%% This file is in the public domain. +\version "2.18.0" \header { -%% Translation of GIT committish: 190a067275167c6dc9dd0afef683d14d392b7033 - texidocfr = " -Les ligatures d'une succession de notes de durée inférieure à la croche -ne sont pas subdivisées par défaut. Autrement dit, tous les traits de -ligature ( deux ou plus) seront continus. Ce comportement peut être -modifié afin de diviser la ligature en sous-groupes grâce à la propriété -@code{subdivideBeams}. Lorsqu'elle est activée, les ligatures seront -subdivisées selon un intervalle défini par @code{baseMoment}@tie{}; il n'y -aura alors plus qu'un seul trait de ligature entre chaque sous-groupe. -Par défaut, @code{baseMoment} fixe la valeur de référence par rapport à -la métrique en vigueur. Il faudra donc lui fournir, à l'aide de la -fonction @code{ly:make-moment}, une fraction correspondant à la durée du -sous-groupe désiré comme dans l'exemple ci-dessous. Gardez à l'esprit -que, si vous venez à modifier @code{baseMoment}, vous devrez -probablement adapter @code{beatStrusture} afin qu'il reste en adéquation -avec les nouvelles valeurs de @code{baseMoment}. - -" - doctitlefr = "Subdivision des ligatures" - lsrtags = "rhythms" texidoc = " The beams of consecutive 16th (or shorter) notes are, by default, not subdivided. That is, the three (or more) beams stretch unbroken over -entire groups of notes. This behavior can be modified to subdivide -the beams into sub-groups by setting the property -@code{subdivideBeams}. When set, multiple beams will be subdivided at -intervals defined by the current value of @code{baseMoment} by reducing -the multiple beams to just one beam between the sub-groups. Note that -@code{baseMoment} defaults to one over the denominator of the current -time signature if not set explicitly. It must be set to a fraction -giving the duration of the beam sub-group using the +entire groups of notes. This behavior can be modified to subdivide the +beams into sub-groups by setting the property @code{subdivideBeams}. +When set, multiple beams will be subdivided at intervals defined by the +current value of @code{baseMoment} by reducing the multiple beams to +the number of beams that indicates the length of the sub-group. Note +that @code{baseMoment} defaults to one over the denominator of the +current time signature if not set explicitly. It must be set to a +fraction giving the duration of the beam sub-group using the @code{ly:make-moment} function, as shown in this snippet. Also, when -@code{baseMoment} is changed, @code{beatStructure} should also be changed -to match the new @code{baseMoment}: +@code{baseMoment} is changed, @code{beatStructure} should also be +changed to match the new @code{baseMoment}: " doctitle = "Subdividing beams" } % begin verbatim - \relative c'' { c32[ c c c c c c c] \set subdivideBeams = ##t c32[ c c c c c c c] % Set beam sub-group length to an eighth note - \set baseMoment = #(ly:make-moment 1 8) + \set baseMoment = #(ly:make-moment 1/8) \set beatStructure = #'(2 2 2 2) c32[ c c c c c c c] % Set beam sub-group length to a sixteenth note - \set baseMoment = #(ly:make-moment 1 16) + \set baseMoment = #(ly:make-moment 1/16) \set beatStructure = #'(4 4 4 4) c32[ c c c c c c c] } -