Can you cut 0.72 seconds from a voiceover by trimming only digital silence?

Our six local narration files totaled 30.72 seconds before any gaps between lines. We needed 30.00. We tested whether removing only the zero-valued samples at the very start and end of each file would buy back the difference. It recovered 0.328 seconds. Even joined without pauses, the result would still run 0.392 seconds over the slot.

The decision before paying for another take

If the cut is fixed, first measure what you can remove without touching nonzero samples. If the remaining run time still exceeds the slot, listen before trimming quieter speech. Another option is to shorten a line, record it again, or extend the picture. For a 30-second deliverable, budget your pauses too: five 0.20-second gaps add a full second.

Six takes per workflow, from the same script, decoded at 48 kHz mono
TakesDecoded totalZero-valued edgesRemaining if removed
Local VoxCPM2 WAV30.720 s0.328 s30.392 s
Hosted ElevenLabs MP326.044 s0.122 s25.922 s

Repeat the check on a copy

We used our six local WAVs and six hosted MP3s from the same October voice test. We decoded each separately to signed 16-bit PCM. On a little-endian computer, these commands count the leading and trailing zero-valued samples in one file. A value of 48,000 samples corresponds to one second. The check only reads the audio.

ffmpeg -v error -i take.wav -ac 1 -ar 48000 -f s16le take.pcm
python3 - <<'PYTHON'
from array import array
from pathlib import Path
samples = array("h", Path("take.pcm").read_bytes())
first = next((i for i, v in enumerate(samples) if v), len(samples))
last = next((i for i, v in enumerate(reversed(samples)) if v), 0)
print("edge seconds:", (first + last) / 48000)
PYTHON

Most of the recoverable time came from a few local takes. Line five alone ended in 6,868 zero samples (0.143 seconds). Line one had only five at its end. A single trim setting applied to every take would hide that difference.

What the numbers can tell you

A zero sample here is a value in this specific mono, 16-bit decode. Quiet sound can round to zero, while inaudible noise can remain nonzero. Resampling, compression and a different decode format can change those counts. We did not listen to edited exports, test other scripts, or compare voice quality. A shorter file also does not establish that a paid subscription is worthwhile.

For the input script, tool conditions and per-line durations, see the original six-line comparison. That article contains a disclosed ElevenLabs affiliate link. This article has no direct affiliate link. It was prepared with AI assistance from our own timing measurements.

Sources checked

Comments

Popular posts from this blog

FFmpeg Shows −1.5 dBTP. Did You Actually Fix the Audio?

VoxCPM2 vs ElevenLabs for a 30-Second Science Short: We Timed Both on the Same Script

Before You Upload an AI Song or Video: The Checks We Run (Free Commands)