Skip to content

measures_as_strings: how to split chords in the same measure? #3

@enridaga

Description

@enridaga

Hi! Thanks for this nice piece of work :)

I love the ability to extract a flattened sequence of chords. However, the measures_as_strings returns chords in the same measures attached together as single string without separation. Is this intended? How to distinguish them and (eventually) know the relative duration?

For example,

print(my_tune.measures_as_strings)

*['D-', 'Eh7A7b9', 'G-7C7', 'F^7', 'Eh7A7b9', 'D-', 'Eh7', 'A7b9', 'D-7', 'D-6', 'D-7', 'D-6', 'D-', 'Eh7A7b9', 'G-7C7', 'F^7', 'Eh7A7b9', 'D-', 'Eh7', 'A7b9', 'D-7', 'D-6', 'D-7', 'D-6', 'F^7', 'G-7C7', 'F^7', 'Eh7A7b9', 'D-', 'Eh7A7b9', 'G-7C7', 'F^7', 'Eh7A7b9', 'D-', 'C7sus', 'C7sus', 'C7sus', 'C7sus', 'C7sus', 'C7sus', 'C7susA7b9', 'D-', 'D-']

I would like to know that in measure 2 there are 2 chords each one occupying half of the measure 'Eh7A7b9' => 'Eh7 A7b9'. I wonder how to treat the case where you have three chords, e.g. C (repeat) F G`, where the first chord occupies 2 bits.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions