Humdrum: section-structured kern file parses to 8 of 69 measures (silent truncation)
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
Start with the Humdrum importer used by converter.parse and reproduce with the mazurka41-2.krn file from the chopin-mazurkas set; compare the parsed measure count and numbering with the source’s 69 barlines and section labels. Investigate how section labels and the expansion list are handled. Done means the importer preserves the full expanded sequence, or at least all sections in source order, rather than silently returning only measures 1–8.
索引モデルが issue の本文から書いたものです。
説明
Environment: music21 10.5.0, Python 3.14, macOS.
Summary: the Humdrum importer parses a section-structured kern file to a small fraction of its measures. The kernscores transcription of Chopin's Mazurka Op. 41 No. 2 (mazurka41-2.krn: 69 numbered measures, section labels *>A, *>B, ... with an expansion list) parses to a score whose parts contain 8 measures, numbered 1–8 — the remaining ~61 source measures are silently absent. Content addressed by source measure number (e.g. a text annotation at source measure 64) has no corresponding location in the parse at all.
Expected: either the full expanded sequence of sections, or (if expansion is unsupported) the sections in source order — not a silent 8-measure fragment.
Reproduction:
from music21 import converter, stream
sc = converter.parse("mazurka41-2.krn") # kernscores chopin-mazurkas
part = sc.parts[0]
print(len(part.getElementsByClass(stream.Measure))) # 8; the source has 69 "=N" barlines
Source file: the kernscores chopin-mazurkas set (craigsapp/chopin-mazurkas on GitHub), kern/mazurka41-2.krn.
- 主要言語
- Python
- スター
- 2.6k
- フォーク
- 459
- 平均マージ
- 1日 7時間
- マージ済み PR(30日)
- 40
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
cuthbertLab/music21 のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
cuthbertLab/music21#2084 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
cuthbertLab/music21#2082 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
cuthbertLab/music21#2074 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
cuthbertLab/music21#2055 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
Slur bezier-x/y from start element gets overwritten by stop element's values再び着手できるかも @bingliscodes が 9 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
cuthbertLab/music21#2019 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
cuthbertLab/music21 の issue をすべて見る
似ている issue
-
area:core-platform effort:S priority:P3 status:in-review type:test
難易度 2/5 1時間未満 初心者へのやさしさ 80/100
randomparity/kdive#3246 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Requantification library converts m/z to mass with the hydrogen-atom mass instead of the proton massオープンbug
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
nf-core/metaboigniter#130 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
common-workflow-language/cwl-utils#477 ·
メンテナーはふだん 1 日以内に返信
-
Add dependabotオープンfeat
難易度 2/5 1時間未満 初心者へのやさしさ 72/100
open-nudge/opentemplate#204 ·
メンテナーはふだん 1 日以内に返信
-
github-stale-ci-pr-closer: KV state is double-wrapped, never persists, and hits the depth-32 limit対応中かも @VascoSch92 が今日担当しました。 オープンpriority:medium ready-for-dev
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
OpenHands/extensions#781 ·
メンテナーはふだん 1 日以内に返信