Re: manualy setting output as for .s32 extension

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

 



On Aug 21 14:33:24, p-danijel.domazet@xxxxxxxxxxxx wrote:
> This command works for me:
> 1) sox --channels 1 --rate 48000 in_signal.wav in_signal.s32

Why are you overriding the number of channels and the sample rate
for a wav file, which already has that information in the wav header?

> Now, I'd like to change the output filename extension. In that case SoX
> can't deduce the format from the extension, so I have to tell it the
> details. I tried the following line:
> 2) sox --bits 32 --channels 1 --encoding signed-integer --rate 48000
> in_signal.wav --type raw in_signal.q31

The option at the beginning of the line (before the input file)
overrdide the specifications for that file. Toy want to put those
specifications before the output file, to tell sox what its format is.
In the wors of the holy manpage,

  sox [global-options] [format-options] infile [format-options] outfile

Jan

> Danijel Domazet
> -- 
> - Confidential -

Don't tell anyone then.




_______________________________________________
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