Skip to content

Comments

Make linebreak timings optional#89

Merged
marwin89 merged 1 commit intoUltraStar-Deluxe:mainfrom
codello:optional-end-of-phrase-beats
May 22, 2025
Merged

Make linebreak timings optional#89
marwin89 merged 1 commit intoUltraStar-Deluxe:mainfrom
codello:optional-end-of-phrase-beats

Conversation

@codello
Copy link
Collaborator

@codello codello commented May 22, 2025

What does this PR do?

This PR introduces a change to v2 of the song format that makes the start-beat of end-of-phrase markers optional. For example the following would be valid in v2:

: 1 2 3 Foo
-
: 4 5 6 Bar

This requires notes to be sorted according to their start-beat times, which is already the case in the current v2 draft.

Closes Issue(s)

Fixes #64

Motivation

See #64 (comment)
This is mostly a convenience feature for song creators.

More

This PR only targets v2 of the song format as this is a breaking change in v1.

See UltraStar-Deluxe#64. Notes are already required to be ordered by start beat.
@codello codello force-pushed the optional-end-of-phrase-beats branch from 3fa0c41 to 5ae8d5c Compare May 22, 2025 12:11
@marwin89 marwin89 self-requested a review May 22, 2025 16:03
Copy link
Collaborator

@marwin89 marwin89 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. I approve and merge ✅ Thanks @codello

@marwin89 marwin89 merged commit 3505cd9 into UltraStar-Deluxe:main May 22, 2025
1 check passed
@codello codello deleted the optional-end-of-phrase-beats branch May 23, 2025 09:24
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.

[Spec] Make linebreak timings optional + Notes MUST be in order

2 participants