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

Loading text events and lyrics for all tracks #192

Merged
merged 3 commits into from
Oct 21, 2020

Conversation

gulnazaki
Copy link
Contributor

This PR implements the changes requested on my previous PR. I added the self.text_events attribute and changed text and lyrics loading to multi-track, since for many midi files, text or lyrics events appear on tracks other than 0.

Previously, I suggested classifying these events as text or lyrics depending on timing (if happening at time 0 classify as a text event, otherwise as lyrics), because it is common for annotators not to distinguish between them, but I believe it is better to leave this decision to the user.

@craffel
Copy link
Owner

craffel commented Oct 21, 2020

Excellent, thank you!

@craffel craffel merged commit 5e3db4b into craffel:master Oct 21, 2020
@gulnazaki gulnazaki deleted the load_text_events branch October 21, 2020 22:00
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

Successfully merging this pull request may close these issues.

None yet

2 participants