Thank you, Valentin and David. I was not aware that << >> construct can be used this way.
> I do seem to remember that LilyPond did > not deal well with it? “1.5.1 Single voice — Simultaneous expressions” of NR says: This can be useful if the simultaneous sections have identical rhythms, but attempts to attach notes with different durations to the same stem will cause errors. I think that the code \new Voice << g4 e' e''2^. >> is attaching notes with different durations to the same stem but I do not see any error message. Jun > 2023/07/09 16:42、David Kastrup <d...@gnu.org>のメール: > > Valentin Petzel <valen...@petzel.at <mailto:valen...@petzel.at>> writes: > >> Hello Pierre, >> >> I think this should rather be >> >> { <\tweak duration-log #2 g \tweak duration-log #2 e' e''>2^. } >> >> Alternatively one can simply do >> >> \new Voice << g4 e' e''2^. >> >> >> (the \new Voice is necessary as there has been no music before this, so >> there >> does not exist a voice, and Lilypond will then create one Voice for each >> parallel music). > > The latter is definitely the _natural_ way to enter this construct > (single voice simultaneity) but I do seem to remember that LilyPond did > not deal well with it? > > -- > David Kastrup