|
From: | Masaki, Akikazu |
Subject: | Re: tie from multiple voice? |
Date: | Fri, 3 Dec 2021 21:17:54 +0900 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.3.2 |
Hi Lukas, It seems that grob directions are not set implicitly in non-number ID context. See: %%%%%% \new Staff { a'1 \voices "",2 << { d''4 e'' d''2~ } \\ { g'2 g' } >> d''2 c'' } %%%%%% In that case, the direction of Voice "" should be specified, and restored with \oneVoice. %%%%%% \new Staff { a'1 \voices "",2 << { \voiceOne d''4 e'' d''2~ } \\ { g'2 g' } >> \oneVoice d''2 c'' } %%%%%% I often make an explicit new context without \\, and specify each direction. This is verbose a little but clear. %%%%%% \new Staff \new Voice = "main" { a'1 << { \voiceOne d''4 e'' d''2~ } % succession of "main" \new Voice = "temporary" { \voiceTwo g'2 g' } >> \oneVoice d''2 c'' } %%%%%% Akikazu On 2021/12/03 16:17, Lukas-Fabian Moser wrote:
Hi Tom,This does not work: << { d1~ } \\ {g1} >> | d1 | No tie appears and I don't see anything like an error or warning that I can do anything with. I can rewrite to have an empty second voice in that second measure, but maybe it's feasible to do it some other way?If the un-named implicit voice already exists (i.e. if you're not right at the beginning of a piece, or if you did an explicit \new Voice { ... }), then you can do: \version "2.22" \new Staff { a'1 \voices "",2 << d''1~ \\ { g'2 g' } >> d''1 } With "\voices" you can define the names of the voices used by the << \\ >> construct. Lukas
[Prev in Thread] | Current Thread | [Next in Thread] |