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

sequential durations should provide spacers #2

Open
Levitanus opened this issue Nov 9, 2021 · 1 comment
Open

sequential durations should provide spacers #2

Levitanus opened this issue Nov 9, 2021 · 1 comment

Comments

@Levitanus
Copy link

If Music(Note('c'), Duration(2), Duration(1)) — there will be written c21

@wbsoft
Copy link
Contributor

wbsoft commented Dec 21, 2021

If you want separate durations as unpitched notes, use Unpitched. E.g.

>>> from quickly.dom.lily import *
>>> n=MusicList(Note('c', Duration(1/2)), Unpitched(Duration(1)))
>>> n.write()
'{ c2 1 }'

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