abcjs icon indicating copy to clipboard operation
abcjs copied to clipboard

Use of the symbol line s: isn't working

Open padevide opened this issue 1 year ago • 1 comments

Hi! Not sure if this has been asked before (couldn't find any open or closed issues. closest was #352 but not sure what they really ment) or if i am doing something wrong here. In the abc notation standard the use of an symbol line with s: is described here: wiki abc standard v2.1 - 4.15 Symbol lines I began transcribing scores to abc using the android app 'À La Mode' by suchideas which parses symbol lines as expected. But I also want to use the abcjs plugin in Joplin to save my scores. Here's where I stumbled upon this issue.

So entering following

U:T=!tenuto!
   Bd Bd|fz z2|BB BB|BB BA|
s: .. ..|.    |T. ..|.. ..|
s:!f!   |     |!mf! |     |

which corresponds to !f!.B.d .B.d|.fz z2|!mf!!tenuto!B.B .B.B|.B.B .B.A| should give me: grafik

instead i get: grafik It seems, abcjs is parsing s: lines exactly as the lyric lines w: I tried to locate the issue (or understand the way the parsing of s: lines works) in the source code and what i found is, that the code was copied from the code handling w: Any plans on fully implementing symbol lines? That would make writing and editing scores with lots of symbols and decorations so much easier!

And thanks for making this project! ❤

padevide avatar Apr 25 '24 10:04 padevide

That is definitely not implemented yet - sorry about that.

I would accept a pull request and would help someone get started if you want to tackle it. Since I have limited time at the moment and there is a workaround I know I won't get to it in the next few months.

paulrosen avatar May 12 '24 16:05 paulrosen