-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathApp.config.example
More file actions
94 lines (79 loc) · 5.27 KB
/
App.config.example
File metadata and controls
94 lines (79 loc) · 5.27 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<appSettings>
<add key="BotToken" value="DISCORDBOTTOKENHERE" />
<add key="SteamUser" value="user" />
<add key="SteamPass" value="pass" />
<!-- This allows old style !tts commands etc -->
<add key="EnableMessageContent" value="true" />
<!-- Optional experimental coqui tts support -->
<add key="ffmpeg" value="C:\tts\Scripts\ffmpeg.exe" />
<!-- TTS Engine Switches -->
<add key="EnableSystemSpeech" value="true" />
<add key="EnableCoquiTTS" value="true" />
<add key="EnablePocketTTS" value="true" />
<add key="coquitts" value="C:\tts\Scripts\tts.exe" />
<!-- Coqui TTS Configuration -->
<!-- Set to 'server' for fast API mode, 'exe' for legacy tts.exe mode -->
<add key="CoquiMode" value="server" />
<!-- Legacy Coqui TTS Voice Configuration (used when CoquiMode=exe) -->
<!-- Define available Coqui voices and their models (semicolon-separated voice:model pairs) -->
<add key="CoquiVoiceModels" value="CoQui_female_1:tts_models/en/ljspeech/tacotron2-DDC;CoQui_female_2:tts_models/en/ljspeech/glow-tts;CoQui_male_1:tts_models/en/sam/tacotron-DDC;CoQui_male_2:tts_models/en/blizzard2013/capacitron-t2-c50;CoQui_neutral:tts_models/en/ljspeech/speedy-speech" />
<!-- Coqui TTS Server Configuration (used when CoquiMode=server) -->
<add key="coqui_server" value="C:\tts\Scripts\tts-server.exe" />
<add key="coqui_server_port" value="5002" />
<add key="coqui_server_use_cuda" value="true" />
<add key="coqui_server_debug" value="false" />
<add key="coqui_server_model" value="tts_models/en/ljspeech/tacotron2-DDC" />
<add key="coqui_server_timeout" value="30" />
<add key="coqui_server_startup_timeout" value="60" />
<add key="coqui_server_retry_interval" value="2" />
<add key="coqui_server_default_language" value="en" />
<!-- Coqui TTS Voice Configuration for Server Mode (speaker names for the loaded model) -->
<!-- These will be discovered from the server API, but can be overridden here -->
<add key="CoquiSpeakers" value="default,speaker_0,speaker_1,speaker_2" />
<!-- PocketTTS Configuration -->
<add key="PocketTTS_Executable" value="uvx" />
<!-- How the bot invokes pocket-tts. Options:
"uvx" (default) — runs: uvx --with soundfile --from "git+https://github.com/N6UDP/pocket-tts" pocket-tts serve ...
"pocket-tts" — runs: pocket-tts serve ... (assumes pip-installed from git in a venv on PATH)
"C:\path\to\python.exe -m pocket_tts" — custom Python path -->
<!-- Full path to uvx executable (used when PocketTTS_Executable=uvx) -->
<add key="PocketTTS_UvxPath" value="uvx" />
<!-- Full path to pocket-tts executable (used when PocketTTS_Executable=pocket-tts) -->
<add key="PocketTTS_PocketTTSPath" value="pocket-tts" />
<!-- Git URL for the pocket-tts package (used with uvx - -from) -->
<add key="PocketTTS_GitUrl" value="git+https://github.com/N6UDP/pocket-tts" />
<add key="PocketTTS_ServerHost" value="localhost" />
<add key="PocketTTS_ServerPort" value="8000" />
<add key="PocketTTS_DefaultVoice" value="alba" />
<add key="PocketTTS_StartupTimeout" value="120" />
<add key="PocketTTS_RetryInterval" value="3" />
<add key="PocketTTS_RequestTimeout" value="60" />
<!-- Device for PocketTTS model inference (cpu, cuda) -->
<add key="PocketTTS_Device" value="cpu" />
<!-- When true, pass local file paths directly as voice_url to the server instead of
uploading via voice_wav. Requires the N6UDP/pocket-tts fork with - -local-paths flag.
Only useful when the bot and PocketTTS server share the same filesystem. -->
<add key="PocketTTS_LocalPaths" value="false" />
<!-- Directory where custom voice .safetensors files are stored -->
<!-- Custom voice mappings are auto-discovered from this directory and persisted in pocketvoices.json -->
<add key="PocketTTS_VoiceDirectory" value="C:\PocketTTS\voices" />
<!-- Discord user IDs allowed to upload custom voices (comma-separated, "*" for everyone) -->
<add key="PocketTTS_VoiceUploadAllowlist" value="" />
<!-- Maximum file size for voice uploads in MB -->
<add key="PocketTTS_MaxUploadSizeMB" value="10" />
<!-- HuggingFace Token for downloading models and voice cloning access -->
<add key="HuggingFace_Token" value="" />
<!-- Mumble Configuration -->
<add key="EnableMumble" value="false" />
<add key="Mumble_ServerHost" value="localhost" />
<add key="Mumble_ServerPort" value="64738" />
<add key="Mumble_Username" value="TTSBot" />
<add key="Mumble_Password" value="" />
<!-- Channel to auto-join on connect (empty = stay in root) -->
<add key="Mumble_DefaultChannel" value="" />
<!-- Reconnect interval in seconds when connection drops -->
<add key="Mumble_ReconnectInterval" value="10" />
</appSettings>
</configuration>