Skip to content

Feature Tracker and FAQ #484

Open
Open

Description

@0xShug0

Use this thread to:

Request new features
Pick up open features TODOs
Ask or find answers to common questions

PRs for these features are greatly appreciated! If you want to work on a TODO, please comment first to avoid duplicated effort.

Features

UI:

  • UI streaming
  • Autoplay
  • Voice lib export/import
  • Voice lib sort
  • Kokoro missing speed ctr
  • A hybrid page for this special model
  • Adding a History of music generations (currently any new generation removes the previous one in the right panel.)
  • Possibility to attach metadata (prompt, lyrics etc) to the audio file, or
  • Exporting the metadata as *.json file, full for reproducibility.
  • In HeartMuLa having a default 'pop' in tags would serve better than throwing error: tags needed.
  • In ACE-step having a default for prompt 'upbeat ...' would also serve better than throwing error: prompt needed.
  • Any new run stops the play, it would be better if it leaves play alone and only stops it if the new generation done and the new song ready.
  • The newly added -1 = auto label could move next to Duration seconds similar to existing Seed -1 = random.
  • Auto-save gens on computer, instead of clicking save.
  • Save UI settings across reloads.
  • YuE2: Only show downloaded weights and select valid defaults.
  • Ask to reload when model/weight settings change.
  • Load settings from a previous output or metadata JSON.
  • Show generation progress and elapsed time.
  • Show the actual reason when download/install fails.

FAQ

Docker can't run

This is usually a CUDA driver compatibility issue. See https://docs.nvidia.com/cuda/cuda-toolkit-release-notes/index.html#cuda-toolkit-and-corresponding-driver-versions
Image

Vulkan

Nvidia Jetson Orin

Multi-component models: YuE2, Minimax Music3, AuK

  • If you’re using binaries built from source, you may encounter a model directory contains 2 GGUF files error, causing the server/CLI to refuse to load the model. There are two ways to address this:
    (1) Use --model-spec-override /absolute/path/to/model_spec.json
    (2) Build with AUDIOCPP_DEPLOYMENT_BUILD=ON

Kokoro and other TTS models with built-in voices

The preset voices are usually packed in the GGUFs. /v1/audio/voices lists server-configured presets and voice-library files, rather than inspecting model-specific GGUF contents. This keeps the shared endpoint independent of each model’s voice format. The same applies to KittenTTS and MagpieTTS. E.g.

curl -i 'http://127.0.0.1:8894/v1/audio/voices?model=magpie' should return

HTTP/1.1 200 OK
{"voices":[]}

You still can select built-in voices directly by name, or add voice_presets to the server config to expose them in the list. The model-specific docs list the available voice name (not all voices are packed).

AuK/Auk Flash

Honest take: only certain tasks this model (official Python impl) supports work as expected.

We validate parity with upstream Python for the tested configuration, not whether AuK's output meets every quality expectation. If a result is disappointing, listen to the corresponding Python reference WAV linked below first.

https://huggingface.co/audio-cpp/AuK-Base-and-Flash-GGUF

A similar Python result points to the upstream model's behavior, not necessarily an audio.cpp conversion issue.

#612 also provides human evaluation of the results.

Duration_sec in Music 3 and HeartMula

They set the maximum budget, not the actual duration.

Model Upstream parameter audio.cpp parameter Behavior
Music3 max_new_tokens — maximum audio frames at 25 fps duration_sec — converted to a frame budget Maximum duration; generation may finish earlier on EOS.
HeartMuLa max_audio_length_ms — maximum duration in milliseconds duration_sec — equivalent limit expressed in seconds Maximum duration; generation may finish earlier on EOS.

Placeholder...

