Skip to content

Conversation

@Danielku15
Copy link
Member

Issues

Fixes #2247

Proposed changes

Implements the new displacement logic for multiple voices. It's quite a range of individual rules, but the logic should not be very performance costly. It's mostly checking for overlaps per note-chord and then applying an offset. Generally we need a second layout pass for handling multi-voice bars, but that's acceptable for now.

Checklist

  • I consent that this change becomes part of alphaTab under it's current or any future open source license
  • Changes are implemented
  • New tests were added

Further details

  • This is a breaking change
  • This change will require update of the documentation/website

@Danielku15 Danielku15 self-assigned this Dec 15, 2025
@Danielku15 Danielku15 force-pushed the feature/displace-voice branch from 3b2a24c to 117920f Compare December 15, 2025 03:34
@Danielku15 Danielku15 force-pushed the feature/displace-voice branch from 78a46ac to 2516271 Compare December 15, 2025 04:12
@Danielku15 Danielku15 force-pushed the feature/displace-voice branch from e3a6be9 to b12926d Compare December 15, 2025 04:24
@Danielku15 Danielku15 merged commit db84080 into develop Dec 15, 2025
5 checks passed
@Danielku15 Danielku15 deleted the feature/displace-voice branch December 15, 2025 04:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Displaced note heads for multiple voices

2 participants