X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fsnippets%2Fadding-drum-parts.ly;h=f6f40efa194d1fecfb069b474ed965ddb4c345a2;hb=f22c889b1389cb7d761580762fe77973780f2f86;hp=3b010c35f9ef6156898e0eecec03d3b71f110001;hpb=ee2fdacf2ff3acd7e6fb7c4005dfe698b1cc4eed;p=lilypond.git diff --git a/Documentation/snippets/adding-drum-parts.ly b/Documentation/snippets/adding-drum-parts.ly index 3b010c35f9..f6f40efa19 100644 --- a/Documentation/snippets/adding-drum-parts.ly +++ b/Documentation/snippets/adding-drum-parts.ly @@ -1,38 +1,13 @@ -%% Do not edit this file; it is automatically +%% DO NOT EDIT this file manually; it is automatically %% generated from LSR http://lsr.dsi.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.13.16" +\version "2.15.40" \header { - lsrtags = "rhythms, percussion" - -%% Translation of GIT committish: 2b0dc29608d6c3f5a03ead4877ae514c647adb74 - texidoces = " -Mediante la utilización de las potentes herramientas preconfiguradas -como la función @code{\\drummode} y el contexto @code{DrumStaff}, la -introducción de partes para percusión es muy fácil: las percusiones se -sitúan en sus propias posiciones de pentagrama (con una clave -especial) y tienen las cabezas correspondientes al instrumento. Es -posible añadir un símbolo adicional a la percusión o reducir el número -de líneas. - -" - doctitlees = "Escritura de partes de percusión" - -%% Translation of GIT committish: 9a65042d49324f2e3dff18c4b0858def81232eea - texidocfr = " -Grâce à la puissance des outils préconfigurés tels que la fonction -@code{\\drummode} et le contexte @code{DrumStaff}, la saisie de -parties pour percussions est extrêmement simplifiée : chaque composant -d'une batterie trouve sa place sur une portée dédiée (avec une clef -spécifique) et les têtes de note sont spécifiques à chaque élément. -Il est également possible d'affecter un symbole particulier à chaque -élément, tout comme de restreindre le nombre de lignes de la portée. - -" - - doctitlefr = "Ajout de parties de batterie" - + lsrtags = "really-simple, preparing-parts, specific-notation, percussion, rhythms" texidoc = " Using the powerful pre-configured tools such as the @code{\\drummode} @@ -46,6 +21,7 @@ lines is possible. doctitle = "Adding drum parts" } % begin verbatim + drh = \drummode { cymc4.^"crash" hhc16^"h.h." hh hhc8 hho hhc8 hh16 hh hhc4 r4 r2 } drl = \drummode { bd4 sn8 bd bd4 << bd ss >> bd8 tommh tommh bd toml toml bd tomfh16 tomfh } timb = \drummode { timh4 ssh timl8 ssh r timh r4 ssh8 timl r4 cb8 cb } @@ -55,7 +31,7 @@ timb = \drummode { timh4 ssh timl8 ssh r timh r4 ssh8 timl r4 cb8 cb } \new DrumStaff \with { drumStyleTable = #timbales-style \override StaffSymbol #'line-count = #2 - \override BarLine #'bar-size = #2 + \override BarLine #'bar-extent = #'(-1 . 1) } << \set Staff.instrumentName = #"timbales" \timb @@ -68,10 +44,6 @@ timb = \drummode { timh4 ssh timl8 ssh r timh r4 ssh8 timl r4 cb8 cb } >> \layout { } \midi { - \context { - \Score - tempoWholesPerMinute = #(ly:make-moment 120 4) - } + \tempo 4 = 120 } } -