-
Notifications
You must be signed in to change notification settings - Fork 2
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
[Spec] Should spaces that separate words come at the start or end of the line? #65
Comments
Thanks for the great summary. I can only add:
|
I assume this lyrics highlighting that you talk about works on character not syllable basis, right? In such case either the real text of the syllable starts too late (if space is at the beginning like in §2) or it ends too soon (if space is at the end like in §3). Either way it does not work like expected. Games/editors should simply ignore trailing & leading whitespaces during character-based highlighting. |
As to main consideration number 2, can someone please elaborate why spaces after words are more logical? This seems highly subjective, for me the spaces before are way more logical. Afterall conceptually I treat space more as a character that introduces new word than as a character that ends the previous word. Not sure how apostrophes are relevant to this topic. |
During the year when I was active in USDX development, this topic came up quite often, and each time, there were some people who considered spaces before to be better, some who considered spaces behind to be better, many who are fine with either / want support for either, and even some who tried to push for some magic algorithm / marker instead of manually placed spaces. Personally, I see spaces as just a part of the lyrics. I don't care if they are in front or after the words, and imho the software should handle this the same way. Avoid automagic to fix / adjust space-placement where possible and instead require the txt file creator to know what they want. Imho all editing tools have to support any position of spaces in the syllables. |
From the specfile side of things i'd encourage either before or after, as long as it's specified. However from the games side i'd say to support both. As sumarized i think option 3 (allow spaces after) is widely more used than before or both. When going for option 3 -> the spec could read something like: The first bit enforces new txt files to be in the required format, whilst the second bit opts for compatibility |
Suggestion
Words are separated via spaces, but within the UltraStar format, the space between two words could generally be placed on the line after the last syllable of the first word, or before the first syllable of the second word.
Example (
|
marks end of line for visualization purposes):Before:
After:
The specification does not currently contain any rules or recommendations on how these should be handled by UltraStar games and tools. We have three options:
§1: Allow both
§2: Allow only spaces before
§3: Allow only spaces after
Main onsiderations
ev’|ry|thing
), supporting option §3.Use case
There has been discussion on the Discord about this multiple times, and games and tools currently support (and sometimes enforce) different standards. A consensus should be reached and recorded in the specs.
Extra info/examples/attachments
Current state of support:
The text was updated successfully, but these errors were encountered: