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

(Optional) non-blocking calls of MuseScore to show/play musicxml output

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

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

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

評価

難易度
3/5
見積もり時間
半日
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
python
領域
tooling

調査の方向性

The blocking call is the subprocess.run invocation around line 205 of music21/converter/subConverters.py, which the issue proposes replacing with subprocess.Popen. Read how that converter's show path builds cmd and how other subconverters reach the same code, since the change affects every format shown through it. Done means score.show('xml') returns immediately while the existing non-blocking behaviour for other formats is unchanged, and the open question about side effects on other converters is answered in the thread.

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

説明

enhancement

Would be great if score.show('xml') wouldn't block the execution of a script until the MuseScore instance displaying the musicxml-file is closed down. Similar request as this:

https://stackoverflow.com/questions/64949701/stream-show-without-interrupting-code-in-music21-similar-to-matplotlib-pyploy

But subprocess.run is a blocking call, subprocress.Popen is the non-blocking call

Motivation
Improve usability in a scripting environment like PyCharm

Proposed implementation

I fixed it locally in subConverters.py, line 205:

        #subprocess.run(cmd, check=False, shell=shell)
        subprocess.Popen(cmd, shell=shell)

But don't know enough about the code structure to know if this will cause problems with other converters.

Intent

[X ] I plan on implementing this myself.
[ ] I am willing to pay to have this feature added.
[X ] I am starting a discussion with the hope that community members will volunteer their time to create this. I understand that individuals work on features of interest to them and that this feature may never be implemented.

主要言語
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 を短くまとめたダイジェスト。