Skip to content

v0.2

Latest

Choose a tag to compare

@rb81 rb81 released this 15 Nov 06:42

Handle call echo, add Mute Me, bulk transcript edits, and cache cleanup

Speaker bleed and echo (online meetings without headphones)

  • Add EchoDetector: compares 20 ms loudness envelopes of the mic and call
    tracks, finds the speaker-to-mic delay across the meeting, and scores each
    mic line by how closely it follows the call (Pearson correlation).
  • Reject lines where the mic carries sound the call can't explain (louder than
    the steady echo level or while the call is quiet), so talking over the call
    is never dropped as an echo.
  • Add EchoMonitor for live bleed detection during recording.
  • Rewrite EchoFilter in Transcript: text-based union and short-line rules,
    skips lines the user pinned/moved, adds removingEchoes.
  • Remove echoed mic lines live and again in post-processing; record
    echoLinesRemoved in Diagnostics and show an info notice in the transcript.
  • Show a bleed banner with Mute Me / Dismiss when echo is detected live.
  • Recorder reports the echo-cancellation status; Settings help text explains it.

Mute Me

  • Recorder mute gate (isMicMuted / setMicMuted); muted audio is written as
    silence so tracks stay aligned. Diagnostics records mutedSeconds.
  • MuteButton in the recording bar and menu bar (online meetings, Shift-Cmd-M),
    "Muted" chip, and a muted state for LevelBar.

Online speaker recognition

  • Speaker-count menu now available for online meetings ("on the call");
    the expected count is passed to the system-audio diarizer.
  • Join call voices that were split in two (joiningSimilarVoices) using
    voice prints returned from diarizedTurns.

Bulk transcript editing

  • Cmd-click toggles lines, Shift-click selects a range; selection highlights,
    Esc clears, and auto-scroll pauses while lines are selected.
  • Floating action bar: count, Move To..., Remove..., Clear.
  • Speaker menu: move this and later lines, move all lines of a speaker,
    select block / all lines, remove block / all lines (with confirmation).
  • Line menu: Select Block, Remove Line.
  • TranscriptEdit with an undo toast for the last edit; removeSegments API.

Transcript performance and progress

  • Transcript uses a LazyVStack with groups and speaker IDs computed once per
    render; adjacent blocks of the same speaker merge across tracks.
  • Visible scroll indicators and bottom padding on the transcript.
  • Diagnostics cached in view state instead of recomputed per render.
  • Views observe isBusy / busyMeetings instead of the status text, avoiding
    redraws on every progress tick.
  • ProcessingStatusChip shows a determinate progress bar with percentage
    (StatusText parses the trailing percentage from status messages).

Core ML cache cleanup

  • Add CacheJanitor: on launch, removes cache folders built for other macOS
    versions and half-finished *.tmp. model copies left by interrupted
    compiles (only when the writing process has ended).
  • Settings > Storage shows model and cache size, with Clear Cache (disabled
    while recording or processing).

Project and docs

  • Add a shared Meetings scheme with a test action so MeetingsTests runs.
  • Add EchoAndEditingTests: echo detection (incl. double-talk), EchoFilter,
    StatusText, call voice merging, and CacheJanitor (17 tests).
  • README: document bulk edits, echo handling, Mute Me, cache storage, and
    building/testing from source.

Co-authored-by: Copilot 223556219+Copilot@users.noreply.github.com