1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Convert from .wav to .au

Discussion in 'Software Development' started by omuyelijah, Apr 7, 2008.

Thread Status:
Not open for further replies.
  1. omuyelijah

    omuyelijah Thread Starter

    Jan 10, 2006
    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.
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 733,556 other people just like you!

Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/701237

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice