paulrosen / abcjs

javascript for rendering abc music notation
Other
1.87k stars 276 forks source link

Odd beaming issue after chords if preceeded by a / #1032

Open seisiuneer opened 3 weeks ago

seisiuneer commented 3 weeks ago

X:1 T:Beaming Issue Demo L:1/4 Q:3/8=108 M:6/8 K:D D/F/B/"Bm" B/c/d/ | D/F/B/ "Bm" B/c/d/ |

Produces:

image

The last three notes in the first measure should be beamed, like the last three notes in the 2nd measure, the only difference is there is a space between the / and the " for the chord in the second case.

mssever commented 2 weeks ago

I notice that you have a space after "Bm", i.e., "Bm" B/c/d/. Could that be what's causing the issue? I haven't tested this, but I always place my chord symbols immediately before the notes they're attached to with no intervening spaces. In the second measure, you have a space both before and after the chord symbol.

seisiuneer commented 2 weeks ago

That should be perfectly legal syntax.On Jul 8, 2024, at 6:36 AM, Scott Severance @.***> wrote: I notice that you have a space after "Bm", i.e., "Bm" B/c/d/. Could that be what's causing the issue? I haven't tested this, but I always place my chord symbols immediately before the notes they're attached to with no intervening spaces.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>