I am working on a #audio project in which I need to make a few hundred audio files exactly the same length/number of samples. If the sound is too short initially, pad the end with silence. If it's too long... well, that's a different problem I'm not concerned with yet.
So I need a way to automate this process. I'm thinking I can probably do something with SoX, but that thing does my head in.
Has anyone here ever done something like this with a CLI application?
So I need a way to automate this process. I'm thinking I can probably do something with SoX, but that thing does my head in.
Has anyone here ever done something like this with a CLI application?
This entry was edited (2 months ago)
modulux
in reply to Patrick Perdue • • •Create a silence wav file of the right length, by which I mean the total length you need, then mix with the input using: