KokoroSharp
KokoroSharp copied to clipboard
Fast local TTS inference engine in C# with ONNX runtime. Multi-speaker, multi-platform and multilingual. Integrate on your .NET projects using a plug-and-play NuGet package, complete with all voices.
This library is working fine, however if it make at least one SynthisizeAsync call then exit the app, the app crashes. If I don't make the call, it closes fine....
Proposed fix for https://github.com/Lyrcaxis/KokoroSharp/issues/58 `StartInfo.EnvironmentVariables.Add()` can throw if the environment variable already exists. The proposed fix uses the indexer to clobber whatever might be in place and assign the value...
I specifically encountered this while I was testing my app under proton... I'm not sure what chain of execution led to these circumstances, but the error was easy to narrow...
## Description KokoroSharp v0.6.6 (`KokoroSharp.CPU`) throws an `IndexOutOfRangeException` originating from inside `KokoroWavSynthesizer.Synthesize` (or `SynthesizeAsync`) on certain text inputs and engine state transitions. The exception occurs on an internal thread within...
Because I want to use Mandarin Chinese, but the performance of V1.0 is too poor, and the pronunciation and intonation are basically unusable. I want to use a model specifically...
I'm trying to understand the use and syntax of the speech Markdown. In the source code, there is a comment block that states: /* Customize pronunciation with Markdown link syntax...
Is there a means to insert an event handler as the speech audio is outputted that would enable reporting in real-time the "Visemes or Phonemes" so speech could be synchronized...
I've looked a bit into the code and saw that u are only using epeak-ng for phonemization. This doesn't seem to be exactly cross-platform. Maybe u can use something like...
Hi, thanks for your great library. Something I've noticed is that to load the model, the only option is to pass a string path to the model, which works fine...
Hi there, thanks for the great stuff. Really easy to use. When using the NVidia RTX5090, i get the following warning. Do you have a solution? 2025-09-23 16:32:24.7821519 [W:onnxruntime:, transformer_memcpy.cc:83...