How do I add tempo markings? #1585
-
I've tried adding tempo markings by using this let staveTempo = new StaveTempo(tempo.starting)
staveTempo.setTempo({
bpm: tempo,
})
tempo.setContext(context).draw(stave) But it doesn't seem to render. I checked in the dev tools, and there's no additional element for the tempo, which is why I'm here, I would like to know how to add tempo marking, because I can't find much about it. edit: I just tried stave.setTempo(tempo) which also didn't work |
Beta Was this translation helpful? Give feedback.
Answered by
ego-lay-atman-bay
Jul 20, 2023
Replies: 1 comment 1 reply
-
I just figured it out, I had to do this stave.setTempo({
bpm: tempo
duration: 'q',
}) |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
ego-lay-atman-bay
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I just figured it out, I had to do this