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

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

Re: Aligner 3e triolet -> 4e double-croche


From: Christophe Pochon
Subject: Re: Aligner 3e triolet -> 4e double-croche
Date: Tue, 7 Aug 2012 22:56:00 +0200

Salut,

Après de savants calculs, j'ai trouvé la solution.... J'ai pensé qu'il était plus simple de manipuler les valeurs de la main gauche. 
Si tu veux transformer la durée d'une croche en croche de triolet, tu la multiplies par 2/3 (puisque mathématiquement, tu veux transformer 1/2 en 1/3, donc 1/2 * 2/3 = 2/6 = 1/3)
Si tu veux transformer la durée d'une double-croche en croche de triolet, tu la multiplies par 4/3 (1/4 * 4/3 = 4/12 = 1/3)
Si tu veux transformer la durée d'une croche pointée en croche de triolet, tu la mutliplies par 8/9 (3/4 * 8/9 = 24/36 = 1/3)

Donc ton code deviens : 

\version "2.15.40"

\header {
  title = "Choral"
  composer = "Johann Sebastian Bach"
  tagline = ##f
}

\paper {
  line-width = 18.0 \cm
  ragged-last-bottom = ##f
  top-margin = 1.5\cm
  bottom-margin = 1.5\cm
  after-title-space = 30\mm
}

#(set-global-staff-size 18)

global = {
  \key g \major
 \numericTimeSignature
  \time 3/4
}

right = \relative c'' {
  \global
  \set tupletSpannerDuration = #(ly:make-moment 1 4)
  \times 2/3 {r8 g a b d c c e d} d8*2/3 g fis g d b g a b c d e d c b a b g
fis g a d, fis a c b a
  % 5
  b g a b d c c e d d g fis g d b g a b e, d' c b a g d g fis g b d g d b g
b d
  % 9 choral
  << {\voiceOne b2 c4 d2 d4 c2 b4} \\ {\voiceTwo g2 g4 a g fis g a g}>>
  <d fis a>8*2/3 d e fis a g a c b c a fis d fis a c b a
  <<{\voiceOne b2 c4 d2 b4 a8( b16 c) b4( a)} \\ {\voiceTwo g2 g4 g2 g4 e
fis8( e fis4)}>>



}

left = \relative c {
  \global
  g4 g' e b e e a, b c d fis d
  % 5
  g e c b e d c cis d g, g' d g fis e
  % 10
  fis e d e fis g d r8*2/3 r16*4/3 d16*4/3 d8.*8/9 d16*4/3 d,4 r8*2/3 r16*4/3 d'16*4/3 d8.*8/9 d16*4/3 g4 fis e b b e c
d d

}

\score {
  \new PianoStaff <<
    \new Staff = "right" \right
    \new Staff = "left" { \clef bass \left }
  >>
}

A+

Christophe Pochon
http://www.christophe-pochon.com



Le 6 août 2012 23:08, bameylan <address@hidden> a écrit :
Bonsoir/jour à tous,

dans le célébrissime choral final de la cantate 147 de Bach (Herz und Mund
und Tat und Leben), les instruments mélodiques filent une longue suite de
triolets alors que les accompagnants jouent soit des noires (basse) ou la
formule rythmique croche pointée - double croche, formule que, afin de
respecter le rythme voulu par Bach, nous rendrions aujourd'hui par triolet
de noire - croche. Lorsque je note les formules rythmiques de Bach, LilyPond
décale naturellement la double-croche légèrement à droite de la croche de
triolet. Existe t-il un truc pour aligner parfaitement ET la croche/triolet
ET la double croche? J'ai essayé de tricher en notant les triolets de cette
manière: a8*2/3, mais le résultat reste le même.

Voici mon code:

\version "2.15.40"

\header {
  title = "Choral"
  composer = "Johann Sebastian Bach"
  tagline = ##f
}

\paper {
  line-width = 18.0 \cm
  ragged-last-bottom = ##f
  top-margin = 1.5\cm
  bottom-margin = 1.5\cm
  after-title-space = 30\mm
}

#(set-global-staff-size 18)

global = {
  \key g \major
  \numericTimeSignature
  \time 3/4
}

right = \relative c'' {
  \global
  \set tupletSpannerDuration = #(ly:make-moment 1 4)
  \times 2/3 {r8 g a b d c c e d} d8*2/3 g fis g d b g a b c d e d c b a b g
fis g a d, fis a c b a
  % 5
  b g a b d c c e d d g fis g d b g a b e, d' c b a g d g fis g b d g d b g
b d
  % 9 choral
  << {\voiceOne b2 c4 d2 d4 c2 b4} \\ {\voiceTwo g2 g4 a g fis g a g}>>
  <d fis a>8*2/3 d e fis a g a c b c a fis d fis a c b a
  <<{\voiceOne b2 c4 d2 b4 a8( b16 c) b4( a)} \\ {\voiceTwo g2 g4 g2 g4 e
fis8( e fis4)}>>



}

left = \relative c {
  \global
  g4 g' e b e e a, b c d fis d
  % 5
  g e c b e d c cis d g, g' d g fis e
  % 10
  fis e d e fis g d r8 r16 d d8. d16 d,4 r8 r16 d' d8. d16 g4 fis e b b e c
d d

}

\score {
  \new PianoStaff <<
    \new Staff = "right" \right
    \new Staff = "left" { \clef bass \left }
  >>




-----
Cordialement

Bernard
--
View this message in context: http://lilypond-french-users.1298960.n2.nabble.com/Aligner-3e-triolet-4e-double-croche-tp7578268.html
Sent from the LilyPond French Users mailing list archive at Nabble.com.

_______________________________________________
liste de diffusion lilypond-user-fr
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user-fr


reply via email to

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