lilypond-user
[Top][All Lists]
Advanced

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

Re: Three voices in same staff, from two variables


From: Francisco Vila
Subject: Re: Three voices in same staff, from two variables
Date: Wed, 18 Mar 2020 21:24:01 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0

El 18/3/20 a las 20:41, Ben Rosen escribió:
Perhaps I should use something more explicit involving "\new Voice"? Is there a way to do this that preserves the variable structure I've laid out or is there a better approach for this situation?

Here is how I would write your music.

\version "2.20.0"
\language "english"

melody = \relative c' {
  af'2. af4 |
  af c g4. f8 |
}

harm =  {
  <<
    \new Voice \relative c' { \voiceFour <ef c>1 }
    \new Voice \relative c' { \voiceTwo bf2 af <df f> s}
  >>

}

\score {
  \new Staff <<
    \new Voice { \voiceOne \melody }
    \harm
  >>
}

%%%%%%%%

I.e. go explicit as often as you can, so you don't lose control over which voice number the music is in.

The part

  \voiceFour <ef c>1

comes from the aim to be an intermediate secondary voice.

https://cloud.paconet.org/index.php/s/wGaeX4CqYMHrD3Y/download

--
Francisco Vila, Ph.D. - Badajoz (Spain)
paconet.org , lilypond.es

Attachment: binfk9kcsnQSo.bin
Description: Binary data


reply via email to

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