Skip to content

Jupyter notebook midi player doesn't recognize MetronomeMark #1784

@oxygen-dioxide

Description

@oxygen-dioxide

music21 version

9.7.0

Operating System(s) checked
Windows 11

Problem summary
In Jupyter Notebook, load a midi file with 6/8 timesignature, play it with .show('midi'). It will play faster than playing the original midi file in windows media player.

If I .show('musicxml') in normal python command line and play it in the musescore window poped up, or .show('.midi') in normal command line, the playing speed is correct

Steps to reproduce
只要平凡68.zip

run in both Jupyter Notebook and normal python command line.

import music21
a=music21.converter.parseFile(r"C:\Users\lin\Desktop\只要平凡68.mid")
a.show('midi')
a,show('musicxml')

Expected vs. actual behavior
Expected: no matter how I play it, it plays in the same speed.
Actual: If I play it with .show('midi') in jupyter notebook, it will play faster.

More information

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions