Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Batch wav file trimmer (Read 4387 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Batch wav file trimmer

I have a folder of over 1000 wav files of sound recorded from scientific equipment. Each file is 1-3 seconds. The recording automatically started at the start of the event, however every file has at least 0.5 seconds of silence at the end. (however its not a fixed duration in all the files)

I am looking for a program that that can trim this silence from the end of the files automatically.

WavTrim looked promising, however when I load the files in I would get the message: "File too small to be processed (0.94s)!" so that wont work.

Does anyone know of anything similar?

Thanks


Batch wav file trimmer

Reply #2
I have got access to a Mac yes, but it appears can't do batch jobs. I got around 1500 files. Thats my problem, i have found software, but nothing that can do it batch.

Batch wav file trimmer

Reply #3
I do not have the experience myself, but you might take a look at sox. It has a "silence" effect that is designed to remove silence from the beginning, middle, or end of the audio. sox is a command line tool and thus suited for batch processing.

Batch wav file trimmer

Reply #4
I own SampleManager and it does process multiple files, although I admit to have never done a batch of 1500. Out of curiosity I decided to do a test with 256 files, 2 s in length and shorten them to 1. It took about 6 seconds to process them all.
The "trim beginning below" and "trim end below" options in SM allow to set a threshold (e.g. -90dBFS) to define the trim points. That could be a useful feature for your application. There's a SM demo available if you'd like to try it first.
What do you expect from the "batch" feature ?