Skip to content
Discussion options

You must be logged in to vote

Hmm.. we don't have automatic support for this, but it's certainly possible. I just threw together this hacky manual placement of a tremolo, though I didn't have time to work out the alignment (whole note positioning is kind of weird since it doesn't have the usual stem attachment point). Robust support for this would be a reasonable thing to include directly in Chordrest for sure.

from neoscore.common import *

neoscore.setup()

staff = Staff((Mm(10), Mm(10)), None, Mm(150))
clef = Clef(ZERO, staff, "treble")

c = Chordrest(Mm(10), staff, ["a"], (1, 1))
target_notehead = c.highest_notehead
MusicText(
    (ZERO, staff.unit(-2)),
    target_notehead,
    "tremolo3",
)

neoscore.show()

I'm…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@charlesneimog
Comment options

Answer selected by charlesneimog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants