Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 442953
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T21:07:22+00:00 2026-05-12T21:07:22+00:00

I have a situation where there is a corrupt WAV file from which I’m

  • 0

I have a situation where there is a corrupt WAV file from which I’m trying to recover data.

My colleagues have sliced up the large WAV file into smaller WAV files with proper headers. This has produced some interesting results.

Sliced into 1MB segments we get these results:

  • The first wave file segment is all noise.
  • The second wave file segment is distorted.
  • The third wave file segment is clear.

This pattern is repeated for the entire length of the file (after it’s been broken into smaller files).

For 20MB slices:

  • The first wave file segment is all noise.
  • The second wave file segment is clear.
  • The third wave file segment is distorted.

Again, this pattern is repeated for the entire length of the file (after it’s been broken into smaller files).

Would anyone know why this is occurring?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T21:07:22+00:00Added an answer on May 12, 2026 at 9:07 pm

    Assuming the WAV contains uncompressed (raw) samples, recovery should be easy. You need to know the sample format. For example: 16 bits, two channels, 44100 Hz (which is cd quality). Because one of the segments is okay, then you can look at this to figure out what the right values are.

    Then just open the WAV using these values in, e.g., Adobe Audition (formerly Cool Edit), or any other wave editor that supports import of raw data.

    Edit: Okay, now to answer your question. Some segments are clear, because then the alignment is right. Take the cd quality again, as I described before. The bytes of one sample look like this:

    left_channel_high | left_channel_low | right_channel_high | right_channel_low
    

    (I’m not sure about the ordering here! But it’s just an example.) So the first data byte had better be the most significant byte of the left channel, or else you’ll end up with fragments of two samples being interpreted as one whole sample:

    left_channel_low | right_channel_high | right_channel_low || left_channel_high
    -------------------part of first sample------------------ || --second sample--
    

    You can see that everything “shifted” here, which happens because the size of your file slices is not a multiple of the sample size in bytes.

    If you’re lucky, this just causes the channels to be swapped. If you’re unlucky, high and low bytes get swapped. Interestingly, this does lead to kind-of recognizable, but severely distorted audio.

    What puzzles me is that the pattern you report repeats in blocks of three. From the above, I’d expect either two or four. Perhaps you are using an unusual sample format, such as 24-bits (3 bytes)?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a following situation in my project. There are some tag values which
I have a situation where there is a program which is written in c++.
I have the following situation: There is a tool that gets an XSLT from
I have a situation where there two related large python classes and hence i
I have situation where there are multiple test cases which uses a common method.
I have a situation in which there's an HTTP GET parameter with name Date
I have run into a situation where there is 'bad' data in a number
I have this situation: There are a login page with a login form (form
I have the following situation: There is one custom view inside of the first
Let's say I have a situation in Silverlight where there is a background thread

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.