-
It has been confusing for me to experiment with verovio. How can I auto-scroll and also play a custom audio instead of midi. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 8 replies
-
What have you tried? |
Beta Was this translation helpful? Give feedback.
-
Do you have your own interface to verovio or are you using an existing one? And in what language (presumably Javascript)? Basically you need to ask the HTML5 element If you render a MIDI file into a sound file, then the millisecond timings in the timemap (tstamp values) are all you need. This is done on the Tasso in Music Project website, for example: If you want to use a sound file that is a live performance, then you will have to create an additional performance timeline that @ahankinson could explain how to embed in the source MEI file, or you would have a separate event list to manage the mapping of performance time to score time that the verovio timemap provides. Related to this: @lpugin, is there an option to output the output the calculated timemap from verovio on the command line? I though there was one, but I do not see it in the list of verovio options. I can add an issue to add it (back?) if you like 😉 |
Beta Was this translation helpful? Give feedback.
Yes, it was snuck into the
-t
option, so on the command line it is:and the output is saved in file.json
for the javascript toolkit it would be the option setting
{"outputTo": "timemap"}