leslie has asked for the wisdom of the Perl Monks concerning the following question:

Hi friends,

I need a requirement to change the file format from little endian to big endian.

I am having the wave file which is little endian format. I have to covert it into the big endian format.

how Can I do it ?
  • Comment on How to convert little endian to big endian

Replies are listed 'Best First'.
Re: How to convert little endian to big endian
by Ratazong (Monsignor) on Apr 29, 2010 at 06:29 UTC
Re: How to convert little endian to big endian
by almut (Canon) on Apr 29, 2010 at 07:29 UTC

    As you have a wave file, maybe you could simply use sox. It has several options (-L, -B, -x,...) to handle the endianness of in/output files.