How to add pedal segment?

• jun 11, 2022 - 14:07

I'm working on a plugin that creates a hidden pedal segment between the first note of each measure in order to simulate con pedale, like this
Screen Shot 2022-06-11 at 6.06.37 AM.png

However, I can't seem to find any documentation on how to add elements that have two anchor points. So what's a good way of creating a pedal between two specific points?

Bilag Størrelse
Screen Shot 2022-06-11 at 6.06.37 AM.png 91.92 KB

Comments

There is none, the plugin API has currently no support for adding spanners, and there is no dedicated "add-pedal-line" command that could be (ab)used.

Do you still have an unanswered question? Please log in first to post your question.