[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Tied Notes in Voices, or change of time
From: |
Colin Campbell |
Subject: |
Re: Tied Notes in Voices, or change of time |
Date: |
Fri, 26 Feb 2016 20:00:55 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 |
On 16-02-26 07:22 PM, William Marchant wrote:
Hi All,
I have attached a snippet of code which shows a problem I have
encountered. Notice that in the first measure in Voice One, there is
a c16 tied to a c4, and below in Voice Two an e16 tied to e4. This I
expected. Note however, at the end of the first measure while the e16
is tied to the e4 in the next measure, the d16 below it is not tied to
the e4. As far as I can see the syntax is the same for both events,
but the result is different.
Different Voices? Different Times? Possible Bug? Can someone throw
any light on this for me?
I believe your problem comes from canceling the separate voices with
\oneVoice at your time changes. Here is a version which gets closer to
correct output, although there is a nasty collision between the tie and
time signature.
*******************
\version "2.18.2"
\language "english"
melody = \relative c' {
\key d \major
<<
\new Voice \voiceOne {
e'4 d8 e16 c!~ c4 b8 c16 a16~ \time 2/4 a4 g16 fs8.
}
\\
\new Voice \voiceTwo {
g4 g8. e16~ e4 d8. d16~ \time 2/4 d4 d
}
>>
}
\score {
\melody
}
**********************************
HTH,
Colin
--
It is impossible to imagine Goethe or Beethoven being good at billiards
or golf.
- H.L. Mencken, writer, editor, and critic (1880-1956)
- Tied Notes in Voices, or change of time, William Marchant, 2016/02/26
- Re: Tied Notes in Voices, or change of time,
Colin Campbell <=
- Re: Tied Notes in Voices, or change of time, David Wright, 2016/02/26
- Re: Tied Notes in Voices, or change of time, Malte Meyn, 2016/02/27
- Re: Tied Notes in Voices, or change of time, William Marchant, 2016/02/27