Convert from .wav to .au

Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

omuyelijah

Thread Starter
Joined
Jan 10, 2006
Messages
120
Hi All,

Wanting to generate .au media files from .wav but the output .au file when played produces this prominent 'screeching sound'. I am coming 2 think it has 2 do with the way I'm implementing the file generation. I had some issues quite noting dat the file should be in big-endian format. This is what my code does.

1. Write file header; (all technicalities here handled well)
2. seek to data chunk of wave file
3. read each character in wave file, write the High-Order byte of character into .au file, write Low-Order Byte of character into file;

step 3 is done repeatedly for all characters in source wave file.

Now, I know big-endian files have a BOM mark and I didn't write that cos I don't know where to write it. If I do so at beginning of file, it doesn't (on examination) look like other .au files (they begin with magic word .snd). What then might be wrong?

Can any suggest help? I'll appreciate meaningful help.
 
Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 807,865 other people just like you!

Latest posts

Members online

Top