Transpose by key doesn't calculate interval correctly

Project:MuseScore
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

Steps to reproduce bug
1. Open promenade demo
2. Notes > Transpose...
3. Transpose by key to "Cb major / Ab minor"

Expected behavior: Notes should transpose up a minor second.

Actual behavior: Notes actually transpose up an augmented unison.

Discussion: The distance between the original key ("Bb major / G minor") and the new key ("Cb major / Ab minor") is 1 letter (Bb to Cb) and 1 semitone. The interval table shows that a "change of note name" of 1 and a "semitone" of 1 corresponds with a "Minor Second".

MuseScore version: r. 2649

(Operating System: Windows XP)

#1

Looks better now in rev. 2654 but probably needs more testing.

#2

Transpose to "Cb major / Ab minor" works.

However transpose to "C major / A minor" has similar problems. Expected behavior: notes should transpose up a major second (i.e. 1 diatonic letter, 2 chromatic semitones). Actual behavior: double sharps added to each note (i.e. 0 diatonic letters, 2 chromatic semitones).

#3

There was some confusion about transposing up/down. Rev. 2662 gives it another try. The two above examples now look good as far as i can see.

#4
Status:active» fixed

Seems to be fixed. (Tested using r. 2666 nightly).

#5
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

Syndicate content