vexflow icon indicating copy to clipboard operation
vexflow copied to clipboard

Tempo support

Open MichaelHills opened this issue 10 years ago • 1 comments

Hi there, I was wondering how hard it would be to add tempo support? Just displaying something simple like:

image

I don't mind doing it myself, but I'm not sure where the right place in the code is. Also I don't know what your dev cycle is and how to build the code to actually develop and test it.

MichaelHills avatar Aug 11 '15 07:08 MichaelHills

Hi, sorry for the very late reply. I would recommend updating Vex.Flow.Backend.MusicXML.prototype.getMeasure to look for the MusicXML tempo indicator, and then set some tempo property on the Measure object indicating that there should be a tempo marker. Then Vex.Flow.DocumentFormatter.prototype.createVexflowStave would have to create the VexFlow tempo indicator from that property (but only for the top Stave!)

ringw avatar Dec 23 '15 23:12 ringw