Activity

  1. pinned this issue on Sep 7, 2026
  2. blox11 commented on Sep 12, 2026

    @blox11

    https://github.com/woongzip1/UniverSR
    https://github.com/jusperlee/apollo

    Are these two that you would consider implementing? They are more like audio restoration tools.
    Also, I appreciate your work on audio.cpp. Juggling a bunch of different music gen/TTS models between their own implementation or comfy-ui was annoying and difficult to get working, but this has been a very easy experience.

    I have some other recommendations too (no MuScriptor Large?), but thought it might be a bit rude to just dump a wall of them without any context 😂

  3. gitchat1 commented on Sep 12, 2026

    @gitchat1

    Is there any chance we could get a whisper check like it is implemented in this project. https://github.com/zeropointnine/tts-audiobook-tool That would improve quality significently and since audio.cpp runs on both AMD as well as Nvidia it would make the comunity less dependent on Nvidia. It would also be pretty important to be able to offload the whisper model to the cpu for those of us with lower end hardware.

  4. 0xShug0 commented on Sep 12, 2026

    @0xShug0
    OwnerAuthor

    @blox11 Thanks for the pointer! I’ve added them to the model candidates list. For variants like MuScriptor Large, they’re usually lower priority for me, so I’m hoping the community can pick them up. Most of these extensions should be pretty straightforward since the architecture stays the same and only the model parameters change. My focus is still on extending support for unique model families.

    @gitchat1 I don’t quite understand how this feature works. Could you elaborate a bit?

  5. gitchat1 commented on Sep 12, 2026

    @gitchat1

    I'm not a programmer so you would have to look at the code to know how it's really done. What the feature does in practice is it retranscribes generated segments of audio and checks the transcript against the original text. If the segment passes the check it is processed further if it does not the segment is discarded and regenerated. The programme runs through this cycle up to five times if it can't resolve the error it accepts a flawed segment. Of course the Whisper model in question does also need VRAM when run together with the model on the graphics card, therefore it would be great if you could reallocate that model in this case whisper-turbo to the CPU for memory constraint environments. What would make it even better is if after the programme fails five times it didn't just pick the latest generation but the best of them. This programme has such a feature. https://github.com/petermg/Chatterbox-TTS-Extended I do not know how difficult something like that would be to implement though. Oh yes and in the case of audiobooktool there are five possible acuracy levels the segments need to pass in order to be processed further. The higher the acuracy level the closer the segment has to be to the real text in order to pass.

  6. 0xShug0 commented on Sep 12, 2026

    @0xShug0
    OwnerAuthor

    What the feature does in practice is it retranscribes generated segments of audio and checks the transcript against the original text. If the segment passes the check it is processed further if it does not the segment is discarded and regenerated.

    I see. This kind of feature should live in applications built on top of audio.cpp. The core engine won’t implement features like this.

  7. blox11 commented on Sep 13, 2026

    @blox11

    Two more that would potentially be quite useful, especially for using the new YuE2 model with stem separation/lyrics transcription respectively.

    https://github.com/facebookresearch/sam-audio
    https://github.com/tencent-ailab/songprep

  8. added
    help wanted
    on Sep 14, 2026
  9. The1Bill commented on Sep 14, 2026

    @The1Bill

    I would appreciate the ability to not just cache a custom voice in Breeze, but to save one. I've been using breeze-tts-2.cpp (I have no affiliation with it, I just like this feature) and it allows for cloned voices to be saved a .breeze files to obviate re-running the clone job once per session (if it's being cached) or once per call (if it isn't).

    Details on Breeze's 'saving' of voices here.

    Is this something that can be added either to the CLI or the UI?

  10. 0xShug0 commented on Sep 14, 2026

    @0xShug0
    OwnerAuthor
  11. The1Bill commented on Sep 14, 2026

    @The1Bill

    Kind of. That would let me have the voice preset ready to go but it would still have to re-clone the voice for each run, wouldn't it?

    Breeze has a neat way of saving these voices as a .breeze file and running an instance with a .breeze file had lower latency than sending a .wav and a transcript when I tested it. The encoded .breeze file that I use for my assistant is ~5kb while the .wav is based on us ~300kb.

    If it's not in scope it's no big deal, it isn't like the latency cost of cloning a voice is all that high.

  12. 0xShug0 commented on Sep 14, 2026

    @0xShug0
    OwnerAuthor

    @The1Bill No. TTS models have internal cache for processed reference voice to skip reprocessing. E.g., Breeze has a session option reference_cache_slots default to 1. You can increase the number during server lanuch to allow cache multiple reference voices. In additional to that, for TTS models that need repeated voice-clone context, set a model-level default_voice_preset so OpenAI-compatible clients can omit voice_ref and reference_text on each request:

    {
      "id": "omnivoice",
      "family": "omnivoice",
      "path": "/absolute/path/to/models/OmniVoice",
      "task": "tts",
      "mode": "offline",
      "default_voice_preset": {
        "voice_ref": "/absolute/path/to/reference.wav",
        "reference_text": "Reference transcript for the reference audio."
      }
    }
    
  13. coppe4 commented on Sep 16, 2026

    @coppe4

    Would it be possible to bundle rnnoise and integrate denoising + silence removal to the server tts ui?

    Here is the official OmniVoice hf demo with automatic denoising and postprocessing which makes it easier to get good results.

    Currently, it seems with audio.cpp i'd need to first denoise the audio and then feed it as input.

  14. 0xShug0 commented on Sep 17, 2026

    @0xShug0
    OwnerAuthor

    Would it be possible to bundle rnnoise and integrate denoising + silence removal to the server tts ui?

    Here is the official OmniVoice hf demo with automatic denoising and postprocessing which makes it easier to get good results.

    Currently, it seems with audio.cpp i'd need to first denoise the audio and then feed it as input.

    Let me think...

  15. 7 remaining items

  16. 0xShug0 commented on Sep 28, 2026

    @0xShug0
    OwnerAuthor

    @coppe4 Sidon is ready, but the merge will be delayed until after the 0.9 release.

  17. coppe4 commented on Oct 2, 2026

    @coppe4

    @coppe4 Sidon is ready, but the merge will be delayed until after the 0.9 release.

    Sorry, i missed your mention, thank you for considering Sidon, i believe the voice cloning pipeline will now be easier to work with.

    Have you had the chance to try out Sidon? I had pretty good results with noisy audio.

  18. 0xShug0 commented on Oct 3, 2026

    @0xShug0
    OwnerAuthor

    @coppe4 Yes it's a good model.

  19. drzsdrtfg commented on Oct 15, 2026

    @drzsdrtfg
    Contributor

    Hey @0xShug0, do we currently support parallel batched processing?

  20. unpinned this issue on Oct 15, 2026
  21. 0xShug0 commented on Oct 15, 2026

    @0xShug0
    OwnerAuthor

    @drzsdrtfg Do you mean (1) processing a list of inputs, or (2) batching multiple inputs into one model execution? For (1), batch processing runs sequentially. Threading does not make a single model instance safely execute multiple independent requests concurrently. For parallel batch jobs, you generally need separate model/session instances, which increases memory usage. There is an experimental parallel runtime in the framework.

    For (2), currently, only RE-USE and Nemotron 3 Diarization implement this. It requires model-specific implementation. Depending on the model architecture, batching may require significant runtime changes and additional activation/cache memory. Broader batching support is therefore not planned for the near future.

  22. drzsdrtfg commented on Oct 15, 2026

    @drzsdrtfg
    Contributor

    Thanks for the answer. I meant (2).

  23. misutoneko commented on Oct 26, 2026

    @misutoneko

    Hi 0xShug0, is there any writeup on the AI use?
    I see Claude listed as a contributor on this repo, but not in any actual commit descriptions.
    Basically just curious about how it's being used...
    (well, having a general AI policy might be a good idea too).

  24. 0xShug0 commented on Oct 26, 2026

    @0xShug0
    OwnerAuthor

    @misutoneko Feel free to use AI for coding. I assume using AI is the de facto standard these days. But please provide runtime validation (https://github.com/0xShug0/audio.cpp?tab=contributing-ov-file). Keep in mind that AI can overthink things and be overly nitpicky about unrealistic edge cases, so it's important to have human judgment involved to verify that an issue is real and worth prioritizing (e.g., #552 (comment)).

    Update: If you mean a fully autonomous AI agent that automatically analyzes the codebase, identifies bugs, and submits fixes, that would be a no from me. I prefer human involvement in the PR process.

  25. chenhz01 commented on Nov 2, 2026

    @chenhz01

    This tracker thread settles the design question nicely: the retranscribe-and-regenerate QC loop described earlier belongs in an application on top of audio.cpp, not in the engine. So here's the smallest useful version of that application — segment the text, generate via the server's OpenAI-compatible speech endpoint, retranscribe with whisper, compare against the source, regenerate up to 3 times, then keep the least-bad segment.

    #!/usr/bin/env python3
    """Segment-level TTS quality gate on top of an audio.cpp server: generate ->
    retranscribe -> compare -> regenerate, max 3 tries, then keep the least bad.
    Needs: pip install openai-whisper. Env: AUDIOCPP_URL (local server, no key)."""
    import difflib
    import json
    import os
    import subprocess
    import sys
    import tempfile
    import urllib.request
    
    URL = os.environ.get("AUDIOCPP_URL", "http://127.0.0.1:8080")
    
    
    def tts(text, voice="alloy"):
        body = json.dumps({"model": "tts-1", "input": text, "voice": voice})
        req = urllib.request.Request(URL + "/v1/audio/speech", data=body.encode(),
                                     headers={"Content-Type": "application/json"})
        with urllib.request.urlopen(req, timeout=120) as r:
            return r.read()
    
    
    def transcribe(wav_bytes):
        with tempfile.NamedTemporaryFile(suffix=".wav", delete=False) as f:
            f.write(wav_bytes)
            path = f.name
        subprocess.check_output(
            ["whisper", path, "--model", "turbo", "--output_format", "txt",
             "--output_dir", tempfile.gettempdir()], stderr=subprocess.DEVNULL, text=True)
        with open(path[:-4] + ".txt", encoding="utf-8") as f:
            txt = f.read().strip()
        os.unlink(path)
        return txt
    
    
    def similar(a, b):
        return difflib.SequenceMatcher(None, a.lower(), b.lower()).ratio()
    
    def gate(segments, threshold=0.85, tries=3):
        for seg in segments:
            score = 0.0
            for attempt in range(tries):
                score = similar(transcribe(tts(seg)), seg)
                if score >= threshold:
                    print(f"OK   ({score:.2f}) {seg[:40]}")
                    break
                print(f"retry {attempt + 1} ({score:.2f}) {seg[:40]}")
            else:
                print(f"KEEP FLAWED ({score:.2f}) {seg[:40]}")
    
    
    if __name__ == "__main__":
        text = sys.argv[1] if len(sys.argv) > 1 else sys.stdin.read()
        gate([s.strip() for s in text.replace("。", "。|").split("|") if s.strip()])

    It needs only the server URL in AUDIOCPP_URL and a local whisper install; no keys, no engine changes.

    For batch dubbing this pattern (per-segment similarity threshold around 0.85) catches garbled generations before they reach the final mix. Happy to implement this under a small paid engagement if that's easier than DIY.

  26. Fjinna-Lyra commented on Nov 4, 2026

    @Fjinna-Lyra

    Is it possible to enable ggml-hexagon backend for snapdragon npu?

  27. 0xShug0 commented on Nov 15, 2026

    @0xShug0
    OwnerAuthor

    Is it possible to enable ggml-hexagon backend for snapdragon npu?

    @Fjinna-Lyra The challenge is that I don't have the hardware to test it. audio.cpp's GGML is heavily optimized for audio workloads, with many ops not supported by upstream GGML. Enabling a new backend usually requires adding missing ops and validating support model by model (e.g., SYCL validation and WebGPU validation). Without proper testing, I'd expect a ton of bug reports.

  28. Fjinna-Lyra commented on Nov 15, 2026

    @Fjinna-Lyra

    @0xShug0 makese sense. I'll see what I can do

  29. pkrasicki commented on Nov 21, 2026

    @pkrasicki

    I've been testing audio streaming in audio.cpp with Pocket TTS. It's a really awesome feature! It's great that I don't have to wait for the whole audio file to finish generating. I can start listening to it immediately as it's being generated and I can stop it as soon as I notice a mistake. This saves a lot of time.

    But, a few points:

    1. The UI doesn't seem to have a feature for this yet. It only lets me listen to the audio once it's done generating.
    2. Not all models support this feature. Is this a limitation of the TTS models or was it just not implemented yet? It's a really useful feature, so I would like to be able to use it with every model.
    3. When streaming isn't possible, we need some kind of autoplay option in the UI. I would like to be able to press the generate button, then switch to another browser tab and do something else while it's generating. Then the audio should play automatically when it's done. Currently I have to sit and stare at the screen for a minute, waiting to be able to press the play button. It's a bit annoying with longer texts. Possible alternatives: play a short notification sound after generating is done or use desktop notifications (probably less ideal).
    4. I would like to be able to listen to LLM generated text as it's being generated. Is something like that possible? I have no idea if TTS models allow for that. Currently I have to wait until the LLM stops generating and then send that text to audio.cpp. It would be amazing if I could instead stream the text into audio.cpp as it's being generated and get an audio stream as output. But again, I don't know if this is actually doable.
  30. 0xShug0 commented on Nov 22, 2026

    @0xShug0
    OwnerAuthor

    @pkrasicki Added 1 and 3 to the feature tracker.

    For 2, if the official implementation provides a streaming path, we'll implement it. Otherwise, it usually suggests that the model architecture doesn't support true streaming. Of course, you may do pseudo-streaming (e.g., by using very small chunks), but this may introduce quality issues, such as artifacts at chunk boundaries, so supporting it is a low priority.

    For 4, Yes, this is possible! app/recipe/plugins/speaking_avatar.cpp demonstrates a real-time avatar chat pipeline. LFM3.0 Audio essentially serves as the LLM here: its text output feeds into TTS incrementally, so speech starts playing before the full response finishes generating. There are also many voice-agent pipelines using audio.cpp. However, Integrating a particular LLM service and orchestrating that workflow belongs in downstream applications, outside audio.cpp’s core scope.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issuehelp wanted

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions