Re: [solved] Convert multichannel raw file to wav
Rodolfo Medina <[email protected]> Mon, 22 Apr 2024 12:43:51 +0000
| Newsgroups | gmane.comp.audio.sox |
|---|---|
| Message-ID | <87jzkp36uw.fsf@lenovo> |
Jan Stary <[email protected]> writes: > That still does not specify the smaple rate and the encoding. > Repeat the questions: > > Why don't you specify the format explicitly? I suppose I copied/pasted that stuff from somewhere. > Why do you record multichannel input into a raw file? As above. >> and then sox: >> $ sox -t raw -r 44100 -e signed-integer -L -b 16 -c 4 dump2.raw output2.wav >> This way it seems to work. Do you tink it's correct? > > How would anyone but you know? > Is the recording's sample rate actualy 44100? > Is the encoding actualy signed 16bit integers? > If so, why don't you say that explicitly in your pacat command? Mmmmhh... >> ...number 4 is due to the fact that Behringer UMC404HD is a four-channel >> audio interface. > > The -c 4 tells SoX that dump2.raw is a 4 channel file. > By then, the Behringer has nothing to do with it. But dump2.raw is 4-channel because pacat created so and pacat created so because I told it to and I told it to because Behringer is 4-channels. Thanks, Rodolfo