ALEXANDRE FICAGNA wrote Thursday, June 14, 2012 12:12 PM

> You're right, it worked better with relative for melody.
> Still, it seems that changing from-pitch alters the note of
> transposition, while to-pitch changes absolutely nothing.

David explained the reason for the behaviour in your earlier
note.  In fact the behaviour is quite correct, although maybe
surprising, due to inverting absolute notes and then treating
them as relative.  Perhaps the docs should warn about this
banana skin.

The interval between from-pitch and to-pitch determines
the transposition of the motif after inverting about from-pitch.  
Try the example below.  You'll see the inverted motif begins 
on b after inverting about a' due to the transposition from 
a' to b'.

Another way of looking at it is the inversion takes place
about the mid-point between from-pitch and to-pitch.

Trevor

melody= \relative c'' { a8 gis ees d g4 }

\score {
  \new Staff {
    \clef treble
    \melody
    \inversion a' b' \melody
  }
  \layout {
    indent = #0
    \context {
      \Staff
      \remove "Bar_number_engraver"
      \remove "Time_signature_engraver"
    }
  }
}
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to