]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/positioning-multi-measure-rests.ly
Change stringTunings from list of semitones to list of pitches
[lilypond.git] / Documentation / snippets / positioning-multi-measure-rests.ly
1 %% Do not edit this file; it is automatically
2 %% generated from LSR http://lsr.dsi.unimi.it
3 %% This file is in the public domain.
4 \version "2.13.39"
5
6 \header {
7   lsrtags = "rhythms, tweaks-and-overrides"
8
9 %% Translation of GIT committish: a874fda3641c9e02f61be5c41b215b8304b8ed00
10  doctitlees = "Posicionar los silencios multicompás"
11  texidoces = "
12 A diferencia de los silencios normales, no existe una instrucción
13 predefinida para modificar la posición predeterminada de un
14 símbolo de silencio multicompás sobre el pentagrama, adjuntándolo
15 a una nota, independientemente de cuál sea su forma.  Sin embargo,
16 en la música polifónica los silencios multicompás de las voces de
17 numeración par e impar están separados verticalmente.  La
18 colocación de los silencios multicompás se puede controlar como se
19 ve a continuación:
20
21 "
22
23 %% Translation of GIT committish: 0a868be38a775ecb1ef935b079000cebbc64de40
24 texidocde = "
25 Anders als bei normalen Pausen gibt es keinen direkten Befehl, um die
26 vertikale Position von Ganztaktpausen zu beeinflussen, indem man sie an
27 eine Tonhöhe anhängt.  In polyphoner Notation wird aber dennoch die
28 Position der Pausen von geraden und ungeraden Stimmen voneinander
29 unterschieden.  Die Position von Ganztaktpausen kann wie folgt verändert
30 werden:
31  "
32   doctitlede = "Positionierung von Ganztaktpausen"
33
34
35
36 %% Translation of GIT committish: 4da4307e396243a5a3bc33a0c2753acac92cb685
37   texidocfr = "
38 Si l'on peut positionner verticalement un silence simple en le
39 rattachant à une note, il n'en va pas de même pour un silence
40 multi-mesures.  Néanmoins, et uniquement dans le cadre de musique
41 polyphonique, les silences multi-mesures sont positionnés différemment
42 selon qu'ils appartiennent à une voix au numéro pair ou impair.  Le
43 positionnement des silences multi-mesures peut se contrôler ainsi :
44 "
45   doctitlefr = "Positionnement des silences multi-mesures"
46
47   texidoc = "
48 Unlike ordinary rests, there is no predefined command to change the
49 staff position of a multi-measure rest symbol of either form by
50 attaching it to a note.  However, in polyphonic music multi-measure
51 rests in odd-numbered and even-numbered voices are vertically
52 separated. The positioning of multi-measure rests can be controlled as
53 follows:
54
55 "
56   doctitle = "Positioning multi-measure rests"
57 } % begin verbatim
58
59 \relative c'' {
60   % MMR - Multi-Measure Rest
61   % MMRs by default are set under the fourth line
62   R1
63   % They can be moved with an override
64   \override MultiMeasureRest #'staff-position = #-2
65   R1
66   % A value of 0 is the default position;
67   % the following trick moves the rest to the center line
68   \override MultiMeasureRest #'staff-position = #-0.01
69   R1
70   % MMRs in odd-numbered voices are under the top line
71   << { R1 } \\ { a1 } >>
72   % MMRs in even-numbered voices are under the bottom line
73   << { c1 } \\ { R1 } >>
74   % They remain separated even in empty measures
75   << { R1 } \\ { R1 } >>
76   % This brings them together even though there are two voices
77   \compressFullBarRests
78   <<
79     \revert MultiMeasureRest #'staff-position
80     { R1*3 }
81     \\
82     \revert MultiMeasureRest #'staff-position
83     { R1*3 }
84   >>
85 }