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 天内回复
还没有人认领这个 Issue。
评估
调研方向
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 内容生成。
描述
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
Actual
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
- 平均合并
- 12 小时 38 分钟
- 30 天内合并 PR
- 46
环境准备
在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
cuthbertLab/music21 的其他 Issue
-
enhancement
难度 2/5 1-3 小时 新手友好度 68/100
cuthbertLab/music21#2088 ·
维护者通常 1 天内回复
-
MusicXML import drops piano-family MIDI programs when the instrument name isn't recognized可能已有人在做 @Krishna221308 于 3 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 72/100
cuthbertLab/music21#2084 · 6 条评论 ·
维护者通常 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 于 21 天前认领,目前没有进行中的 PR。 未关闭
难度 2/5 1-3 小时 新手友好度 75/100
cuthbertLab/music21#2019 · 3 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 62/100
cuthbertLab/music21#1714 ·
维护者通常 1 天内回复
查看 cuthbertLab/music21 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 74/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 66/100
suitenumerique/accounts#160 ·
维护者通常 1 天内回复
-
Restoring an exhausted flatmap checkpoint can replay consumed records可能已有人在做 @salma2vec 今天认领。 未关闭type:bug
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 1 天内回复
-
`ingest` fails with pynndescent 0.7可能已有人在做 @eroell 今天认领。 未关闭Triage 🩺
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复