-
Notifications
You must be signed in to change notification settings - Fork 3k
Fix #22671: Add support for nested tuplets in MusicXML #30869
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
base: master
Are you sure you want to change the base?
Fix #22671: Add support for nested tuplets in MusicXML #30869
Conversation
8120cea to
5e433bc
Compare
5e433bc to
a58af61
Compare
Implicit tuplets are now supported but not nested implicit tuplets
a58af61 to
ca8186a
Compare
|
I'm a bit stuck with a scenario and I would appreciate some help from someone with more experience in these matters. I have a problem with the second measure of testTuplets5.xml file (red and blue notes): XML: As I see it the first note (red one) creates a new tuplet : ... but then the second (blue one) note begins The second note (blue one) declares that a new tuplet must be created. This is the scenario I have problems with:
I would appreciate if some one could provide some support because I don't know how to deal with it. |
582c558 to
0651878
Compare
This PR still has an scenario to deal with (testTuplets5.xml). A thread has been opened within this PR to determine how to deal with it
0651878 to
404dbab
Compare
|
Sorry to bother @cbjeukendrup testTuplets5.xml is only test failing now. I don't' know if you are yet to analyze the prior comment or you think I am not right about the comment and there is a way to deal with this regression test |
|
Sorry, I will attempt to look into this within the next days. Or maybe @miiizen can help |
|
I'm fairly sure we have enough information to tell that this tuplet is full. The note has a We can then compare the ratio between these two values to the Let me know if that helps! |
Thanks. I'll review it in the coming days |
Hi @miiizen. I would appreciate additional clarification to avoid further mistakes because I am missing something. Tuplet (3/2):
So, ratio of 3:2 and time-modification tag 3:2 => complete. OK So if we get some other examples such as testTuplets2.xml with
and a tuplet defined as: First part of the tuplet (3/2):
Second part of the tuplet (3/2):
I always the same ratio in the first part of the tuplet and it's not complete. I am missing something and I would appreciate additional help, please. |
What I try to explain here is that, INMO, every note within a triplet has the same ratio (between type and real duration) as the tuplet. Therefore it can't be used to determine when a Triplet ends (At least I haven't been able to). I would appreciate any additional comments or explanations, please |

Resolves: #22671