hex/src/meeting
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Ryan Vogel 25614d09a6 Labs: Muffle other audio while dictating (macOS)
"While dictating" gains Muffle behind Labs › Muffle other audio
(labs.muffle, off by default, macOS): other apps keep playing, but low
and through a wall, like a club heard from its bathroom. A
muted-when-tapped global Core Audio process tap (Hex's own tones left
out) is replayed onto the default output by a private aggregate device
holding the tap and that output, through a 400 Hz RBJ low-pass that
shuts with a Q 3 -> 0.707 thump over 150 ms, the level ramped to 40 %
over 80 ms, a small Freeverb-shaped room (4 combs, 2 allpasses, +23
samples on the right, feedback 0.72, damp 0.45, wet 0.0875), and a tanh
soft clip above 0.9; opening sweeps the cutoff to 20 kHz with Q 4 ->
0.707 over 200 ms before the tap goes.

- audio/muffle: the pure signal path (every OS) with unit tests.
- recording_environment/muffle: the macOS tap adapter; Effect::Muffle
  composes with the other held effects. Without the Labs feature or
  System Audio Recording, or where the tap fails (macOS before 14.2),
  the session lowers the audio instead; Linux and Windows treat the
  saved value as Lower audio.
- meeting::create_tap_aggregate takes an optional output sub-device,
  which the muffle aggregate uses to play; existing callers pass None.
- General shows the System Audio Recording row under Muffle, as it does
  for Also pause the browser (shared system_audio_row); the Labs toggle
  asks for the permission when turned on, never while dictating.
- hex settings: recording_audio_behavior accepts muffle; labs.muffle.
- The Labs state packs Muffle at bit 32 and moves the unload-idle
  minutes to bit 40.
- Translations for the new strings; feature maps and AGENTS updated.

Verified: scripts/check (fmt, code-shape, clippy, 2208 tests) passes;
the ignored on-hardware test muffles_the_default_output_for_a_while
ran on a Mac with a test tone playing: 271 IO cycles in 3 s, tapped
peak 0.60, the door opened before teardown.
2026-11-05 10:47:59 -05:00
..
capture.rs Meetings: record the input the call app uses (#1086) (#1091) 2026-11-03 00:14:23 -05:00
chapters.rs Fold desktop shell, onboarding, and OpenCode client modules into desktop/ 2026-10-31 16:12:40 -07:00
chapters_tests.rs Fold desktop shell, onboarding, and OpenCode client modules into desktop/ 2026-10-31 16:12:40 -07:00
delta.rs Extract paste-cursor and delta helpers from meeting.rs 2026-10-31 18:57:51 -07:00
detection.rs Meetings: detect Discord calls (#1283) (#1286) 2026-11-04 10:38:37 -05:00
echo.rs Fold meeting_* into meeting/ 2026-10-31 14:32:07 -07:00
echo_replay_tests.rs Fold meeting_* into meeting/ 2026-10-31 14:32:07 -07:00
finished_events.rs Labs #964: meeting finished notification / webhook (#1244) 2026-11-04 03:25:57 -05:00
generator.rs Fix #1125: meeting notes export footer (#1130) 2026-11-03 08:33:00 -05:00
linux.rs Fold meeting_* into meeting/ 2026-10-31 14:32:07 -07:00
live_replay_tests.rs Fold audio and recording-environment modules into audio/ 2026-10-31 16:12:40 -07:00
macos.rs Labs: Muffle other audio while dictating (macOS) 2026-11-05 10:47:59 -05:00
mcp.rs Fold desktop shell, onboarding, and OpenCode client modules into desktop/ 2026-10-31 16:12:40 -07:00
notes.rs Labs #1154: meetings per-meeting context for transcription and notes (#1174) 2026-11-03 12:53:08 -05:00
query.rs Add agent marker and drop internal references (#702) 2026-10-31 18:30:32 -07:00
query_tests.rs Add agent marker and drop internal references (#702) 2026-10-31 18:30:32 -07:00
runtime.rs open windows microphones plainly through wasapi before cpal probes them, and log every endpoint call in order (#988) (#1279) 2026-11-04 10:00:40 -05:00
tests.rs Meetings: kept 24 hours by default, older meetings until you choose (#699) 2026-10-31 18:53:55 -04:00
transcript.rs fix: keep meeting text from segments with zero timestamps (#1198) (#1207) 2026-11-03 16:35:12 -05:00
watcher.rs Fix #1321: Launch at login starts Hex without its window (#1323) 2026-11-04 15:35:28 -05:00
windows.rs Fix #1221: meeting recording system audio capture (#1222) 2026-11-03 19:29:38 -05:00