Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support ties/slurs #10

Open
MatthewDorner opened this issue Apr 26, 2021 · 0 comments
Open

Support ties/slurs #10

MatthewDorner opened this issue Apr 26, 2021 · 0 comments

Comments

@MatthewDorner
Copy link
Owner

VexFlow supports this via Curve and StaveTie. I think Curve can be used for everything. The problem I've had so far is in the case where a tie/slur begins on the last note of the last measure of one line, and is meant to connect to a note at the beginning of the next line. If you tell VexFlow to do this like a normal tie/slur, it'll draw the curve across the entire page diagonally.

I've seen sheet music handle it like this:
tie example

But I can't figure out how to do this in VexFlow. I tried inserting a GhostNote and drawing the curve between the real note and the ghost note, but it gives an error. I think it was something like getTiePositionX doesn't exist.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant