paulrosen / abcjs

javascript for rendering abc music notation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Is it possible to add numbered musical notation?

hhaiwwww opened this issue · comments

微信截图_20231221150359
ABCjs is great,I would like to add a notation display function that can be switched to display with the staff notation. I'm not sure if this feature is available

It would be possible to extend abcjs to do this, but it isn't available out of the box.

There is a way to run abc through the parser only without doing output. Then you have a structure you could step through to do your own drawing.

So, what I'd do:

const visualObj = abcjs.renderAbc("*", abcString)

Then write a function that steps through visualObj[0].lines and writes the output.

I still don't quite understand. Will you improve this feature on your end