X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fnote-performer.cc;h=6bfc82211b73724e7104fa121558bfb903b06776;hb=a089ffb45c3473bfdb95edcf351544775dad547e;hp=e5c2ef9e050d83b60b5338d21dbfb5f5aab2addf;hpb=d53a0536f899eae5f2e9c50e7b2e2b5636f5b026;p=lilypond.git diff --git a/lily/note-performer.cc b/lily/note-performer.cc index e5c2ef9e05..6bfc82211b 100644 --- a/lily/note-performer.cc +++ b/lily/note-performer.cc @@ -38,11 +38,10 @@ Note_performer::process_music () { if (note_evs_.size ()) { - int transposing = 0; - + Pitch transposing; SCM prop = get_property ("instrumentTransposition"); if (unsmob_pitch (prop)) - transposing = unsmob_pitch (prop)->rounded_semitone_pitch (); + transposing = *unsmob_pitch (prop); while (note_evs_.size ()) { @@ -67,7 +66,7 @@ Note_performer::process_music () } Audio_note *p = new Audio_note (*pitp, get_event_length (n), - tie_event, - transposing); + tie_event, transposing.negated ()); Audio_element_info info (p, n); announce_element (info); notes_.push_back (p);