Pedal playback bug - Not releasing after 2nd repeat

It seems that having pedal marks in the first and second repeats is causing issues with play back. In certain situations after the second repeat the sustain pedal will be held down continuously, even into the next flow. I’ve made a dummy file to illustrate the problem. (439 KB)

Thanks for taking the time to post your example. This is a bit of a tricky situation, because Dorico doesn’t currently resolve the lengths of the pedal lines with regard to the repeat structure, and as a result the pedal line will play into the second ending in each case. For the time being you may find that adding CC64 data to the automation lane in Play mode is the easiest way to resolve this.

Thanks, I’ll do that.