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

Feature request: - (slurs) #2

Open
jrdndj opened this issue Feb 27, 2024 · 6 comments
Open

Feature request: - (slurs) #2

jrdndj opened this issue Feb 27, 2024 · 6 comments

Comments

@jrdndj
Copy link

jrdndj commented Feb 27, 2024

This project has helped me so good so far. Im currently having trouble working on in-between measure slurs such as

D E F G/E/- | E F G A |

specifically looking at E/- | E

Lemme know if this feature will come soon or a way to address this. I looked at the assets and we dont have the sprite for this as well.

Thank you so much!

@matthewcpp
Copy link
Owner

Hello there, glad to hear this code is working for you. Admittedly I haven't touched it in quite a while.

I can take a look at what would go into adding support for ties & slurs, the parsing part seems straightforward. On the rendering side, I am wondering if using a sprite makes sense or maybe it would be better to use a line renderer to draw the tie. Do you have any thoughts on that?

@jrdndj
Copy link
Author

jrdndj commented Feb 29, 2024 via email

@matthewcpp
Copy link
Owner

Was pretty busy over the weekend but I was able to get the basics in for supporting slurs...i plugged your example abc in and this is what its looking like:
image

Is that what you had in mind?

@jrdndj
Copy link
Author

jrdndj commented Mar 7, 2024 via email

@matthewcpp
Copy link
Owner

Heya,

So i think the basic rendering is in place...but there is more work to be done for the feature to be totally complete.

  • logic for placement to be made a bit more robust, especially in the case of nested slurs
  • slurs and ties across multiple score lines are not currently implemented.

In any event, it might be in a good enough state for you to give it a shot. Can you grab the render-slurs-ties branch and see if it is working for your use case?

image

@jrdndj
Copy link
Author

jrdndj commented Apr 10, 2024

hello. thanks for this. Ive currently installed the master branch like how it was described. however i dunno how to do it with the latest branch you modified. would you be able to guide me how to do this?

ive made changes to the master version of the code as well (in my machine). when i tried to simply replace the files, i had so many exceptions xD

sorry for the stupid question but looking forward to your help

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

2 participants