lilypond-user-fr
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Placement des signes de métrique


From: Bernard Meylan
Subject: Re: Placement des signes de métrique
Date: Wed, 19 Feb 2014 13:46:11 -0800 (PST)

Bonsoir à tous,

d'abord merci de vous pencher sur ce sujet. 

Alors dans l'ordre:

1. Jean-Marc: ton code marche farpaitement... je l'ai testé... sur une seule
portée et tout allait bien; va savoir pourquoi lorsque je l'applique sur les
autres portées du système (8), seule la première affiche la métrique (un «O»
coupé par la barre de mesure précédente), les autres ne s'affichent pas.

2. Schneidy: l'option réduisant l'espace disgracieux avant la première note
est inefficace... j'ai beau modifier la valeur, cet espace ne bronche pas.

3. Xavier: j'ai effectué également un \once \override Staff.TimeSignature
#'X-offset = #-2.8... là aussi inefficace: la barre de mesure recule en même
temps que la métrique... donc, impossible de «fusionner» les deux...

Bon, je vous joins mon code... chose que j'aurais dû faire tout de suite:

\version "2.19.0"

scoreDGlobal = {
  \key g \major
  \time 4/2 
}

scoreDViolinI = \relative c'' {
  \scoreDGlobal
  g2 r4 g d'1 c b2 e a, d g, g'~g fis e2. g4 
  % 5
  fis e fis g a e a2 a g~g fis~fis4 d e2~e4 cis d2~d4 b c2~c b a2. g4 g1
  % 10
  r2 d' g g4 fis g d g2 g fis g2. d4 a'1 g2 g4 g fis2 b e, a fis4 e fis g 
  % 15
  a2 r e4 d e fis g d g2~g fis g2. g4 a2. g4 e fis g2 d4 d e d c e d c b a b
c 
  % 20
  a2 r e'4 d e fis g1 g2 g fis4 e fis g a1 g2 g4 g fis2 b e, a fis4 e fis g 
  % 25
  a1 g~g2 fis4 fis b a b g a2 r4 d, g fis g g fis2 r4 d e dis e e dis cis
dis e fis2 fis4 e
  % 30
  dis2 fis4 fis b1 b b,4 a b c g2 r g'4 d g g g g fis d e a, a' a a a g e
fis b, b' b 
  % 35
  b2 ais b fis fis g fis2. e4 d2 d4 d d2 d4 d c1 a' d,2 g a fis4 d 
  % 40
  g e a g fis d g2~g fis g b a fis4 d g2 a4 g fis d g2~g fis g1\fermata r
  \override Staff.TimeSignature.style = #'mensural
  \time 3/2
  g2 g1 
  \override NoteHead #'style = #'baroque
  g\breve*1/2
  \bar "|."
}

scoreDViolinII = \relative c' {
  \scoreDGlobal
  d2 r4 d b'1~b2 a~a g~g fis g b cis a b a 
  % 5
  a4 g a b c2 e d1 c b2. b4 a2. fis4 g2. e4 fis2 g~g fis g g
  % 10
  d'1 c2 c4 c b2 e a, d b1 r2 fis'~fis e~e d~d cis d a' 
  % 15
  fis4 e fis g a2 r d,4 d b b c c c2 b2. g4 d'1 c2 c4 c b2 e a, d g,4 fis g
a 
  % 20
  fis2 r c'4 b c d b2 c d c a fis' e4 d e fis b, cis d e a,2 g'~g4 fis e2 d
r4 b
  % 25
  e d e fis g d d b c2 c4 a b2 r4 e a g a fis g2 r4 b, fis' e fis b, b2 a b4
a b cis dis cis dis e 
  % 30
  fis2 fis4 fis e2 e e dis e r b4 a b c d2 d4 c a d d d d d c a b e, e' e e
e d b
  % 35
  cis fis, fis' fis fis2 e4 e d2 e cis2. b4 b2 b4 b b2 b4 b a1 c2 a b e2.
a,4 d2~
  % 40
  d4 g, c2 c b b a g e'2. a,4 d2. g,4 c2~c b b a b1\fermata r
  \override Staff.TimeSignature.style = #'mensural
  \time 3/2
  f'2 e1
  \override NoteHead #'style = #'baroque
  d\breve*1/2
  %\bar "|."
  
}

