Skip to content
UniKit

Cut audio by seconds

Cut by a start time plus a duration, or an explicit end. Sample math matches audio trim; this entry is seconds-based.

Runs in your browserEvery computation happens in your browser — your data never leaves this device.

Audio metadata

Plan

Samples or duration

Enter data to see results

Stat: 0 · Stat 2: 0

What this tool does

  • Check parameters before transcoding
  • Convert time into samples or filters

Example

Input

{"duration":10,"sampleRate":48000}

Output

{"operation":"trim","start":2,"end":3,"duration":1,"startSample":96000,"endSample":144000,"samples":48000}

Computes an assertable plan or sample range. It does not touch devices or transcode files.

Frequently asked questions

Does it process the file?

No. It returns a plan, command, or sample range and never decodes media.

May numbers be strings?

Yes. Numeric strings from text controls are parsed as numbers.

Does it match ffmpeg exactly?

Times, filters, and bitrate formulas are deterministic; container overhead can still differ.

Keywords:按秒裁剪cutter采样音频区间

Related tools