Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
tsugumi opened this issue Dec 13, 2023 · 0 comments

Comments

@tsugumi
Copy link

tsugumi commented Dec 13, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant