I found it useful, maybe someone else will too, WAV Silence Trimmer, I needed to trim 1000s of samples and Auditions, WaveLab Elements & Audacity couldn't do what I wanted. Audacity came close but couldn't handle the values I wanted.
So for anyone wanting to trim the silence from their WAV files that are 16bit, 24bit or 32bit, here it is:
https://github.com/DarceyLloyd/wav-silence-timmer
Read the notes and watch the video before use.
Fine tuning
Open trim.js and edit:
Code: Select all
let startPeriods = 1;
let startSilence = 0.02;
let startThreshold = -50; //dB
let endPeriods = 1;
let endSilence = 0.02;
let endThreshold = -50; //dB
Linux and Mac users
You will need to download ffmpeg and ffprobe for their OS, place it in the folder where the windows exe versions are and edit the files trim.js and libs.js, remove ".exe" from ffmpeg and ffprobe paths and it should work fine.
Video usage guide:
