Skip to content

Commit

Permalink
Update assist microphone to 1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
synesthesiam committed Oct 2, 2023
1 parent ceda62d commit 841f055
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 4 deletions.
4 changes: 4 additions & 0 deletions assist_microphone/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 1.2.0

- Add `volume_multiplier`

## 1.0.0

- Initial release
Expand Down
2 changes: 1 addition & 1 deletion assist_microphone/DOCS.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Assist Microphone

Works with the [openWakeWord add-on](https://my.home-assistant.io/redirect/supervisor_addon/?addon=47701997_openwakeword&repository_url=https%3A%2F%2Fgithub.com%2Frhasspy%2Fhassio-addons)
Works with the [openWakeWord add-on](https://my.home-assistant.io/redirect/supervisor_addon/?addon=core_openwakeword)

Requires a long-lived access token from Home Assistant.
To create a token:
Expand Down
2 changes: 1 addition & 1 deletion assist_microphone/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

Use [Assist](https://www.home-assistant.io/voice_control/) voice control with a USB microphone.

Works with the [openWakeWord add-on](https://my.home-assistant.io/redirect/supervisor_addon/?addon=47701997_openwakeword&repository_url=https%3A%2F%2Fgithub.com%2Frhasspy%2Fhassio-addons)
Works with the [openWakeWord add-on](https://my.home-assistant.io/redirect/supervisor_addon/?addon=core_openwakeword)
2 changes: 1 addition & 1 deletion assist_microphone/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ codenotary:
signer: [email protected]
base_image: [email protected]
args:
HOMEASSISTANT_SATELLITE_VERSION: v1.0.0
HOMEASSISTANT_SATELLITE_VERSION: v1.2.0
4 changes: 3 additions & 1 deletion assist_microphone/config.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
version: 1.0.0
version: 1.2.0
slug: assist_microphone
name: Assist Microphone
description: Stream microphone audio to Assist
Expand All @@ -19,6 +19,7 @@ options:
done_sound: "/usr/src/sounds/done.wav"
noise_suppression: 0
auto_gain: 0
volume_multiplier: 1.0
wake_buffer_seconds: 0.0
udp_mic: false
debug_logging: false
Expand All @@ -31,6 +32,7 @@ schema:
volume: float
noise_suppression: int
auto_gain: int
volume_multiplier: float
awake_sound: str
done_sound: str
wake_buffer_seconds: float
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,6 @@ exec python3 -m homeassistant_satellite \
--wake-buffer-seconds "$(bashio::config 'wake_buffer_seconds')" \
--noise-suppression "$(bashio::config 'noise_suppression')" \
--auto-gain "$(bashio::config 'auto_gain')" \
--volume-multiplier "$(bashio::config 'volume_multiplier')" \
--vad "$(bashio::config 'vad')" \
--debug-recording-dir "$(bashio::config 'debug_recording_dir')" ${extra_args[@]}
4 changes: 4 additions & 0 deletions assist_microphone/translations/en.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ configuration:
name: Auto gain
description: >-
Automatic volume boost for microphone (0 is disabled, 31 is max)
volume_multiplier:
name: Volume multiplier
description: >-
Multiply volume by fixed value (1.0 = no change, 2.0 = twice as loud)
wake_buffer_seconds:
name: Wake buffer seconds
description: >-
Expand Down

0 comments on commit 841f055

Please sign in to comment.