timeToResume() measured the pause from segmentCmpltTime, which still held the previous loop's end while the engine finished the loop that was playing when the pause was flagged. A pause_duration shorter than one melody loop therefore resumed before the bells ever went quiet. Only start counting once that loop has ended (segmentCmpltTime >= pauseTime). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>