Re: Recording specific channels

Jan Stary <[email protected]> Mon, 13 May 2024 09:26:10 +0200
Newsgroups gmane.comp.audio.sox
Message-ID <[email protected]>
On May 12 22:56:45, [email protected] wrote:
> If someone needs files from 1:35 to 3:15 we just give them 1 to 4.
> They combine them (with no seam at 2pm) [...] We routinely combine files
> into larger segments and we need them to be seamless.

Ah, right, that's what you mean by "sample perfect". Let's try:

$ sox -n sine.wav synth 10
$ sox sine.wav part%n.wav trim 0 5 : newfile : trim 0 5
$ soxi sine.wav part*.wav

On my machine, that's 480000 split into 240000 + 240000 exactly
when I said 5s out of 10s.

	Jan