Re: [solved] Convert multichannel raw file to wav

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Apr 22 12:43:51, rodolfo.medina@xxxxxxxxx wrote:
> Jan Stary <hans@xxxxxxxx> 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.

OK, that's your first problem: don't "copy commands from somewhere."
Read the manual of your tool, pacat(1) in this case,
and use that appropriately.

In particular, pacat/parec seems to be able to record a wav file,
in which case you are creating your own problem for no reason.

> >> 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...

Are you actualy trolling or what?
If this is your answer (for the third time),
I give up trying to help you.



_______________________________________________
Sox-users mailing list
Sox-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/sox-users



[Index of Archives]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux