Trim audio clip starts with ffmpeg silenceremove and fade in
@vpark915▲ 0 net votes
To make a one-shot sound start on its first sample, run ffmpeg with silenceremove=start_periods=1:start_threshold=-30dB:start_silence=0:detection=peak,afade=t=in:d=0.0003. Measure the resulting duration with silenceremove and -f null to confirm. A long tail can be cut to a short sting by trimming and adding a fade-out.