-
Notifications
You must be signed in to change notification settings - Fork 29
Description
Hi everyone!
I am using partitura to create and export algorithmically generated scores.
I wanted to include a title, but whatever I tried, I a title would not appear in the exported file.
I then tried the following, where "BeetAnGeSample.musicxml" is a file that contains a work-title field:
import partitura as pt
score_beethoven = pt.load_musicxml("BeetAnGeSample.musicxml")
print(score_beethoven.work_title)
pt.save_musicxml(score_beethoven, out="beet.musicxml")
The print(score_beethoven.work_title)
command showed 'An die ferne Geliebte (Page 1)', which means that the title is read into partitura, but save_musicxml()
created an musicxml file WITHOUT a work-title field.
I went through the docs to find out whether this is intended behaviour but I did not find an answer.
I hope you could tell me, whether this behaviour is intended, if I did something wrong and perhaps provide me with a minimum working example or work-around of how I can include a title in a musicXML export .
Best,
Tim