Skip to content

Displaced note heads for multiple voices  #2247

@AurisStd

Description

@AurisStd

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

If I am making two voices, and those voices happen to be the same note but have different rhythms, they seem to overlap each other even though this is generally not the standard in sheet music, and instead they would be placed directly next to each other.

Expected Behavior

Playing two voices that are the same pitch but different rhythms should make the notes be adjacent to each other, and not overlapping. The first beat in the image demonstrates this. AlphaTab overlaps the two notes.

Image

Steps To Reproduce

\track "Piano"
\staff{score} \tuning piano \instrument acousticgrandpiano
\voice
c4 d4 e4 f4 | c4 d4 e4 f4
\voice
c4.1 | c3.4 d3 e3 f3

This alphatex demonstrates the overlapping of the two notes.
If they are both the same rhythm, I believe then it is okay to overlap the two, since the stems will be in different directions, but in this case, one blocks out the other.

Link to jsFiddle, CodePen, Project

No response

Version and Environment

Checked on android and web versions

Platform

Android (Native)

Anything else?

No response

Metadata

Metadata

Assignees

Labels

area-renderingEverything related to the renderingplatform-allAffects all platformsstate-acceptedThis is a valid topic to work on.

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions