Views
No views yet
[!NOTE] This model is English only: see the multilingual collection page for other languages.
[!CAUTION] Websites like neutts.com are popping up and they're not affliated with Neuphonic, our github or this repo.We are on neuphonic.com only. Please be careful out there! 🙏
espeak-ng[!CAUTION]espeak-ngis an updated version ofespeak, as of February 2026 on version 1.52.0. Older versions ofespeakandespeak-ngcan exhibit significant phonemisation issues, particularly for non-English languages. Updating your system version ofespeak-ngto the latest version possible is highly recommended.
[!NOTE]brewon macOS Ventura and later,aptin Ubuntu version 25 or Debian version 13, andchoco/wingeton Windows, install the latest version ofespeak-ngwith the commands below. If you have a different or older operating system, you may need to install from source: see the following link https://github.com/espeak-ng/espeak-ng/blob/master/docs/building.md
espeak-ng:1# Mac OS
2brew install espeak-ng
3
4# Ubuntu/Debian
5sudo apt install espeak-ng
6
7# Windows install
8# via chocolatey (https://community.chocolatey.org/packages?page=1&prerelease=False&moderatorQueue=False&tags=espeak)
9choco install espeak-ng
10# via winget
11winget install -e --id eSpeak-NG.eSpeak-NG
12# via msi (need to add to path or folow the "Windows users who installed via msi" below)
13# find the msi at https://github.com/espeak-ng/espeak-ng/releases1$env:PHONEMIZER_ESPEAK_LIBRARY = "c:\Program Files\eSpeak NG\libespeak-ng.dll"
2$env:PHONEMIZER_ESPEAK_PATH = "c:\Program Files\eSpeak NG"
3setx PHONEMIZER_ESPEAK_LIBRARY "c:\Program Files\eSpeak NG\libespeak-ng.dll"
4setx PHONEMIZER_ESPEAK_PATH "c:\Program Files\eSpeak NG"pip install neuttspip install -e .onnxruntime and llama-cpp-python (equivalent to steps 3 and 4 below):pip install neutts[all]pip install -e .[all]llama-cpp-python to use .gguf models.pip install "neutts[llama]"llama-cpp-python without GPU support. To install with GPU support (e.g., CUDA, MPS) please refer to:
https://pypi.org/project/llama-cpp-python/onnxruntime to use the .onnx decoder.pip install "neutts[onnx]"1git clone https://github.com/neuphonic/neutts.git
2cd neuttsexamples folder.1python -m examples.basic_example \
2 --input_text "My name is Andy. I'm 25 and I just moved to London. The underground is pretty confusing, but it gets me around in no time at all." \
3 --ref_audio samples/jo.wav \
4 --ref_text samples/jo.txt \
5 --backbone neuphonic/neutts-nano-q8-gguf[!CAUTION] It is highly recommended to use a same-language reference for best performance: see this readme section for appropriate example references.
1from neutts import NeuTTS
2import soundfile as sf
3
4tts = NeuTTS(
5 backbone_repo="neuphonic/neutts-nano-q8-gguf",
6 backbone_device="cpu",
7 codec_repo="neuphonic/neucodec",
8 codec_device="cpu",
9)
10
11input_text = "My name is Andy. I'm 25 and I just moved to London. The underground is pretty confusing, but it gets me around in no time at all."
12
13ref_text_path = "samples/jo.txt"
14ref_audio_path = "samples/jo.wav"
15
16ref_text = open(ref_text_path, "r").read().strip()
17ref_codes = tts.encode_reference(ref_audio_path)
18
19wav = tts.infer(input_text, ref_codes, ref_text)
20sf.write("test.wav", wav, 24000)1python -m examples.basic_streaming_example \
2 --input_text "My name is Andy. I'm 25 and I just moved to London. The underground is pretty confusing, but it gets me around in no time at all." \
3 --ref_codes samples/jo.pt \
4 --ref_text samples/jo.txt \
5 --backbone neuphonic/neutts-nano-q8-gguf--backbone argument - note that for streaming the model must be in GGUF format..wav file)samples folder:samples/dave.wavsamples/jo.wav.wav file