Making open-source text to speech sound right: ranked voices, text normalization and one engine for Python and the browser
说明与用途
loudness-tts 是一个开源 TTS 系统,自动选择最佳授权语音,应用英文和西班牙文文本规范化规则,将响度标准化为 –16 LUFS,并生成精确字幕,支持 Python 和 JavaScript。
问题
Open-source TTS models run fast but often sound unnatural due to voice quality, lack of text normalization, and unoptimized audio output.
结果
loudness-tts delivers natural-sounding speech with accurate text normalization, licensed voice selection, and publish‑ready audio and subtitles across Python and JavaScript platforms.
工作流
- 1. Install loudness-tts via pip or use the browser demo.
- 2. Run the TTS command with text input and optional output options (e.g., –o speech.wav --srt speech.srt).
- 3. For chat applications, launch the OpenAI‑compatible server with loudness-tts serve or use the Docker image.
- 4. Integrate with Open WebUI, LibreChat, or AnythingLLM using the provided guides.
证据
Piper has more than 170 voice files, some with hundreds of speakers. Their quality varies a lot, and many are licensed for non-commercial use only.
loudness-tts runs a rule layer first: money, dates, times, units, phone numbers, ranges, fractions, abbreviations and Roman numerals become words, in English and Spanish.
Every result is loudness-normalized to -16 LUFS with true peak at or below -1.5 dBTP, which suits podcasts and video.
- 记录日期: 2026-10-16T08:56:07.358Z