scoreDViola = \relative c' {
  \scoreDGlobal
  b2 r4 b d2 g e a d, e d c b e~e d d cis 
  % 5
  d1 e2 c d b e d d2. b4 c2. a4 b2. g4 a2 b4 c d2. d4 b2 b
  % 10
  a1 e'2 e4 d d2 e d c b d d1 b2 a a b a g fis d'4 e 
  % 15
  fis2 d c c4 c b2 e a, d d b a4 g a b c2. d4 d2 b c a d r
  % 20
  d r e r e r d e d2. d4 cis b cis d e2 b4 cis d2 d d cis d r4 d
  % 25
  e2 c d b4 e e2 d d d fis d e g4 g a2 fis g e fis fis fis b
  % 30
  b1 b2 g4 e fis2. a4 g fis g a e2 r b b4 e d2 a e' e e1 r2 fis
  % 35
  fis e d cis4 cis cis2 b~b ais b fis'4 fis gis2 gis4 gis a2 e d1 d2 b a1
  % 40
  b2 c d2. e4 d2 c b1 a b2 c d2. e4 d2 c b1 r
  \override Staff.TimeSignature.style = #'mensural
  \time 3/2
  g'2 g1
  \override NoteHead #'style = #'baroque
  g\breve*1/2
  %\bar "|."
  
}

scoreDSoprano = \relative c'' {
  \scoreDGlobal
  R\breve*8 r1 r2 g 
  % 10
  d'1 c2 c4 c b2 e a, d b4.( a8) g2 r1 R\breve*2 
  % 15
  a4 g a b c2 a4 a d2 d c a b4. b8 b4 g d'1 c2 c4 c b2 e a, d b4.( a8) g2
  % 20
  a4 g a b c2 c4 c b2 c d c a4. a8 a2 r1 R\breve*2
  % 25
  r2 a d1 c2 c4 c b2 e e d d c~c b b2. a4 b2 b dis4 cis dis e
  % 30
  fis2 fis4 fis e2 e e dis e4. e8 e2 b4 a b c d2 d4 c a2 d4 d d2 c4 c b2 e4
e
  
}

scoreDAlto = \relative c'' {
  \scoreDGlobal
  R\breve*8 r1 r2 g 
  % 10
  a1 g2 g4 a g2 g g fis g g4 d a'1 g2 g4 g fis2 b e, a fis4.( e8) d2 
  % 15
  fis4 e fis g a2 e4 fis g2 g g fis g4. g8 g2 r1 R\breve*2
  % 20
  fis4 e fis g a2 e4 fis g2 g g g fis4. fis8 fis4 d a'1 g2 g4 g fis2 b e, a
fis4.( e8) d2 
  % 25
  a' e4 fis g2 g g fis g g4 g a1 g2 g4 g a2 fis g e fis fis fis4 fis fis fis
  % 30
  fis2 fis4 fis g2 g fis fis g4. g8 g2~g1 r2 g4 g g2 fis4 fis e2 a4 a a2 g4
g
  
}

scoreDTenor = \relative c' {
  \scoreDGlobal
  R\breve*8 r1 r2 b 
  % 10
  a1 e'2 e4 d d2 e d d d4.( c8) b2 r1 R\breve r1 r2 a 
  % 15
  d1 c2 c4 c b2 e a, d d d a4 g a b c2 c4 d d2 b c a b4. b8 b2
  % 20
  d4 d d d e2 e4 e e2 e d e d4. d8 d2 cis4 b cis d e2 b4 cis d2 d d cis
dis4. dis8 dis4 dis
  % 25
  e1 d2 b4 b c2 a b b a a e' e4 e fis2 fis e2. e4 dis2 dis b4 a b cis
  % 30
  dis2 dis4 dis e2 b b2. b4 b4. b8 b2 g4 fis g a b2 b4 e d2 a e' e e4. e8 e2
  
}

scoreDBass = \relative c' {
  \scoreDGlobal
  R\breve*8 r1 r2 g 
  % 10
  fis1 e4 d e fis g2 c, d d g g r1 R\breve*4
  % 17
  r1 fis4 e fis g a2 e4 fis g2 g g fis g4. g8 g2
  % 20
  d4 d d d a2 a4 a e'2 e b c d4. d8 d2 r1 R\breve r2 a d1
  % 25
  c2 c4 c b2 e a, d g, g4 g' fis1 e2 e4 e d2 d c c b b b'4 b b b 
  % 30
  b2 a4 a g2 e b2. b4 e4. e8 e2~e e4 e d2 b4 c d1 a2. a4 e'1
  
}

scoreDVerse = \lyricmode {
  % Ajouter ici des paroles.
  
}

scoreDBcMusic = \relative c' {
  \scoreDGlobal
  g1 g4 a b g a g fis d g fis e c d c d d, g2 r4 g' a cis d fis, g e a a, 
  % 5
  d'1 c b2 e a, d g,1 fis e d d g,2 g'
  % 10
  fis4 e fis d e d e fis g fis e c d c d d, g'2. g4 fis e fis d e d cis a d
