Help fixing corrupt .wav file

Help for Audacity on Windows.
Forum rules
ImageThis forum is for Audacity on Windows.
Please state which version of Windows you are using,
and the exact three-section version number of Audacity from "Help menu > About Audacity".


Audacity 1.2.x and 1.3.x are obsolete and no longer supported. If you still have those versions, please upgrade at https://www.audacityteam.org/download/.
The old forums for those versions are now closed, but you can still read the archives of the 1.2.x and 1.3.x forums.
barhrecords
Posts: 8
Joined: Thu Nov 26, 2015 2:09 pm
Operating System: Please select

Help fixing corrupt .wav file

Post by barhrecords » Thu Nov 26, 2015 2:18 pm

I am importing raw data from a corrupt wav file.

The file is Signed 32 bit PCM @ 48000.

I can get the import to work but the file plays back too fast. Like the SRC changed the playback speed?

Audacity 2.0.3
Windows 7 Pro SP1 64 bit

kozikowski
Forum Staff
Posts: 69384
Joined: Thu Aug 02, 2007 5:57 pm
Operating System: macOS 10.13 High Sierra

Re: Help fixing corrupt .wav file

Post by kozikowski » Thu Nov 26, 2015 6:57 pm

Doesn't the raw import give you the ability to select the sample rate? You picked the wrong one. Once it's on the timeline, you can use the drop-down to the left and change it there, too.

Koz

kozikowski
Forum Staff
Posts: 69384
Joined: Thu Aug 02, 2007 5:57 pm
Operating System: macOS 10.13 High Sierra

Re: Help fixing corrupt .wav file

Post by kozikowski » Thu Nov 26, 2015 8:55 pm

I'm going to write this down. You may be the only person who ever got Import Raw to do anything useful.

Koz

barhrecords
Posts: 8
Joined: Thu Nov 26, 2015 2:09 pm
Operating System: Please select

Re: Help fixing corrupt .wav file

Post by barhrecords » Fri Nov 27, 2015 1:39 am

It took me a while to get import raw to do anything useful for sure :)

These files are from a multitrack digital recorder. Some of the files are fine and some corrupt. I suspect the corrupt files were not closed correctly.

All the files were recorded 48K 32bit float.

But to get the files to import at all, I had to choose the Signed 32 bit PCM codec in audacity NOT the 32 bit float codec. I thought that was weird?

I will double check with the recording engineer, at verify the 48K recording sample rate.

Gale Andrews
Quality Assurance
Posts: 41761
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10

Re: Help fixing corrupt .wav file

Post by Gale Andrews » Fri Nov 27, 2015 4:26 am

If the files are not private, you can post a link to one of them. We might be able to use it as an example when we work on Import Raw again.


Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual

kozikowski
Forum Staff
Posts: 69384
Joined: Thu Aug 02, 2007 5:57 pm
Operating System: macOS 10.13 High Sierra

Re: Help fixing corrupt .wav file

Post by kozikowski » Fri Nov 27, 2015 6:21 am

If you call the engineer and they say it was 48000, then......full stop. We stand around looking at each other drinking tea.

You can try Effect > Change Speed or Effect > Change Pitch, but those tools add distortion. It's much more likely just changing the sampling rate will return the performances to normal with no further fuss. On the other hand, if none of the sampling rates work, then you have damaged tracks, but you already knew that.

Is this a DAT machine by any chance? Those are 48000, yes. They're video standard.

It's a standing joke that you always take a backup recorder to a DAT shoot. When you get back home, throw the DAT tape away immediately and use the backup. Chances are overwhelming good the DAT tape is trash and you can save a lot of time assuming that right at the top. If it was a Very Important Shoot, it's 100% certain the DAT tape is trash.

koz

barhrecords
Posts: 8
Joined: Thu Nov 26, 2015 2:09 pm
Operating System: Please select

Re: Help fixing corrupt .wav file

Post by barhrecords » Fri Nov 27, 2015 1:10 pm

It is a 16 track digital recorder straight to USB stick. Cymatic Audio LR-16

These tracks are from a live show of a local band. Mostly original songs. I will check about posting one here.

kozikowski
Forum Staff
Posts: 69384
Joined: Thu Aug 02, 2007 5:57 pm
Operating System: macOS 10.13 High Sierra

Re: Help fixing corrupt .wav file

Post by kozikowski » Sat Nov 28, 2015 3:05 am

I will check about posting one here.
But you didn't try a different sample rate?

Koz

kozikowski
Forum Staff
Posts: 69384
Joined: Thu Aug 02, 2007 5:57 pm
Operating System: macOS 10.13 High Sierra

Re: Help fixing corrupt .wav file

Post by kozikowski » Sat Nov 28, 2015 3:50 am

You will not be posting a song on the forum. We're only good for about 12 seconds of WAV music depending on the sample rate. You'll also need to post a regular song so we know what "normal" is. An open posting on DropBox or other file service would do it.

http://forum.audacityteam.org/viewtopic ... 49&t=72887

Koz

barhrecords
Posts: 8
Joined: Thu Nov 26, 2015 2:09 pm
Operating System: Please select

Re: Help fixing corrupt .wav file

Post by barhrecords » Sat Nov 28, 2015 1:45 pm

I found out it is possible for it to work.

The very first export I did to mp3 was actually correct and played back normally.

I just have to figure out the combination of raw import sample rate vs. session sample rate.

Post Reply