Stem direction using a plugin
When creating a note how can I switch the stem direction using QML?
When creating a note how can I switch the stem direction using QML?
Do you still have an unanswered question? Please log in first to post your question.
Comments
Does
note.stemDirection
work?Perhaps console.log it first on notes that have their direction set so you can see what the expected value is supposed to be.
In reply to Does note.stemDirection work… by jeetee
Didn't work.
Also cannot find how to set the Beam style to flattened.
In reply to Does note.stemDirection work… by jeetee
Internally, stem direction is set on a chord, not a note. Or for beamed notes, on the beam. I would expect the plugin interface to need to work similarly.
In reply to Internally, stem direction… by Marc Sabatella
Even if the 'chord' has just one note!
Finally did it.
Another user sent a solution to use the bass drum on a separate track and voice.
Then I used the style change of of beamNoSlope:
eScore.style.setValue("beamNoSlope", true);
to create beams without slopes. The system then automatically sets the bass drum stem down and the cymbal and snare drum parts up.
This is the format used in a lot of drumset music.