abcjs
abcjs copied to clipboard
Issues with audio and animation at the Configurator page
To reproduce, go to https://configurator.abcjs.net/audio and make sure Animage? is checked.
Now, press play, pause, rewind a few times. And then press play and pause immediately.
You should see something like this:
A few issues here:
- Notes highlighted before rewinding stay highlighted after the rewind
- The note in the tempo notation is highlighted along with the first note
- The chord symbol is highlighted (but maybe it makes sense to highlight it, I'm not sure)
In my own code, I also have some text annotation for the score. But that could be excluded from being highlighted by just using {abc_classes: true} and filtering all of the nodes before highlighting them by "abcjs-note" and "abcjs-rest" classes. It also resolves the 3rd issue.
But I'm not sure if I can solve the 1st and the 2nd issues in my own code.
I'm working on a new audio method and will make sure that this doesn't occur when I switch to the new method.