diff options
| author | Craig Jennings <c@cjennings.net> | 2025-11-14 18:34:39 -0600 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2025-11-14 18:34:39 -0600 |
| commit | 0567b466488cd68fd043fd5f01918a5d728ddbb8 (patch) | |
| tree | 6d071ce9ad9f8260c874ed232c165b0ca6fbe565 /modules/transcription-config.el | |
| parent | 2a16f360f8b5d655ff9e4b80df8128687a9701af (diff) | |
| download | dotemacs-0567b466488cd68fd043fd5f01918a5d728ddbb8.tar.gz dotemacs-0567b466488cd68fd043fd5f01918a5d728ddbb8.zip | |
fix(recording): Fix phone call audio capture with amix filter
Phone calls were not capturing the remote person's voice due to severe
volume loss (44 dB) when using the amerge+pan FFmpeg filter combination.
Changes:
- Replace amerge+pan with amix filter (provides 44 dB volume improvement)
- Increase default system volume from 0.5 to 2.0 for better capture levels
- Add diagnostic tool to show active audio playback (C-; r w)
- Add integration test with real voice recording
- Fix batch mode compatibility for test execution
The amix filter properly mixes microphone and system monitor inputs without
the massive volume loss that amerge+pan caused. Verified with automated
integration test showing perfect transcription of test audio.
Diffstat (limited to 'modules/transcription-config.el')
| -rw-r--r-- | modules/transcription-config.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/transcription-config.el b/modules/transcription-config.el index 530522de..5349ade0 100644 --- a/modules/transcription-config.el +++ b/modules/transcription-config.el @@ -380,7 +380,10 @@ Prompts with completing-read to select from available backends." "b" #'cj/transcription-switch-backend "v" #'cj/transcriptions-buffer "k" #'cj/transcription-kill) -(keymap-set cj/custom-keymap "T" cj/transcribe-map) + +;; Only set keybinding if cj/custom-keymap is bound (not in batch mode) +(when (boundp 'cj/custom-keymap) + (keymap-set cj/custom-keymap "T" cj/transcribe-map)) (with-eval-after-load 'which-key (which-key-add-key-based-replacements |
