Skip to content

Conversation

edwko
Copy link

@edwko edwko commented Apr 7, 2025

Since v1.0 has simplified processing, this implementation provides full feature support.

Changes and Features

  • JSON Speaker Loading:
    • Added support for the new JSON speaker format, which includes an interface version.
    • OuteTTS 1.0 is supported using interface version 3.
  • Text Chunking for Long Inputs:
    • Enables processing of very long input texts by splitting them.
    • Splitting respects minimum and maximum word boundaries (min = 10, max = 30).
    • Supports multilingual text.
    • Can be disabled via --tts-no-text-chunking (default: enabled).
  • Text Preprocessing & Prompt:
    • While optional, a light cleanup and normalization step is included to improve output quality.
    • Added new required prompt handling for the v1.0
  • Code Organization:
    • Implementation is located in: tts-outetts-v1.cpp.
    • A default speaker is added in a header file as JSON default_speaker.h.

TODO / Help Needed

Example Commands

Default generation uses default speaker automatically and chunked text:

build/bin/llama-tts-outetts-v1 -m "path/to/model.gguf" -p "A very very long text"

Disables chunked text:

build/bin/llama-tts-outetts-v1 -m "path/to/model.gguf" -p "Hello, how are you doing?" --tts-no-text-chunking

With custom speaker file:

build/bin/llama-tts-outetts-v1 -m "path/to/model.gguf" -p "A very very long text" --tts-speaker-file "path/to/speaker.json"

@edwko edwko marked this pull request as draft April 7, 2025 09:55
@github-actions github-actions bot added examples python python script changes labels Apr 7, 2025
@ngxson
Copy link
Collaborator

ngxson commented Apr 7, 2025

  • The decoder layers from DAC need to be implemented

FYI, currently we're missing Snake1d which should be implemented via #12487

@ggerganov
Copy link
Member

Does DAC replace WavTokenizer?

@edwko
Copy link
Author

edwko commented Apr 22, 2025

Does DAC replace WavTokenizer?

Yes, since this model is multilingual, DAC is a better fit for reconstructing audio across languages.

@Horschig
Copy link

It would be really great if this would get merged. However I was wondering whether it'd also be possible to add mulitlingual support to llama-server?

@foldl
Copy link
Contributor

foldl commented May 19, 2025

FYI: OuteTTS 1.0 is supported by chatllm.cpp. You can find DAC & SNAC implementation there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

examples python python script changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants