Add audio input channels env

This commit is contained in:
Omar Amin authored and GitHub committed 2026-06-24 22:57:31 +03:00
1 parent eb2d3b21b1
commit 19c6322c28
1 file changed
+2
+2
View File
@@ -179,6 +179,7 @@ Environment=PREFERENCES_FILE="/home/pi/linux-voice-assistant/preferences.json"
# Environment=MIC_VOLUME="1.0" # Environment=MIC_VOLUME="1.0"
# Environment=MIC_AUTO_GAIN="0" # Environment=MIC_AUTO_GAIN="0"
# Environment=MIC_NOISE_SUPPRESSION="0" # Environment=MIC_NOISE_SUPPRESSION="0"
# Environment=AUDIO_INPUT_CHANNELS=2
# Environment=ENABLE_THINKING_SOUND="1" # Environment=ENABLE_THINKING_SOUND="1"
# Environment=WAKE_WORD_DIR="app/wakewords" # Environment=WAKE_WORD_DIR="app/wakewords"
# Environment=WAKE-MODEL="okay_nabu" # Environment=WAKE-MODEL="okay_nabu"
@@ -261,6 +262,7 @@ The following variables can be configured in the `.env` or in the service file:
| `MIC_VOLUME` | Control microphone volume | 100 | | `MIC_VOLUME` | Control microphone volume | 100 |
| `MIC_AUTO_GAIN` | Add WebRTC Gain to Mic | 0 | | `MIC_AUTO_GAIN` | Add WebRTC Gain to Mic | 0 |
| `MIC_NOISE_SUPPRESSION` | Add WebRTC Noise Suppresion to Mic | 0 | | `MIC_NOISE_SUPPRESSION` | Add WebRTC Noise Suppresion to Mic | 0 |
| `AUDIO_INPUT_CHANNELS` | Number of audio input channels | 2 |
| `ENABLE_THINKING_SOUND` | false | Set to "1" to enable thinking sound | | `ENABLE_THINKING_SOUND` | false | Set to "1" to enable thinking sound |
| `WAKE_WORD_DIR` | `app/wakewords` | Path to the wake word directory | | `WAKE_WORD_DIR` | `app/wakewords` | Path to the wake word directory |
| `WAKE_MODEL` | `okay_nabu` | Wake word model to use | | `WAKE_MODEL` | `okay_nabu` | Wake word model to use |