my phone system records each leg of the audio (transmit and receive) separately.
I have a tool we use that requires a Stereo audio file to function (transmit = left channel, receive = right)
my problem is, the two recordings are of different length based upon when each channel sent its first RTP.
is there a way to use SOX to merge audio while aligning the END of the file?
I am currently using sox -M $inbound $outbound target.wavbut that is aligning the start of the files, which makes it sound like we're answering questions before they are asked.
From watching the files mid-process, it is recording two identical-size files, which leads me to believe that each Recording is fine. but after the SOX command is applied, the output file seems to always be 2*N - 1000bytes, as though for some reason the Merge command is trimming 1kb of silence off of the audio file.
Reset to default