139 lines
3.6 KiB
JSON
Executable File
139 lines
3.6 KiB
JSON
Executable File
{
|
|
"command": {
|
|
"system": "webrtcvad",
|
|
"webrtcvad": {
|
|
"chunk_size": 960,
|
|
"min_sec": 2,
|
|
"sample_rate": 16000,
|
|
"silence_sec": 0.5,
|
|
"speech_buffers": 5,
|
|
"throwaway_buffers": 10,
|
|
"timeout_sec": 30,
|
|
"vad_mode": 0
|
|
}
|
|
},
|
|
"home_assistant": {
|
|
"access_token": "",
|
|
"api_password": "",
|
|
"event_type_format": "rhasspy_{0}",
|
|
"url": "http://hassio/homeassistant/"
|
|
},
|
|
"intent": {
|
|
"adapt": {
|
|
"stop_words": "stop_words.txt"
|
|
},
|
|
"fuzzywuzzy": {
|
|
"examples_json": "intent_examples.json"
|
|
},
|
|
"rasa": {
|
|
"examples_markdown": "intent_examples.md",
|
|
"project_name": "rhasspy",
|
|
"url": "http://localhost:5000/"
|
|
},
|
|
"remote": {
|
|
"url": "http://my-server:12101/api/text-to-intent"
|
|
},
|
|
"system": "fuzzywuzzy"
|
|
},
|
|
"language": "en",
|
|
"microphone": {
|
|
"pyaudio": {
|
|
"frames_per_buffer": 480
|
|
},
|
|
"system": "pyaudio"
|
|
},
|
|
"mqtt": {
|
|
"enabled": false,
|
|
"host": "localhost",
|
|
"password": "",
|
|
"port": 1883,
|
|
"reconnect_sec": 5,
|
|
"site_id": "default",
|
|
"username": ""
|
|
},
|
|
"rhasspy": {
|
|
"default_profile": "en",
|
|
"listen_on_start": true,
|
|
"load_timeout_sec": 15,
|
|
"preload_profile": true
|
|
},
|
|
"sounds": {
|
|
"recorded": "etc/wav/beep_lo.wav",
|
|
"system": "aplay",
|
|
"wake": "etc/wav/beep_hi.wav"
|
|
},
|
|
"speech_to_text": {
|
|
"g2p_model": "g2p.fst",
|
|
"grammars_dir": "grammars",
|
|
"pocketsphinx": {
|
|
"acoustic_model": "acoustic_model",
|
|
"base_dictionary": "base_dictionary.txt",
|
|
"custom_words": "custom_words.txt",
|
|
"dictionary": "dictionary.txt",
|
|
"language_model": "language_model.txt",
|
|
"mllr_matrix": "acoustic_model_mllr",
|
|
"unknown_words": "unknown_words.txt"
|
|
},
|
|
"remote": {
|
|
"url": "http://my-server:12101/api/speech-to-text"
|
|
},
|
|
"sentences_ini": "sentences.ini",
|
|
"sentences_text": "sentences.txt",
|
|
"slots_dir": "slots",
|
|
"system": "pocketsphinx"
|
|
},
|
|
"text_to_speech": {
|
|
"espeak": {
|
|
"phoneme_map": "espeak_phonemes.txt"
|
|
},
|
|
"phoneme_examples": "phoneme_examples.txt",
|
|
"system": "espeak"
|
|
},
|
|
"training": {
|
|
"balance_sentences": true,
|
|
"regex": {
|
|
"replace": [
|
|
{
|
|
"'s": "s"
|
|
},
|
|
{
|
|
"[^\\w ]+": " "
|
|
}
|
|
],
|
|
"split": "\\s+"
|
|
},
|
|
"sentence_casing": "lower",
|
|
"tagged_sentences": "tagged_sentences.md",
|
|
"tokenizer": "regex"
|
|
},
|
|
"tuning": {
|
|
"sphinxtrain": {
|
|
"mllr_matrix": "acoustic_model_mllr"
|
|
},
|
|
"system": "sphinxtrain"
|
|
},
|
|
"wake": {
|
|
"hermes": {
|
|
"wakeword_id": "default"
|
|
},
|
|
"pocketsphinx": {
|
|
"chunk_size": 960,
|
|
"keyphrase": "okay rhasspy",
|
|
"mllr_matrix": "wake_mllr",
|
|
"threshold": 1e-30
|
|
},
|
|
"precise": {
|
|
"chunk_size": 2048,
|
|
"model": "okay-rhasspy.pb",
|
|
"sensitivity": 0.5,
|
|
"trigger_level": 3
|
|
},
|
|
"snowboy": {
|
|
"audio_gain": 1,
|
|
"chunk_size": 960,
|
|
"model": "snowboy.umdl",
|
|
"sensitivity": 0.5
|
|
},
|
|
"system": "pocketsphinx"
|
|
}
|
|
} |