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

Add parentheses for legato based on LilyPond slur syntax #3

Closed
pinobatch opened this issue Feb 9, 2016 · 1 comment
Closed

Add parentheses for legato based on LilyPond slur syntax #3

pinobatch opened this issue Feb 9, 2016 · 1 comment

Comments

@pinobatch
Copy link
Owner

"Legato" in Pently refers to an instantaneous change in the base pitch of a note without restarting the note's envelope. Currently in pentlyas.py, it's possible to trigger legato in a pitched pattern by adding ~ to the preceding note. This is derived from LilyPond tie syntax. But LilyPond also has slur syntax, triggered with ( suffix on the note before the first legato note and ) suffix on the last legato note. For example, these should be equivalent, where only the C, F, and G get a new envelope:

c4~ d~ e f g2
c4( d e) f g2
@Qix-
Copy link
Collaborator

Qix- commented Jun 14, 2016

Awesome 💃

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