Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Jupyter notebook midi player doesn't recognize MetronomeMark

オープン
#1,784 コメント 7 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
jupyter-notebook, python
領域
tooling

調査の方向性

Start by reproducing the report: parse the attached 6/8 MIDI file and call .show('midi') both in a Jupyter notebook and in a plain Python session, then compare playback speed. The payload does not name the source files, so the first step is locating where show('midi') builds its MIDI output and how it handles the MetronomeMark tempo. Done means the notebook and command-line playback match, with a test covering a 6/8 file. The issue has been silent for about 500 days with no linked pull request, so confirm with maintainers that it is still wanted before starting.

索引モデルが issue の本文から書いたものです。

説明

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

主要言語
Python
スター
2.6k
フォーク
459
平均マージ
1日 7時間
マージ済み PR(30日)
40

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

cuthbertLab/music21 のほかの issue

cuthbertLab/music21 の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。