Repository navigation
Add ROSVOT singing-note transcription - #1308
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds ROSVOT singing-note transcription as a supported model family. The standalone F32 GGUF bundles ROSVOT, RWBD word-boundary prediction and RMVPE pitch extraction, and produces MIDI or JSON note events. This is offline note transcription; lyric recognition and streaming are not supported.
Packages are configured under audio-cpp/SoulX-Singer-GGUF. Includes conversion tooling, usage documentation and license notices.
Framework changes reuse the existing relative-attention implementation with an explicit legacy T-row positional-layout option, preserve its default 2T−1 contract, and simplify the shared GGML RMVPE graph. An optional native CUDA RMVPE implementation is enabled by ROSVOT on CUDA; RVC and Seed-VC retain the GGML implementation.
Validation
Full-model CPU, CUDA and Vulkan runs completed successfully. On the same singing input:
Repeated outputs are stable on each backend. Previous lifecycle checks cover changed-input restoration, short audio and silence. Controlled FP32 CPU component parity passes the 0.99999 cosine gate; the previously accepted GPU decoder drift can change discrete note boundaries on other inputs.
Shared RMVPE A/B checks for RVC and F0-conditioned Seed-VC produced byte-identical WAVs across all 120 measured requests per model, with native CUDA RMVPE disabled. The legacy attention test uses an independent hand-calculated reference and verifies that the default positional-layout contract is preserved. Model-spec validation passes.
Follow-up fixes
The new commit fixes the process abort on valid short clips, corrects supplied-word indices, and declares
word_durations_fileas a path. The word-index bug is also present in upstream Python: notes whose endpoints do not coincide with word boundaries can incorrectly default to word 1. This commit corrects that inherited behavior.