Analysis updated 2026-05-18
Add voice cloning and text-to-speech to a .NET application without depending on Python.
Generate narration for long text with streaming audio output for faster playback start.
Build a German or English speech app using the author's pre-exported ONNX model checkpoints.
| nibor1896/horus.f5tts.onnx | autofac/autofac.extras.fakeiteasy | jihadkhawaja/mem0sharp | |
|---|---|---|---|
| Stars | 8 | 8 | 8 |
| Language | C# | C# | C# |
| Last pushed | — | 2026-07-09 | — |
| Maintenance | — | Active | — |
| Setup difficulty | moderate | easy | moderate |
| Complexity | 3/5 | 2/5 | 3/5 |
| Audience | developer | developer | developer |
Figures from each repo's GitHub metadata at analysis time.
Requires downloading separate ONNX model files (not bundled) and optionally a GPU runtime package.
This is a .NET library for cloning a voice from a short audio clip and using it to speak new text, based on an AI model called F5-TTS. Normally running F5-TTS requires Python and PyTorch, but this library runs the same model using ONNX Runtime, a way of running trained AI models directly, so a C# or .NET application can use it without any Python installed. It can run on a regular CPU or on a GPU, including AMD, Intel, and Nvidia graphics cards through DirectX or CUDA. To use it, you give the library a short reference recording of a voice along with a transcript of what is said in that clip, plus the new text you want spoken. It returns 24 kHz audio in that cloned voice. The model files themselves are not included in the package and need to be downloaded separately, either from ready-made German and English exports the author provides, or exported yourself for other languages using a separate tool. The voice you hear comes from the reference clip you provide, while the language and accent come from which model checkpoint you load, so an English checkpoint given German text will not sound right. The library includes handling for longer pieces of text, which the underlying model cannot generate well in a single pass past about 22 seconds combined with the reference clip. It automatically splits long text into sentence-sized pieces, generates each one, and stitches them together smoothly. There is also a streaming mode that returns each sentence's audio as soon as it is ready, so playback can start after the first sentence instead of waiting for the whole paragraph, while still producing audio identical to the non-streaming version. The library itself does not play audio, since it is meant to stay lightweight, so a separate audio library like NAudio is needed to actually hear the output, though raw audio samples are also available for feeding into any custom audio pipeline.
A .NET library that clones a voice from a short clip and generates new speech in that voice using ONNX, no Python needed.
Mainly C#. The stack also includes C#, .NET, ONNX Runtime.
No license information is provided in the README.
Setup difficulty is rated moderate, with roughly 30min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.