Skip to content

Audio export is too quiet #2

@ScreepCode

Description

@ScreepCode

Problem

Exported audio files (mic and system) sound very quiet and thin.

Suspected Root Cause

Audio is captured and saved at 16 kHz / 48 kbps AAC, which limits the frequency range to 0–8 kHz (Nyquist). This narrow bandwidth makes audio perceptually quiet and lacking presence.

Specific locations:

  • SystemAudioCapture.swift: config.sampleRate = 16_000 → ScreenCaptureKit captures at 16 kHz
  • MeetingRecorder.audioFileSettings: AVSampleRateKey: 16_000, AVEncoderBitRateKey: 48_000
  • MeetingRecorder.handleSystemAudioBuffer: writes the already-downsampled 16 kHz buffer to the audio file instead of the original

Proposed Fix

  • Capture system audio at 48 kHz (config.sampleRate = 48_000)
  • Write audio files at 48 kHz / 128 kbps
  • In handleSystemAudioBuffer: write the original PCM buffer to file; only use the 16 kHz converted buffer for the SFSpeech recognizer

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions