Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"(Em)" rendered as "E" in MIDI playback (issue with chords in "( )" that are > 1 char) #1082

Open
anton-bregolas opened this issue Mar 10, 2025 · 3 comments

Comments

@anton-bregolas
Copy link

The issue is specifically with "alternative" chords in parenthesis.

Normally, these chords are considered muted and are not played by MIDI player:

Image

However, if the chord is longer than 1 character (e.g.: Em, F#m, D/G) the first character of the chord will be played back by MIDI player:

Image

The issue has been reproduced in Michael Eskin's ABC Tools.

@seisiuneer
Copy link
Contributor

Happens on the abcjs Quick Editor at

https://editor.drawthedots.com/

as well:

X: 1
T: Scale
M: 3/4
L: 1/4
K: Db
CDE|"(Cm)"FGA|Bcd|efg|abc'|

@seisiuneer
Copy link
Contributor

seisiuneer commented Mar 11, 2025

I suggested to Anton to use the following work-around if playback of optional chords is not required:

Instead of using:

"(Em)"

"D (G/D)"

make these above-the-notation text annotations:

"^(Em)"

"^D (G/D)"

Which achieves the correct visual result in the notation and also does not alter playback.

@seisiuneer
Copy link
Contributor

In my tool, Anton provided for a fix that I extended with a private annotation that allows the tool to either play or suppress playback of alternate chords.

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

No branches or pull requests

2 participants