(Optional) non-blocking calls of MuseScore to show/play musicxml output
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- Nửa ngày
- Mức phù hợp với người mới
- 35/100
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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:
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.
- Ngôn ngữ chính
- Python
- Star
- 2.6k
- Fork
- 459
- Merge trung bình
- 1 ngày 1 giờ
- Pull request đã merge (30 ngày)
- 42
Chuẩn bị môi trường
Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của cuthbertLab/music21
-
Midi bank number supportĐang mởenhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
cuthbertLab/music21#2088 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
cuthbertLab/music21#2084 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
cuthbertLab/music21#2055 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Slur bezier-x/y from start element gets overwritten by stop element's valuesCó thể làm lại được @bingliscodes đã nhận 18 ngày trước và không có pull request nào đang mở. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
cuthbertLab/music21#2019 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
cuthbertLab/music21#1714 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của cuthbertLab/music21
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
google-agentic-commerce/AP2#388 ·
-
area:codegen backend:cuda backend:hip bug direction:input
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
CrossGL/crosstl#3061 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
rlaope/oh-my-hermes#2304 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
mochan-tk/agentic-dev-kit-for-codex#64 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Windows ARM memory-leakĐang mởbug docs performance
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
Maintainer thường phản hồi trong vòng 3 ngày