abcjs icon indicating copy to clipboard operation
abcjs copied to clipboard

Lyrics Alignment

Open MooLee89 opened this issue 9 months ago • 2 comments

Hello paulrosen! The abc I installed is "abcjs": "^6.3.0" I want to know if this version is based on abc standard 2.0 or 2.1? I saw the description of lyrics alignment in the 2.1 documentation: CDEF| GAB c| w: doh re mi fa sol la ti doh

Comment: The second example, made possible by an extension (introduced in abc 2.1) of the alignment rules, means that lyrics no longer have to follow immediately after the line of notes to which they are attached. Indeed, the placement of the lyrics can be postponed to the end of the tune body. However, the extension of the alignment rules is not fully backwards compatible with abc 2.0 - see outdated lyrics alignment for an explanation.

My question is that the current abc.js supports aligning and displaying lyrics on a separate line, as described in standard document 2.2?

MooLee89 avatar Apr 27 '24 06:04 MooLee89

@MooLee89 In my testing, with abcjs, the w: lines have to follow the ABC they are associated with for things to work correctly.

Putting a long w: line at the end of the two lines like you've posted doesn't show any lyrics on the first line.

seisiuneer avatar May 02 '24 19:05 seisiuneer

I wasn't aware of that change to lyrics in the 2.2 documentation. That's not currently supported. I'll accept a pull request if someone wants to make that change.

paulrosen avatar May 12 '24 16:05 paulrosen