hugvey/server_config.yml

62 lines
1.9 KiB
YAML

events:
cmd_address: "tcp://0.0.0.0:5555"
listen_address: "tcp://0.0.0.0:5556"
#remote_ip: "192.168.1.1" # for stuf not on the Hugvey network, set it to eg. 8.8.8.8
voice:
src_rate: 16000
out_rate: 44100
port: 4444
chunk: 2972
google_credentials: "../test_googlespeech/My First Project-0c7833e0d5fa.json"
record_dir: "./recordings"
record_voice: false
hugveys: 26
languages:
- code: en-GB
file: story_en.json
type: "lyrebird"
token: "LB_TOKEN"
connect_timeout: 3
request_timeout: 5
- code: ru-RU
file: story_ru.json
type: "ms"
token: "SECRET_KEY"
token_url: "https://LOCATION.api.cognitive.microsoft.com/sts/v1.0/issueToken"
voice_url: "https://LOCATION.voice.speech.microsoft.com/cognitiveservices/v1?deploymentId=DEPID"
ms_gender: "Female"
ms_name: "Microsoft Server Speech Text to Speech Voice (ru-RU, Irina, Apollo)"
ms_lang: "ru-RU"
- code: ru-RU2
file: story_ru.json
type: "ms"
token: "SECRET_KEY"
token_url: "https://LOCATION.api.cognitive.microsoft.com/sts/v1.0/issueToken"
voice_url: "https://LOCATION.voice.speech.microsoft.com/cognitiveservices/v1?deploymentId=DEPID"
ms_gender: "Female"
ms_name: "Microsoft Server Speech Text to Speech Voice (ru-RU, EkaterinaRUS)"
ms_lang: "ru-RU"
- code: fr-FR2
file: story_fr2.json
type: "ms"
token: "SECRET_KEY"
token_url: "https://LOCATION.api.cognitive.microsoft.com/sts/v1.0/issueToken"
voice_url: "https://LOCATION.voice.speech.microsoft.com/cognitiveservices/v1?deploymentId=DEPID"
ms_gender: "Male"
ms_name: "NAME"
ms_lang: "fr-FR"
web:
port: 8888
files_dir: "local/"
light:
ip: "192.168.178.15"
port: 7400
on_intensity: 150
off_intensity: 0
fade_duration_id: 37
story:
loop: true
hugvey_critical_silence: 210
telegram:
token: null
chat_ids: []