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

Update to MusicXML version 4 #509

Open
fcnjd opened this issue Oct 11, 2024 · 3 comments
Open

Update to MusicXML version 4 #509

fcnjd opened this issue Oct 11, 2024 · 3 comments

Comments

@fcnjd
Copy link
Contributor

fcnjd commented Oct 11, 2024

Hi,
I'm getting the following error when trying to convert a musicxml file, which however processes fine on utaformatix. I'm using version 1.3.3.
grace-cue is not a valid NoteSizeType
warnings.warn(message, ConverterWarning)
+--------------------- Traceback (most recent call last) ---------------------+
<traceback was here, omitted it for ease of use>
ValidationError: 1 validation error for NoteSize
type_value
Input should be 'cue', 'grace' or 'large' [type=enum,
input_value='grace-cue', input_type=str]
For further information visit https://errors.pydantic.dev/2.9/v/enum
If you need the file for reference, I exported the tenor voice from
https://musescore.com/user/883406/scores/3707141
The command is:

libresvip-cli proj convert Look_at_the_world_-_John_Rutter_San_Frediano_-_Pisa-Ténor.musicxml Look_at_the_world_-_John
_Rutter_San_Frediano_-_Pisa-Ténor.ds

Thans in advance for any advice on what I'm doing wrong.

@SoulMelody
Copy link
Owner

Thanks for reporting this issue.
It seems the MusicXML standard is not fully forward-compatible. Maybe we should follow the newest MusicXML 4.0 schema.

@fcnjd
Copy link
Contributor Author

fcnjd commented Oct 11, 2024

Thank you for your quick reply, good to know that I didn't just use the CLI wrong. Following the newest MusicXML 4.0 schema sounds like a great idea - I think this could also mean we'll be supporting the compressed MXL file schema, which could be helpful as well.

@fcnjd fcnjd changed the title ValidationError when converting from musicxml Update to MusicXML version 4 Nov 2, 2024
@fcnjd
Copy link
Contributor Author

fcnjd commented Nov 12, 2024

Another aspect I consider relevant to mention: For me it looks like the MusicXML import was taken from Utaformatix. However, this one seems to have the problem that connected notes aren't translated correctly, which gets hearable when for example converting to USTX, syllables of connected notes are then simply missing.

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

2 participants