Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix tempo rounding issue in MusicXML export #7309

Merged
merged 1 commit into from
Feb 4, 2021

Commits on Jan 23, 2021

  1. Round tempo to 2 decimal places in MusicXML export

    Since MuseScore internally stores tempo in units of 'beats per seconds'
    and truncates it to a fixed precision, the exported MusicXML tempo
    was sometimes incorrectly rounded. For example, 92 BPM in MuseScore
    was exported as 91.9998 and 88 BPM was exported as 88.0002.
    
    To eliminate this error, tempo is now rounded to up to 2 decimal places
    when exporting. Since the MuseScore interface itself only allows up to
    2 decimal places (in the Inspector), this is not expected to limit any
    users.
    matangover committed Jan 23, 2021
    Configuration menu
    Copy the full SHA
    5159eec View commit details
    Browse the repository at this point in the history