mx icon indicating copy to clipboard operation
mx copied to clipboard

Expand repeats ?

Open nyue opened this issue 3 years ago • 1 comments

Is there a convenience function or concept of expanding repeats ?

Like how a musician will interpret the score while playing the piece from start to end ?

I am hoping to extract all the relevant pitches (from the pitches I hope to calculate their position on the piano keyboard) as they are played to animate the fingers in both the left and right hand.

nyue avatar Mar 03 '22 03:03 nyue

Unfortunately no. In fact, it looks like repeats may be oversimplified in the "api" namespace. If that is the case, then you would need to go to the lower-level "private" representation of the XML to get additional information about them.

https://github.com/webern/mx/blob/9d54883efdb3242d8bdb66e2d8543cdea8ec093c/Sourcecode/include/mx/api/BarlineData.h#L46

webern avatar Mar 03 '22 15:03 webern