← Latest papers
⚡ electrical engineering

UniVoice: A Unified Model for Speech and Singing Voice Generation

UniVoice is a unified speech and singing voice generation framework based on conditional flow matching that factorizes conditioning into content, melody, and timbre, utilizing a learned null melody token to enable explicit melody control for singing while allowing natural prosody inference for speech.

Original authors: Junjie Zheng, Huixin Xue, Shihong Ren, Chaofan Ding, Hao Liu, Zihao Chen

Published 2026-06-05
📖 4 min read☕ Coffee break read

Original authors: Junjie Zheng, Huixin Xue, Shihong Ren, Chaofan Ding, Hao Liu, Zihao Chen

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are trying to teach a single robot to do two very different jobs: telling a story (speaking) and performing an opera (singing).

Usually, you would build two separate robots. One is designed to sound natural and conversational, picking up its rhythm from the words it's reading. The other is designed to follow a strict musical score, hitting every note and beat exactly as written.

The problem with trying to build just one robot to do both is that the instructions for the two jobs contradict each other.

  • For singing, you need to force the robot to follow a specific melody (like a train on a track).
  • For speaking, if you force it to follow a track, it sounds robotic and unnatural. It needs to be free to wander based on the emotion of the story.

If you just mix the training data together, the robot gets confused. It tries to follow the track when it should be free, and tries to be free when it should be following the track. The result is usually bad at both.

The Solution: UniVoice

The researchers created UniVoice, a new "robot" (a computer model) that solves this by using a clever trick called Factorized Conditioning. Think of this as giving the robot three separate control knobs instead of one big, messy switch.

Here is how the three knobs work:

  1. The Content Knob (What is being said): This reads the lyrics or the text. It's the same for both speaking and singing.
  2. The Timbre Knob (Who is saying it): This listens to a short sample of a person's voice (like a 5-second clip) to copy their unique sound, whether they are whispering or belting a high note.
  3. The Melody Knob (The tune): This is the magic part.
    • When Singing: You plug in a specific musical score (MIDI notes). The robot must follow this track.
    • When Speaking: Instead of plugging in a track, you plug in a special "Null Token." Think of this as a "Do Not Disturb" sign for the melody. It tells the robot: "Ignore the music track; just listen to the words and figure out the rhythm yourself."

The Engine: A Shared Brain

Under the hood, UniVoice uses a powerful engine called a Diffusion Transformer (DiT). Imagine this as a highly skilled artist who can paint anything.

  • In the past, you might have needed two different artists (one for speech, one for singing).
  • UniVoice uses one artist who is very good at listening to the three control knobs.
  • When the "Melody Knob" is set to the "Null Token," the artist knows to improvise the rhythm naturally. When the knob is set to a specific song, the artist follows the sheet music perfectly.

Why This Matters (The Results)

The researchers tested this on a massive amount of data (30,000 hours of speech and 35,000 hours of singing). Here is what they found:

  • It's a master of both: UniVoice speaks almost as well as the best speech-only robots (like F5-TTS) and sings much better than previous "all-in-one" robots.
  • It's efficient: It does all this with a relatively small size (0.3 billion parameters), whereas older unified models were much larger and still performed worse.
  • The "Null Token" works: They proved that using that special "Do Not Disturb" sign for speech is mathematically the right way to let the model ignore the melody without breaking its ability to sing later.

The New Test: UNISINGING-EVAL

To make sure their robot was truly good, the team built a new test called UNISINGING-EVAL. Imagine a talent show with 12 different musical genres (from Pop to Jazz to Hip-Hop). They tested the robot to see if it could switch between speaking and singing while keeping the same voice and handling different styles.

The Bottom Line

UniVoice is like a universal voice actor. It doesn't need to be retrained or have a different brain for speaking vs. singing. It simply looks at the instructions:

  • "Here is the text, here is the voice, and here is a song" -> Sings perfectly.
  • "Here is the text, here is the voice, and here is no song" -> Speaks naturally.

By separating the instructions, they stopped the robot from getting confused, allowing it to be excellent at both jobs simultaneously.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →