lilypond-user
[Top][All Lists]
Advanced

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

Re: \tie and polifonie


From: Marc Hohl
Subject: Re: \tie and polifonie
Date: Thu, 05 May 2011 08:28:44 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.14) Gecko/20110223 Thunderbird/3.1.8

Am 04.05.2011 10:57, schrieb Mario Moles:

In this file the function \tie don't work:

Why don't you use separate voices for the upper and the lower part?

It is easier to write, because you don't have to take the pich of the
upper voice into account when writing the lower parts, and the ties work:

\version "2.13.61"


\paper {

#(set-paper-size "a4" )

}


global = {

\key c \major

\time 4/4

}


classicalGuitar = \relative c' {

\global

% Qui segue la musica.

<<{b2\rest g'8 a c4~}\\{s2 <g,, g'>8[ <a a'>] <c c'>~}>>|

<<{c''8 b! c g c4. g8}\\{<c,, c'> ~ <c c'> <g g'> <c c'>4. <g g'>8}>>|

}

upper = \relative c' {
  b2\rest g'8 a c4 ~ c8 b! c g c4. g8
}

lower = \relative c'' {
  s2 <g,, g'>8[ <a a'>] <c c'> ~ <c c'> ~ <c c'> <g g'> <c c'>4. <g g'>8
}

\book {

\score {

\new Staff \with {

midiInstrument = "acoustic guitar (nylon)"

instrumentName = "Chit."

} { \clef "treble_8" \classicalGuitar }

\layout { }

\midi {

\context {

\Score

tempoWholesPerMinute = #(ly:make-moment 100 4)

}

}

}

\score {
  \new Staff <<
     \clef "treble_8"
     \new Voice { \voiceOne \upper }
     \new Voice { \voiceTwo \lower }
>>
}
}

HTH,

Marc



reply via email to

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