Skip to content
UniKit

Audio cut points

Turn cut-in and cut-out times into a sample range. The math matches trim; the copy describes cut points.

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":0,"end":2,"duration":2,"startSample":0,"endSample":96000,"samples":96000}

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:剪切点采样区间cutaudiosamples

Related tools