> ## Documentation Index
> Fetch the complete documentation index at: https://hyperwhisper.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Voice Activity Detection & Silence Trimming

> Remove silence from your recordings before transcription to lower costs and increase speed.

Voice Activity Detection (VAD) examines your recording and removes the silence. HyperWhisper then sends the shorter audio to your transcription provider. Shorter audio costs less, returns results faster, and in many cases gives better accuracy.

## Overview

When you stop a recording, HyperWhisper finds the parts of the audio that contain speech. HyperWhisper removes the silence and makes a trimmed copy of your audio. The transcription provider receives this trimmed copy, not the full original.

VAD is **enabled by default** on macOS and on Linux. On macOS, you can turn it off in Settings. The thresholds and the file behavior are different on each platform — see [Platform Support](#platform-support).

## How It Works

VAD uses the [Silero VAD](https://github.com/snakers4/silero-vad) model. The macOS app includes this model (\~864 KB). All processing occurs on your device.

**VAD runs when both of these conditions are true:**

* VAD is on in Settings.
* The recording is 30 seconds long or longer.

HyperWhisper sends recordings shorter than 30 seconds to the provider without a change. These recordings are too short for silence removal to give a benefit.

**Processing flow:**

**1. Detect speech segments**

The Silero VAD model examines your audio. It finds the parts that contain speech.

**2. Remove silence**

HyperWhisper joins all of the speech segments into one trimmed audio file. It removes each gap between segments that is longer than 200 ms. This includes the silence at the start, the silence at the end, and the pauses in the middle.

**3. Validate the result**

HyperWhisper makes sure that the trimmed file passes the minimum quality checks (see [Validation & Quality Checks](#validation-&-quality-checks) below). If the file fails a check, HyperWhisper uses the original audio.

**4. Prepare for upload**

If the trimmed file is 25 MB or larger, HyperWhisper converts it to M4A to make the upload smaller. HyperWhisper sends files smaller than 25 MB as WAV. Imported files that are already in a compressed format (M4A, MP3, and other compressed formats) are not encoded again, because a second encode lowers the quality.

HyperWhisper always keeps the original audio on disk. It stores the trimmed copy next to the original and uses the trimmed copy only for transcription and playback. HyperWhisper never writes over the original.

## Benefits

* **Lower API costs** — you pay for less audio when HyperWhisper removes the silence.
* **Faster transcription** — smaller files upload and process faster.
* **Better accuracy in many cases** — the model gets less silence and less background noise.
* **Good for any recording with pauses** — interviews, dictation with thinking gaps, and recordings that you start early and stop late.

## Enabling VAD

> [tab] macOS
>
> **1. Open Settings**
>
> Open **Settings** (click the menu bar icon → **Settings**).
>
> **2. Go to Sound**
>
> Go to the **Sound** section.
>
> **3. Turn on silence removal**
>
> Turn on **Remove silence before transcription**.
>
> The toggle takes effect immediately. If your next recording is 30 seconds long or longer, HyperWhisper trims it with VAD.

> [tab] Windows
>
> Windows has no user-facing VAD toggle. The trimmed-file workflow on this page (a separate trimmed audio file and an Original/Trimmed toggle) does not apply to Windows. When you use a local model such as Parakeet or Qwen3 ASR, the Windows transcription daemon runs Silero VAD internally. The daemon includes this model and uses it to divide the speech into chunks during transcription. This is not a pre-processing step that you can turn on or off, and it makes no separate audio file. The Nemotron streaming model is the exception — it deliberately skips VAD, since its own streaming decoder handles segmentation.

> [tab] Linux
>
> Linux trims silence **by default**, and the Settings window has no toggle for it. A Linux backup carries this setting, so a backup that you import can turn the trim off. Linux makes a separate trimmed file, as macOS does. It runs the packaged Silero VAD model on the finished recording, before it sends the audio to the provider.
>
> Linux applies three gates before it trims:
>
> | Gate | Value | Reason code when it stops the trim |
> | - | - | - |
> | Format | 16 kHz mono 16-bit WAV | `vad.unsupported_format` |
> | Minimum duration | 30 seconds | `vad.short_audio` |
> | Maximum duration | 2 hours | `vad.audio_too_long` |
>
> If the packaged Silero runtime is not available, Linux uses a simpler detector that measures loudness instead. Batch transcription still works.
>
> > [!NOTE]
> >
> > Linux trims a **batch** recording only. A streaming session sends audio to the provider as you speak, so there is no finished file to trim.

> [tab] iOS
>
> iOS has no VAD toggle. A small silence trimmer that uses amplitude runs automatically on every recording. If the trimmer finds 0.5 seconds of silence or more, it removes the silence at the start and at the end before upload.

## Viewing Original vs. Trimmed Audio

> [tab] macOS
>
> If HyperWhisper trimmed a recording, the History detail view shows an **Original / Trimmed** toggle above the audio player. Select **Trimmed** to hear the audio without the silence. Select **Original** to hear the full recording.
>
> HyperWhisper keeps both files on disk. The toggle changes only which file plays. It deletes nothing.
>
> For more about the audio player, see [Viewing Transcription History](https://hyperwhisper.com/docs/history.md).

> [tab] Windows
>
> Windows makes no separate trimmed audio file. Therefore, it has no Original / Trimmed toggle. The internal VAD divides the audio into chunks during local transcription, but it does not store these chunks as a file.

> [tab] Linux
>
> Linux keeps both files, but it has no Original / Trimmed toggle. The History player always plays the **original** recording. HyperWhisper stores the trimmed file next to it, named `vad-<id>.wav`, and it uses that file only for the transcription.
>
> Automatic cleanup deletes the trimmed file together with the original, so a trimmed copy never stays behind after you delete the History entry.

## Validation & Quality Checks

After the trim, HyperWhisper examines the result before it uses the result. If the trimmed file fails one check or more, HyperWhisper uses the original audio for the transcription. You do not see an error.

| Check | Threshold | Why |
| - | - | - |
| Silence removed | More than 0.5 seconds | Prevents a second file when the recording has almost no silence |
| Trimmed duration | At least 0.3 seconds | Prevents a trim that removes real speech |
| Trimmed file size | More than 5 KB | Makes sure that the file contains real audio, not only a WAV header |

> [!NOTE]
>
> HyperWhisper sends VAD failures to Sentry as breadcrumbs. These breadcrumbs help to diagnose rare faults. The original audio is always the fallback, so a VAD failure never stops the transcription.

## Platform Support

| Platform | Status |
| - | - |
| macOS | Supported. Turn it on in **Settings → Sound → Remove silence before transcription** |
| Windows | No separate trimmed file and no toggle. The internal VAD runs automatically on each chunk during local model transcription |
| Linux | Supported, and on by default. The Settings window has no toggle |
| iOS | A trimmer removes the silence at the start and at the end automatically on every recording |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.