lilypond-user
[Top][All Lists]
Advanced

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

Re: Voice vertical alignment


From: Patrick Hubers
Subject: Re: Voice vertical alignment
Date: Mon, 13 Sep 2004 23:54:01 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; nl-NL; rv:1.7.2) Gecko/20040803

Gustavo J. Mata schreef:

...
I succeeded in writing a very simple two-voice score. The problem
is that in the output the voices are not vertically aligned. I assume
that this a general convention for writing several voices in one
staff. In guitar music, however, all voices are vertically aligned, as
they would be in chord notation.

How can I achieve this?

Try putting the bass notes in \voiceTwo, that way the stems for the upper voice will not get in the way and your notes will be perfectly aligned:

\score {
        \notes {
                \relative c'
                \context Staff <<
                \context Voice = melody {
                        \voiceOne
                        c'4 e4 g4 e4 a,4 c4
                        f4 c4 b4 d4 g4 d4 c1
                }
                \context Voice = bass {
                        \voiceTwo
                        c,1 f,1 g1 c1
                }
                >>
        }
        \paper { }
}


--
Patrick Hubers




reply via email to

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