cis! b g a2. a4 d1
  % 15
  d' c2 c4 c b2 e a, d g,2. g4 fis e fis g a2 e4 fis g2 g g fis g1
  % 20
  d2 d a r e' r b c d2. d'4 cis b cis d e2 b4 cis d cis b g a g a a, d1
  % 25
  c b2 e a, d g,1 fis e d2 d' c1 b b'4 b b b
  % 30
  b2 a4 a g2 e b2. b4 e2 e~e e4 e b2 b4 c d1 a2. a4 e'1 b2. b4
  % 35
  fis'2 fis, gis ais b e, fis1 b e,2 e4 e a1 fis' g fis 
  % 40
  e d2. c4 d1 g fis2. fis4 e1 d2. c4 d1 g, r
  \override Staff.TimeSignature.style = #'mensural
  
  
}

scoreDBcFigures = \figuremode {
  \scoreDGlobal
  s\breve <9>1 <9> <4>2. <3> 4 s1 <7_+> <6 5>2 <_+>
  % 5
  s1 <6> <7>2 <7> <7> <7> <7> <6> <7> <6> <7> <6> <7 3> <6 4> <5 4> <3> s1
  % 10
  s <6> s <4> 2 <3> s\breve <9>1 <9> <4>2. <_+>4 s1
  % 15
  s1 <6>2 s4 <4 2> <6>2 <7> <7> s s\breve s2 <6> <6> <6> <4 2> s s1
  % 20
  s2 <6> s1 s <6> s <6> s2 <6> s1 <4>2 <_+> s1
  % 25
  <7> <6>2 <7> <7> <7> <5> <6> <7> <6> <7> <6> <7>4 <6> s2 <7> <6> <_+>1 s
  % 30
  <_+>2 <6> <6> s <4>2. <_+>4 s1 s\breve <4>2 <3> <4> <3> <4 6> <3 5> <4>
<3> 
  % 35
  <4> <_+> <7> s <9> s <4> <3+> s1 <7_+> s <6 5> <5>2 <6> <7> <6> 
  % 40
  <7> <6> <7 3> <6 4> <6 4> <5 3> <5> <6> <7> <6> <7> <6> <7 3>2. <6 4>4
<4>2 <3> s1
  
}

scoreDViolinIPart = \new Staff \scoreDViolinI

scoreDViolinIIPart = \new Staff \scoreDViolinII

scoreDViolaPart = \new Staff { \clef mezzosoprano \scoreDViola }

scoreDChoirPart = \new ChoirStaff <<
  \new Staff \new Voice = "soprano" \scoreDSoprano
  \new Lyrics \with {
    \override VerticalAxisGroup #'staff-affinity = #CENTER
  } \lyricsto "soprano" \scoreDVerse
  \new Staff {
    \clef alto
  \new Voice = "alto" \scoreDAlto
  }
  \new Lyrics \with {
    \override VerticalAxisGroup #'staff-affinity = #CENTER
  } \lyricsto "alto" \scoreDVerse
  \new Staff {
    \clef tenor
    \new Voice = "tenor" \scoreDTenor
  }
  \new Lyrics \with {
    \override VerticalAxisGroup #'staff-affinity = #CENTER
  } \lyricsto "tenor" \scoreDVerse
  \new Staff {
    \clef bass
    \new Voice = "bass" \scoreDBass
  }
>>

scoreDBassoContinuoPart = \new Staff { \clef bass << \scoreDBcMusic
\scoreDBcFigures >> }

\score {
  <<
    \new GrandStaff \with {
      \remove Span_bar_engraver
    } <<
      \scoreDViolinIPart
      \scoreDViolinIIPart
      \scoreDViolaPart
    >>
    \scoreDChoirPart
    \scoreDBassoContinuoPart
  >>
  \header {
    piece = "Chorus"
  }
  \layout {\context {
      \Score
      \override StaffSymbol #'thickness = #1.75
      \override BarNumber #'break-align-symbols = #'(clef)
      \override BarNumber #'self-alignment-X = #2
      \override BarNumber #'font-name = #"Berenis ADF Med Bold Italic"
      \override BarNumber #'padding = #2.0
           }
    \context { \Staff
        figuredBassAlterationDirection = #RIGHT 
        \override BassFigureAlignmentPositioning.direction = #UP
        figuredBassPlusDirection = #RIGHT 
        \override BassFigure.font-name = #"DayRoman Regular" 
        \override BassFigure.font-size = #1
      } 
  }
  }


Encore merci pour vos lumières.

Bernard



-----
Cordialement

Bernard
--
View this message in context: 
http://lilypond-french-users.1298960.n2.nabble.com/Placement-des-signes-de-metrique-tp7580966p7580972.html
Sent from the LilyPond French Users mailing list archive at Nabble.com.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]