Skip to content

complex durations support #1

Description

@Levitanus
from quickly.dom import lily

print(lily.Duration(5 / 8).write())  # 2

When I have first seen the example with Duration(3/ 8).write() == "4." I was really excited as It was my first task in own project. But the example with 5/ 8 shows that some durations can be lost. I'm not sure that the best solution would be to make something like Duration(5/ 8).write() == "2~8" as it depends on the bar position. So here is an issue for discussion on the topic.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions