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 | 86b802cfef1a93844217b0edd99bb124d85701d1 (patch) | |
| tree | 559c79a17764cea9fada248afb53eb73494c2bbb /modules/transcription-config.el | |
| parent | 412b608909ad143fedf4c6f1514ace1e35682c0b (diff) | |
| download | dotemacs-86b802cfef1a93844217b0edd99bb124d85701d1.tar.gz dotemacs-86b802cfef1a93844217b0edd99bb124d85701d1.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 |
