Hey there! The bitrate and sample rate for LiveKit text-to-speech can vary depending on which integration you’re using. Here’s a quick rundown for you:
•
Neuphonic TTS: Usually runs at a sample rate of 22050 Hz.
•
Rime: Typically uses a sample rate of 16000 Hz.
•
Cartesia TTS: Default sample rate is 24000 Hz.
•
Spitch TTS: Also uses a sample rate of 24000 Hz.
•
Azure TTS: Supports lots of sample rates (8000, 16000, 22050, 24000, 44100, 48000 Hz), with 24000 Hz as the default.
•
LMNT TTS: Default sample rate is 24000 Hz.
•
Inworld AI TTS: Comes with a default sample rate of 48000 Hz and a bitrate of 64000 bits per second.
•
ElevenLabs TTS: Uses a default sample rate of 22050 Hz and a bitrate of 32kbps.
•
Uplift TTS: Offers bitrates of 32kbps, 64kbps, and 128kbps, with a fixed sample rate of 22050 Hz.
If you want to dive deeper into any of these or need a hand with a specific integration, just give me a shout—I’m here to help!
Sources:
livekit-plugins/livekit-plugins-cartesia/livekit/plugins/cartesia/tts.py |
Rime integration guide | LiveKit Docs