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

Implement quantization #14

Closed
daveyarwood opened this issue Feb 3, 2015 · 0 comments
Closed

Implement quantization #14

daveyarwood opened this issue Feb 3, 2015 · 0 comments
Labels

Comments

@daveyarwood
Copy link
Member

In MML, you can "quantize" notes, which sets the actual length of the note regardless of the placement. This is effectively just setting the amount of space between notes. MML's formula is a little obtuse IMHO. I think a more intuitive way would be to take a value 0-100 and use that as the percentage of the note that is heard, i.e. 100% is slurred notes (no space between notes), 0% is a rest for the duration of the note. 90% is probably a good default.

TODO: come up with a syntax* and add it to the grammar, write a test alda score that uses quantization.

*Should probably just let it be an attribute called "quant," for use during attribute changes. This seems clearer than copying MML's q<number> syntax.

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

No branches or pull requests

1 participant