paulrosen / abcjs

javascript for rendering abc music notation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to click lyrics and update them

LiHongyao opened this issue · comments

commented

I anticipate that upon clicking a note, the note can be updated via the piano keyboard. Simultaneously, when selecting the lyrics, a pop-up box should also allow for updating of the current lyrics. What actions should be implemented within the clickListener event function?

There isn't a visual editor but a number of people have done some work on that. I'm not sure where to point you for that, though.

If you look at this demo: https://paulrosen.github.io/abcjs/examples/dragging.html you'll see the general idea that I would do. You have the start and end characters for the clicked note and you can replace that substring with the new note and re-render.