Skip to content

Commit

Permalink
Update to use webrtcvad by default
Browse files Browse the repository at this point in the history
Add changelog updates to automation
Cleanup logging
  • Loading branch information
NeonDaniel committed May 20, 2024
1 parent c508844 commit a2bad19
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/publish_test_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ jobs:
with:
version_file: "neon_nodes/version.py"
publish_prerelease: true
update_changelog: true
trigger_os_build:
runs-on: ubuntu-latest
needs: publish_alpha_release
Expand Down
2 changes: 1 addition & 1 deletion neon_nodes/configuration/system.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ listener:
min_seconds: 1
max_current_ratio_threshold: 2
initial_energy_threshold: 1000.0
module: ovos-vad-plugin-silero
module: ovos-vad-plugin-webrtcvad
mute_during_output: true
instant_listen: false
enable_stt_api: false
Expand Down
3 changes: 2 additions & 1 deletion neon_nodes/websocket_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ def ws_connect(*_, **__):
def ws_error(_, exception):
self.error_hook(exception)
raise ConnectionError(f"Failed to connect: {exception}")

ws_address = server_addr.replace("http", "ws", 1)
self.websocket = WebSocketApp(f"{ws_address}/node/v1?token={auth_data['access_token']}",
on_message=self._on_ws_data,
Expand Down Expand Up @@ -111,7 +112,7 @@ def ws_error(_, exception):

started_hook()
self.run()
LOG.info("Waiting for WS connection")
LOG.debug("Waiting for WS connection")
self._connected.wait()
ready_hook()

Expand Down
2 changes: 1 addition & 1 deletion requirements/voice_client.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
neon-utils[network]~=1.9
ovos-dinkum-listener==0.0.3a29
ovos-vad-plugin-silero~=0.0.1
ovos-vad-plugin-webrtcvad~=0.0.1
ovos-microphone-plugin-alsa~=0.0.0
# ovos-microphone-plugin-sounddevice Not working on Mark2 where alsa is
ovos-ww-plugin-precise-lite[tflite]~=0.1
Expand Down

0 comments on commit a2bad19

Please sign in to comment.