Accent playback is louder than Marcato: should be the other way around

• Mar 2, 2020 - 10:25
Reported version
3.4
Type
Functional
Frequency
Few
Severity
S3 - Major
Reproducibility
Always
Status
active
Regression
No
Workaround
No
Project

OS: Windows 10 (10.0), Arch.: x86_64, MuseScore version (64-bit): 3.4.2.9788, revision: 148e43f

  1. Open the attached file.
  2. Generate a MIDI file.
  3. Open the MIDI file with a MIDI editor (e.g. MidiEditor).
  4. Confirm the MIDI velocities of all the notes.

Expected result: According to published sources, a note with a marcato symbol should be louder than one with an accent.
Actual result: In MS 3.4, it is the other way around. An accented note is louder than one with a marcato symbol:
accent_marcato_playback.png

See also: #301792: Provide option to control Marcato playback.

Attachment Size
accent_marcato_playback.mscz 3.11 KB

Comments

In the mscore/exportmidi.cpp file, the method ExportMusicXml::chordAttributes adds the articulations to the notes in the MusicXML files (which are then converted to midi). However, there was no indication as to how this relates to the velocity of these notes. Furthermore, sforzato is handled in a different way (as it is dynamics and not articulations), so it was unclear how this would relate velocity-wise.