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

Improve duet extraction, enable detection of rap notes #5

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

thomas-gessler
Copy link

The program previously wasn't able to extract duets to a single txt file directly and created two files instead. In addition, duets that have Duet="Yes" in the XML but all notes in a single track (distinguished by the Singer attribute in SENTENCE tags) were not detected. Both are fixed with this PR.

In addition, rap and golden rap notes are now detected (previously only freestyle).

This creates a single duet-style txt file instead of separate files for
each singer. In addition, the program now finds duets that have a single
track outside of the TRACK tags. In that case, the singer for any given
note is determined by the last seen Singer attribute in a SENTENCE tag.
In the XML format, notes can have any combination of the Bonus, Rap, and
FreeStyle attributes. It seems that all Rap notes are also FreeStyle.

Since the txt format cannot combine free-style with another type,
FreeStyle notes will only be marked F if they are not Bonus or Rap.
There is at least one song that is marked as duet and has two tracks
(with notes outside the tracks), but the tracks have no Artist
attribute:
SingStar Party[DE]: Destiny's Child - Survivor
In such a case, the Name attribute will be used as a fallback.
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.

1 participant