Open johentsch opened 1 year ago
Take this example incorrect_unfolding.zip
Expected unfolding
1 2 3 4 5 3 4 5 6 2 3 4 7
Actual unfolding
1 2 3 4 5 3 4 7
Suggested solution
The next column for m. 4 needs to read 5 5 7 rather than 5 7. If the pointer hits an end-repeat (m. 5) everything repeated bar could get its next bar prepended. Or only "non-default" bars, such as m. 4 in the example.
next
5 5 7
5 7
Take this example incorrect_unfolding.zip
Expected unfolding
1 2 3 4 5 3 4 5 6 2 3 4 7
Actual unfolding
1 2 3 4 5 3 4 7
Suggested solution
The
next
column for m. 4 needs to read5 5 7
rather than5 7
. If the pointer hits an end-repeat (m. 5) everything repeated bar could get its next bar prepended. Or only "non-default" bars, such as m. 4 in the example.