[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Some problems with ties
From: |
Neil Puttock |
Subject: |
Re: Some problems with ties |
Date: |
Thu, 4 Feb 2010 22:54:56 +0000 |
On 4 February 2010 22:19, Xavier Scheuer <address@hidden> wrote:
> Hi,
>
> On 4 February 2010 22:05, Robert Clausecker <address@hidden> wrote:
>
>> I tried to tie some notes together wichs are in different Voices. That
>> failed. Maybe somebody could help me. This is the score:
>>
>> \relative a' {
>> <a c a'>16 <c c'>8 <h g'>16 ~ << { g' c, d e } \\ { h8 h } >>
>> }
>
> It is not possible to tie notes from different voices *as it*.
> You have to *tweak* a little, with \hideNotes, \unHideNotes for example,
> like in this snippet: http://lsr.dsi.unimi.it/LSR/Item?id=150
It is possible if you name the main voice correctly:
\new Voice = "1" \relative a' {
<a c a'>16 <c c'>8 <h g'>16 ~ << { g' c, d e } \\ { h8 h } >>
}
Alternatively, use explicit voice instantiation:
\relative a' {
<a c a'>16 <c c'>8 <h g'>16 ~
<<
{
\voiceOne
g' c, d e
}
\new Voice {
\voiceTwo
h8 h
}
>>
}
>> Additional, the "||:" bar behaves remarkable: In a piano staff, it
>> creates two dots in the center between the two staffs and also at the
>> center of the two staffs:
>>
>> \new PianoStaff { <<
>> \new Staff { e2' a' \bar "||:" g1 }
>> \new Staff { d d d d e g e g }
>> >> }
>
> Strange.
This was a bug, but since \bar "||:" is only supposed to be used at a
line break, you wouldn't normally encounter this issue.
Regards,
Neil