83 lines
4.5 KiB
HTML
Raw Normal View History

2024-06-24 22:19:21 +03:00
<div id="tts_settings">
<div class="inline-drawer">
<div class="inline-drawer-toggle inline-drawer-header">
<b>TTS</b>
<div class="inline-drawer-icon fa-solid fa-circle-chevron-down down"></div>
</div>
<div class="inline-drawer-content">
<div id="tts_status">
</div>
2024-11-22 08:08:05 +09:00
<span data-i18n="Select TTS Provider">Select TTS Provider</span> </br>
2024-06-24 22:19:21 +03:00
<div class="tts_block">
<select id="tts_provider" class="flex1">
</select>
<input id="tts_refresh" class="menu_button" type="submit" value="Reload" />
</div>
<div>
<label class="checkbox_label" for="tts_enabled">
<input type="checkbox" id="tts_enabled" name="tts_enabled">
2024-11-22 08:08:05 +09:00
<small data-i18n="tts_enabled">Enabled</small>
2024-06-24 22:19:21 +03:00
</label>
<label class="checkbox_label" for="tts_narrate_user">
<input type="checkbox" id="tts_narrate_user">
2024-11-22 08:08:05 +09:00
<small data-i18n="Narrate user messages">Narrate user messages</small>
2024-06-24 22:19:21 +03:00
</label>
<label class="checkbox_label" for="tts_auto_generation">
<input type="checkbox" id="tts_auto_generation">
2024-11-22 08:08:05 +09:00
<small data-i18n="Auto Generation">Auto Generation</small>
2024-06-24 22:19:21 +03:00
</label>
2024-11-22 08:08:05 +09:00
<label class="checkbox_label" for="tts_periodic_auto_generation" data-i18n="[title]Requires auto generation to be enabled." title="Requires auto generation to be enabled.">
2024-06-24 22:19:21 +03:00
<input type="checkbox" id="tts_periodic_auto_generation">
2024-11-22 08:08:05 +09:00
<small data-i18n="Narrate by paragraphs (when streaming)">Narrate by paragraphs (when streaming)</small>
2024-06-24 22:19:21 +03:00
</label>
<label class="checkbox_label" for="tts_narrate_quoted">
<input type="checkbox" id="tts_narrate_quoted">
2024-11-22 08:08:05 +09:00
<small data-i18n="Only narrate quotes">Only narrate "quotes"</small>
2024-06-24 22:19:21 +03:00
</label>
<label class="checkbox_label" for="tts_narrate_dialogues">
<input type="checkbox" id="tts_narrate_dialogues">
2024-11-22 08:08:05 +09:00
<small data-i18n="Ignore text, even quotes, inside asterisk">Ignore *text, even "quotes", inside asterisks*</small>
2024-06-24 22:19:21 +03:00
</label>
<label class="checkbox_label" for="tts_narrate_translated_only">
<input type="checkbox" id="tts_narrate_translated_only">
2024-11-22 08:08:05 +09:00
<small data-i18n="Narrate only the translated text">Narrate only the translated text</small>
2024-06-24 22:19:21 +03:00
</label>
<label class="checkbox_label" for="tts_skip_codeblocks">
<input type="checkbox" id="tts_skip_codeblocks">
2024-11-22 08:08:05 +09:00
<small data-i18n="Skip codeblocks">Skip codeblocks</small>
2024-06-24 22:19:21 +03:00
</label>
<label class="checkbox_label" for="tts_skip_tags">
<input type="checkbox" id="tts_skip_tags">
2024-11-22 08:08:05 +09:00
<small data-i18n="Skip tagged blocks">Skip &lt;tagged&gt; blocks</small>
2024-06-24 22:19:21 +03:00
</label>
<label class="checkbox_label" for="tts_pass_asterisks">
<input type="checkbox" id="tts_pass_asterisks">
2024-11-22 08:08:05 +09:00
<small data-i18n="Pass Asterisks to TTS Engine">Pass Asterisks to TTS Engine</small>
2024-06-24 22:19:21 +03:00
</label>
</div>
<div id="playback_rate_block" class="range-block">
<hr>
<div class="range-block-title justifyLeft" data-i18n="Audio Playback Speed">
2024-11-22 08:08:05 +09:00
<small data-i18n="Audio Playback Speed">Audio Playback Speed</small>
2024-06-24 22:19:21 +03:00
</div>
<div class="range-block-range-and-counter">
<div class="range-block-range">
<input type="range" id="playback_rate" name="volume" min="0" max="3" step="0.05">
</div>
<div class="range-block-counter">
<input type="number" min="0" max="3" step="0.05" data-for="playback_rate" id="playback_rate_counter">
</div>
</div>
</div>
<div id="tts_voicemap_block">
</div>
<hr>
<form id="tts_provider_settings" class="inline-drawer-content">
</form>
<div class="tts_buttons">
<input id="tts_voices" class="menu_button" type="submit" value="Available voices" />
</div>
</div>
</div>
</div>
2024-11-22 08:08:05 +09:00
</div>