Skip to content

Commit

Permalink
Merge pull request #154 from OpenVoiceOS/release-0.2.0a1
Browse files Browse the repository at this point in the history
Release 0.2.0a1
  • Loading branch information
JarbasAl authored Sep 11, 2024
2 parents 2730583 + 3df56d0 commit 8be3f96
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 16 deletions.
6 changes: 3 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Changelog

## [0.1.2a1](https://github.com/OpenVoiceOS/ovos-config/tree/0.1.2a1) (2024-09-11)
## [0.2.0a1](https://github.com/OpenVoiceOS/ovos-config/tree/0.2.0a1) (2024-09-11)

[Full Changelog](https://github.com/OpenVoiceOS/ovos-config/compare/0.1.1...0.1.2a1)
[Full Changelog](https://github.com/OpenVoiceOS/ovos-config/compare/0.1.2...0.2.0a1)

**Merged pull requests:**

- fix:backend\_client\_version\_compat [\#151](https://github.com/OpenVoiceOS/ovos-config/pull/151) ([JarbasAl](https://github.com/JarbasAl))
- feat:fallback\_plugins [\#153](https://github.com/OpenVoiceOS/ovos-config/pull/153) ([JarbasAl](https://github.com/JarbasAl))



Expand Down
41 changes: 33 additions & 8 deletions ovos_config/mycroft.conf
Original file line number Diff line number Diff line change
Expand Up @@ -487,10 +487,10 @@
},

// Microphone plugin to be read audio
// NOTE: only in ovos-dinkum-listener
"microphone": {
// use "ovos-microphone-plugin-sounddevice" for MacOS support
"module": "ovos-microphone-plugin-alsa"
"module": "ovos-microphone-plugin-sounddevice",
"ovos-microphone-plugin-sounddevice": {"fallback_module": "ovos-microphone-plugin-alsa"},
"ovos-microphone-plugin-alsa": {"fallback_module": "ovos-microphone-plugin-pyaudio"}
},

// if true, will remove silence from both ends of audio before sending it to STT
Expand Down Expand Up @@ -522,11 +522,25 @@
// Energy threshold above which audio is considered speech
// NOTE: this is dynamic, only defining start value
"initial_energy_threshold": 1000.0,
// vad module can be any plugin, by default it is not used

// recommended plugin: "ovos-vad-plugin-silero"
"module": "ovos-vad-plugin-silero",
"ovos-vad-plugin-silero": {"threshold": 0.2},
"ovos-vad-plugin-webrtcvad": {"vad_mode": 3}
"ovos-vad-plugin-silero": {
"threshold": 0.2,
"fallback_module": "ovos-vad-plugin-precise"
},
"ovos-vad-plugin-precise": {
"fallback_module": "ovos-vad-plugin-webrtcvad"
},
"ovos-vad-plugin-webrtcvad": {
"vad_mode": 3,
"fallback_module": "ovos-vad-plugin-noise"
},
"ovos-vad-plugin-noise": {
"method": "all",
"max_current_ratio_threshold": 2.0,
"energy_threshold": 1000.0
}
},

// Override as SYSTEM or USER to select a specific microphone input instead of
Expand Down Expand Up @@ -731,7 +745,8 @@
},
// turn utterances into phoneme sequences, used to generate mouth movements
"g2p": {
"module": "ovos-g2p-plugin-heuristic-arpa"
"module": "ovos-g2p-plugin-mimic",
"ovos-g2p-plugin-mimic": {"fallback_module": "ovos-g2p-plugin-heuristic-arpa"}
},

// DEPRECATED: this section is in the process of being fully removed,
Expand All @@ -748,7 +763,17 @@
//by default uses public servers for translation
// https://github.com/OpenVoiceOS/ovos-translate-server
"detection_module": "ovos-lang-detector-plugin-server",
"translation_module": "ovos-translate-plugin-server"
"translation_module": "ovos-translate-plugin-server",
// define translate fallbacks to use if plugin can not be loaded
"ovos-translate-plugin-server": {"fallback_module": "ovos-google-translate-plugin"},
// define detect fallbacks to use if plugin can not be loaded
"ovos-lang-detector-plugin-server": {"fallback_module": "ovos-google-lang-detector-plugin"},
"ovos-google-lang-detector-plugin": {"fallback_module": "ovos-lang-detector-plugin-cld3"},
"ovos-lang-detector-plugin-cld3": {"fallback_module": "ovos-lang-detector-plugin-cld2"},
"ovos-lang-detector-plugin-cld2": {"fallback_module": "ovos-lang-detector-plugin-langdetect"},
"ovos-lang-detector-plugin-langdetect": {"fallback_module": "ovos-lang-detector-plugin-fastlang"},
"ovos-lang-detector-plugin-fastlang": {"fallback_module": "ovos-lang-detector-plugin-lingua-podre"},
"ovos-lang-detector-plugin-fastlang": {"fallback_module": "ovos-lang-detect-ngram-lm"}
},

// placeholder to help in migration to ovos-media
Expand Down
8 changes: 4 additions & 4 deletions ovos_config/version.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# START_VERSION_BLOCK
VERSION_MAJOR = 0
VERSION_MINOR = 1
VERSION_BUILD = 2
VERSION_ALPHA = 0
# END_VERSION_BLOCK
VERSION_MINOR = 2
VERSION_BUILD = 0
VERSION_ALPHA = 1
# END_VERSION_BLOCK
2 changes: 1 addition & 1 deletion test/unittests/test_configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ def test_config_patches_messagebus(self):
from ovos_utils.messagebus import FakeBus
event = Event()
bus = FakeBus()
thread_config = None
thread_config: dict = {}

def _wait_for_changes():
nonlocal thread_config
Expand Down

0 comments on commit 8be3f96

Please sign in to comment.