|
From: Ulrich K. <ul...@ch...> - 2012-08-27 01:27:46
|
BeatsByMarkus.com <bea...@ya...>: > Using Sox with windows, I want to mix two files and then trim the > resulting file to the length of the shorter of the two files. You'll need to find out the length of the shorter file beforehand (with "soxi -s file", e.g.), then do something like sox --combine mix file1 file2 out trim 0 123456s (where 123456 is the number of samples soxi told you). Depending on what you want, it might be mix-power instead of mix. If you want to automate this, I'm out as I don't know the scripting ways of Windows. But it's probably possible; I could do it with *nix bash. Ulrich |