able-lighter-67088
11/14/2025, 11:37 PMtall-airline-16756
11/14/2025, 11:37 PMtall-airline-16756
11/14/2025, 11:38 PMNone at the start of your session, which makes things a bit smoother.
Here’s a simple way to do it: just disable audio output during initialization with methods like set_audio_enabled(False). Then, when you want to switch to voice or whisper modes, you can just toggle the audio back on with set_audio_enabled(True). It’s pretty straightforward!
Now, about whisper mode—while there isn’t a specific "whisper mode" API, some TTS plugins let you adjust volume or tweak the voice to create a whisper-like effect. For example:
• Cartesia TTS: Try adjusting the volume parameter.
• Minimax TTS: Play around with vol, intensity, and timbre parameters.
• Google TTS: Modify the volume_gain_db parameter.
This way, you keep your TTS plugin initialized and ready to switch modes anytime without needing to restart the session or deal with complicated setups. If you have any questions or want to explore this further, feel free to ask—I’m here to help!
Sources: Text and transcriptions | LiveKit docs | livekit-plugins/livekit-plugins-minimax/livekit/plugins/minimax/tts.py