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

remove legacy legato + duration implementations #965

Merged
merged 5 commits into from
Feb 29, 2024
Merged

remove legacy legato + duration implementations #965

merged 5 commits into from
Feb 29, 2024

Conversation

felixroos
Copy link
Collaborator

@felixroos felixroos commented Feb 28, 2024

fixes #111

legato is now doing the same as clip.

this is technically a breaking change because earlier things like

"c d e".legato(.5).note()
// or
note("c d e".legato(.5))

..have worked, now they don't. this would be the working example:

note("c d e").legato(.5)

this is because legato expects the hap value to be an object

edit: the change shouldn't have too big impact because none of the example tunes or the docs show that this is possible

edit: this change should be non breaking if #973 is added (not sure)

@felixroos felixroos changed the title remove legacy legato implementation remove legacy legato + duration implementations Feb 29, 2024
@felixroos felixroos merged commit 4cadbcb into main Feb 29, 2024
2 checks passed
@felixroos felixroos deleted the legato-fix branch February 29, 2024 14:12
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

Successfully merging this pull request may close these issues.

Fix legato and duration
1 participant