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

In ABC notation, inline notation of key and time signature changes in the middle of a song using [] does not convert correctly to MusicXML.

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

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

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

評価

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

調査の方向性

Start by reproducing the report with converter.parse(abc_string, format='abc') followed by score.write('musicxml', ...), using the ABC source from the issue. The issue says that splitting the inline [K:] and [M:] changes onto their own lines produces correct output, so compare the two written MusicXML files to see where the key and meter changes are lost. Done when the single-line version produces the same key and time signature changes as the split version.

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

説明

enhancement-request

music21 version

9.1.0

Problem summary

Converting a score written in ABC notation to MusicXML may result in incorrect MusicXML output.

Steps to reproduce

ABC notation source

X:1
L:1/8
M:6/8
K:C#
c B A G |[K:Cb][M:3/8] F/ E/ D/ |] 

Music21 code fragment

score = converter.parse(abc_string, format='abc')       
score.write('musicxml', output_file)   

Expected vs. actual behavior

Expected
スクリーンショット 2023-12-13 15 49 36

Actual
スクリーンショット 2023-12-13 15 55 26

More information

X:1
L:1/8
M:6/8
K:C#
c B A G |\
K:Cb
M:3/8
F/ E/ D/ |]

is OK.

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