Concert pitch crashes (0.9.6 regression)

• Jan 28, 2010 - 23:38
Type
Functional
Severity
S2 - Critical
Status
closed
Project

Steps to reproduce bug
1. Create a new score for Bb trumpet (or any transposing instrument)
2. In the toolbar, click "Concert Pitch"

MuseScore crashes

Discussion: I'd be happy to help update the instruments.xml once the new format is established (e.g. "major second down" instead of "-2").

MuseScore version: r. 2649

(Operating System: Windows XP)


Comments

For what it worth MusicXML defines transposition of instrument like this:

<transpose>
<diatonic>-1</diatonic> //one diatonic step down (C to B)
<chromatic>-2</chromatic> //two chromatic steps down (C to B to Bb)
</transpose>

See transpose section

Maybe the same notation or model can be used ?

Rev. 2651 extends the instrument definition file (instruments.xml) by:


<transposeDiatonic>-1</transposeDiatonic>
<transposeChromatic>-2</transposeChromatic>

The old markup is now obsolete.

The staff properties dialog is changed to allow entry of the instruments transposition as an interval similar to the transpose dialog.
The code is all there but untested.