[MIDI import] "Shortest note in bar" Quantization setting appears two places

• Jul 24, 2013 - 03:59
Type
Graphical (UI)
Severity
3
Status
closed
Project

Where:
Open a MIDI file (such as Harlem Nocturne.mid ), Notice that there is a "Reduce to shortest note in bar" checkbox. Also if you click on the Quantization value you can select "Shortest note in bar"

Recommendation:
Assuming the checkbox method does not offer any features beyond the menu item, I suggest removing the checkbox from the interface.

MuseScore version: c4e95c7

(Operating System: Windows 7)


Comments

Severity

Currently the checkbox "Reduce to shortest note in bar" add some different functionality:
- if there are notes in bar that are shorter than chosen quantization value
then the quantization value is reduced to that shortest duration
- if min note duration in bar is larger than quantization value - then the quantization value stays the same and not "enlarged" to that min but longer note duration

Compare to the "Shortest note in bar" menu-item:
- quantization value is set to the min note duration in bar rounded to the nearest larger power-of-two duration:
small or long the duration is - doesn't matter

So in the 1st case we sure that quantization value is not less than the selected value
and it may be recuded if necessary.
In the 2nd case we actually don't know the quantization value at all - it varies from bar to bar.
But dotted durations are not quantisized by "undotted" values properly.

For example, we have dotted 4th note in some bar, occasionally no more notes in that bar.
With quantization value "Shortes note in bar" dotted 4th will be quantisized by 2th value into 2th so there is an 8th error.
With "Reduce to..." option that bar will be handled correctly - the quantization value cannot be larger than the selected value (16th by default) and reduced only if necessary.

So the question is - use both of these options or select one over the other for a reason?