Skip to content

Comments

Improve duet extraction, enable detection of rap notes#5

Open
thomas-gessler wants to merge 6 commits intoperformous:masterfrom
thomas-gessler:master
Open

Improve duet extraction, enable detection of rap notes#5
thomas-gessler wants to merge 6 commits intoperformous:masterfrom
thomas-gessler:master

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.
The singstar XML files contain pitch information in the form of MIDI
notes. The UltraStar format uses signed integers, where 0 corresponds to
MIDI note 60. This leads to an error of five octaves with the previous
ss_extract behavior.
The medley start and end time in seconds are extracted from the
songs_*.xml files and then converted to beats. Medley start and end are
also marked at the corresponding notes in the melody files, but these
might be ambiguous in the case of duets. The "normal" medleys are always
chosen instead of the "micro" medleys.
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