Merge pull request #2497 from preynal/main

feat: ability to select audio input device
This commit is contained in:
paul-gauthier 2024-11-30 09:33:00 -08:00 committed by GitHub
commit 82929f650c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 52 additions and 7 deletions

View file

@ -446,5 +446,8 @@ cog.outl("```")
## Specify the language for voice using ISO 639-1 code (default: auto)
#voice-language: en
##Specify the voice input device name used for recording (default: system default)
voice-input-device: xxx
```
<!--[[[end]]]-->

View file

@ -410,7 +410,8 @@ cog.outl("```")
## Specify the language for voice using ISO 639-1 code (default: auto)
#AIDER_VOICE_LANGUAGE=en
## Specify the voice input device name (default: system default)
#AIDER_VOICE_INPUT_DEVICE="MacBook Pro Microphone"
```
<!--[[[end]]]-->

View file

@ -75,7 +75,7 @@ usage: aider [-h] [--openai-api-key] [--anthropic-api-key] [--model]
[--suggest-shell-commands | --no-suggest-shell-commands]
[--fancy-input | --no-fancy-input]
[--detect-urls | --no-detect-urls] [--editor]
[--voice-format] [--voice-language]
[--voice-format] [--voice-language] [--voice-input-device]
```
@ -701,4 +701,9 @@ Environment variable: `AIDER_VOICE_FORMAT`
Specify the language for voice using ISO 639-1 code (default: auto)
Default: en
Environment variable: `AIDER_VOICE_LANGUAGE`
### `--voice-input-device VOICE_INPUT_DEVICE`
Specify the voice input device name used for recording (default: system default)
Default: system default
Environment variable: `VOICE_INPUT_DEVICE`
<!--[[[end]]]-->