>>>>> "Han-Wen" == Han-Wen Nienhuys <[EMAIL PROTECTED]> writes:

    Han-Wen> hshift has no effect if there is no unshifted note (which
    Han-Wen> is correct behaviour).  You should hshift the middle
    Han-Wen> voice, not the bottom one.

hmmm...  i don't understand.  the bottom voice is the one that's
causing a conflict; the note in that voice is the one i want to shift
so that it's out of the way of the others.  are you saying that lily
has decided for me that the conflict is another voice, so it's not
going to do anything about the bass?

here's just measure nine by itself:

-----------------------------------------------------------------------------
melody = \notes \relative c'' {
  \stemup
  d4 cis e
}

middlevoice = \notes \relative c'' {
  \stemup
  bes a a 
}

bass = \notes \relative c' {
  \stemdown
  g'2 g4
}

        
\score {
      \type Staff < 
        \clef violin; \time 3/4;
        \type Voice=melody      { \melody      }
        \type Voice=middlevoice { \middlevoice }
        \type Voice=bass        { \bass        }
      >
  \paper {}
}
-----------------------------------------------------------------------------

i want to move the g4 to the right so that it's not in the way of the
notes above it.  but if i do this:

-----------------------------------------------------------------------------
melody = \notes \relative c'' {
  \stemup
  d4 cis e
}

middlevoice = \notes \relative c'' {
  \stemup
  bes a a 
}

bass = \notes \relative c' {
  \stemdown
  g'2
  \property Voice.hshift = 1    
  g4
  \property Voice.hshift = 0

}

        
\score {
      \type Staff < 
        \clef violin; \time 3/4;
        \type Voice=melody      { \melody      }
        \type Voice=middlevoice { \middlevoice }
        \type Voice=bass        { \bass        }
      >
  \paper {}
}
-----------------------------------------------------------------------------

, it doesn't budge.  if i follow your advice and shift the middle
voice like this:

-----------------------------------------------------------------------------
melody = \notes \relative c'' {
  \stemup
  d4 cis e
}

middlevoice = \notes \relative c'' {
  \stemup
  bes a 
  \property Voice.hshift = 1  
  a 
  \property Voice.hshift = 0
}

bass = \notes \relative c' {
  \stemdown
  g'2 g4
}

        
\score {
      \type Staff < 
        \clef violin; \time 3/4;
        \type Voice=melody      { \melody      }
        \type Voice=middlevoice { \middlevoice }
        \type Voice=bass        { \bass        }
      >
  \paper {}
}
-----------------------------------------------------------------------------

, it's now shifted but is no longer lined up with the voice above so
that they no longer appear as a chord, and it looks really confusing.
if i try to shift both it and the top voice,

-----------------------------------------------------------------------------
melody = \notes \relative c'' {
  \stemup
  d4 cis 
  \property Voice.hshift = 1  
  e
  \property Voice.hshift = 0
}

middlevoice = \notes \relative c'' {
  \stemup
  bes a 
  \property Voice.hshift = 1  
  a 
  \property Voice.hshift = 0
}

bass = \notes \relative c' {
  \stemdown
  g'2 g4
}

        
\score {
      \type Staff < 
        \clef violin; \time 3/4;
        \type Voice=melody      { \melody      }
        \type Voice=middlevoice { \middlevoice }
        \type Voice=bass        { \bass        }
      >
  \paper {}
}
-----------------------------------------------------------------------------

the result is the same as the original.  the only way i've found to
get what i want is to move the note from the middlevoice into the
melody then shift the melody, like this:

-----------------------------------------------------------------------------
melody = \notes \relative c'' {
  \stemup
  d4 cis 
  \property Voice.hshift = 1  
  e
  \property Voice.hshift = 0
}

middlevoice = \notes \relative c'' {
  \stemup
  bes a 
  \type Voice=melody { a }
}

bass = \notes \relative c' {
  \stemdown
  g'2 g4
}

        
\score {
      \type Staff < 
        \clef violin; \time 3/4;
        \type Voice=melody      { \melody      }
        \type Voice=middlevoice { \middlevoice }
        \type Voice=bass        { \bass        }
      >
  \paper {}
}
-----------------------------------------------------------------------------

but that's cumbersome and it means the note no longer sounds in the
midi output.


why can't lily just take my word for it that the bass note is in the
way and needs to be moved to the right?

-- 
|----------------------------------------------------------------------------|
| jeff covey [EMAIL PROTECTED] http://pobox.com/~jeff.covey/ 410-669-4926 |
|----------------------------------------------------------------------------|
|                                    6 for 2.                                |
|----------------------------------------------------------------------------|

Reply via email to