lilypond-user
[Top][All Lists]
Advanced

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

Re: \relative doesn't work when using \parallelMusic


From: Kieren MacMillan
Subject: Re: \relative doesn't work when using \parallelMusic
Date: Wed, 5 Sep 2007 08:03:37 -0400

Hi Valentin,

Can't help you with \parallelMusic directly, but...

I would use everyday it if this was addressed

Don't forget that you can fake \parallelMusic by explicitly pushing notes into an existing Voice context -- see snippet, below, for an example. It's not quite as pretty, but it accomplishes essentially the same thing.

Hope this helps!
Kieren.
___________________________

\version "2.11.30"

theMusic = \relative c''
{
        %% m. 1
        \context Voice = "A"
        <<
                {
                        \voiceOne
                        \override Voice.NoteHead #'color = #red
                        a b c d
                }
                \new Voice = "B"
                {
                        \voiceTwo
                        \override Voice.NoteHead #'color = #blue
                        a g f e
                }
        >>
        %% m. 2
        <<
                \context Voice = "A" { a c c b }
                \context Voice = "B" { a f f g }
        >>
        %% m. 3
        <<
                \context Voice = "A" { a f' e d }
                \context Voice = "B" { a d, e f }
        >>
}

\score
{
        \theMusic
}





reply via email to

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