{/if}
{:else if subMenu === 5}
{#if currentChar.type === 'character'}
TTS
{language.provider}
{#if currentChar.data.ttsMode === 'webspeech'}
{#if !speechSynthesis}
Web Speech isn't supported in your browser or OS
{:else}
{language.Speech}
{#if currentChar.data.ttsSpeech !== ''}
If you do not set it to Auto, it may not work properly when importing from another OS or browser.
{/if}
{/if}
{:else if currentChar.data.ttsMode === 'elevenlab'}
Please set the ElevenLabs API key in "global Settings → Bot Settings → Others → ElevenLabs API key"
{#await getElevenTTSVoices() then voices}
{language.Speech}
{/await}
{:else if currentChar.data.ttsMode === 'VOICEVOX'}
Speaker
{#if currentChar.data.voicevoxConfig.speaker}
Style
{/if}
Speed scalePitch scaleVolume scaleIntonation scaleTo use VOICEVOX, you need to run a colab and put the localtunnel URL in "Settings → Other Bots". https://colab.research.google.com/drive/1tyeXJSklNfjW-aZJAib1JfgOMFarAwze
{/if}
{#if currentChar.data.ttsMode === 'webspeech' || currentChar.data.ttsMode === 'elevenlab' || currentChar.data.ttsMode === 'VOICEVOX'}