mirror of
https://github.com/jambonz/speech-utils.git
synced 2026-01-25 02:08:26 +00:00
wip
This commit is contained in:
@@ -421,8 +421,8 @@ const synthGoogle = async(logger, {
|
||||
const isVoiceCloning = typeof voice === 'object' && voice.voice_cloning_key;
|
||||
// HD voices have pattern like en-US-Chirp3-HD-Charon
|
||||
const isHDVoice = typeof voice === 'string' && voice.includes('-HD-');
|
||||
// Live API is used for Gemini TTS and HD voices
|
||||
const useLiveApi = isGemini || isHDVoice;
|
||||
// Live API is used for HD voices
|
||||
const useLiveApi = isHDVoice;
|
||||
|
||||
// Streaming support for Google TTS (Gemini, HD voices, and standard voices)
|
||||
// Voice cloning does not support streaming
|
||||
|
||||
Reference in New Issue
Block a user