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

Fix on json and xml import (tuplets) #97

Merged

Conversation

strangarnenad
Copy link
Contributor

@strangarnenad strangarnenad commented Sep 18, 2024

musicxml import:
There were two bugs related to tuplet generation.

json import:
Legacy json can contain wrong number in tuplet.startIndex.
At some point smoosic probably had a bug related to logic that was supposed to keep 'startIndex' up to date with oncoming changes

@AaronDavidNewman
Copy link
Owner

That makes sense, I don't think the stored value of startIndex was used. Since we always associated a tuplet with a specific note, there was no reason to relay on the startIndex. It is probably important now for the nested tuplets.

Copy link
Owner

@AaronDavidNewman AaronDavidNewman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the quick fixes

@AaronDavidNewman AaronDavidNewman merged commit 2145848 into AaronDavidNewman:master Sep 19, 2024
1 check passed
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

Successfully merging this pull request may close these issues.

2 participants