Exporting as Wav = Distortion?
Posted: Wed Feb 24, 2010 3:23 am
Windows XP 32 Bits (and Windows 7 64 Bits, but not for recording)
Core i7 975 Quad Core @ 3.33GHz
12 GB DDR3 RAM
2 TB Hard Drive
Sound Card #1: Sound Blaster X-Fi Titanium Fatal1ty Championship Series
Sound Card #2: [email protected] Professional Audio
ATI Radeon HD 5970 ×2 Crossfire
This problem occurs on all modern versions of Audacity.
// ==
I record with perfect digital quality usually with Audacity.
For example, at the start of the recording there is some silence, and the recording in Audacity reflects the perfect nature of this silence, filling the start of the sound with 0’s.
To verify, in Audacity, that this region is really 100% silence, I can select the area and use the Amplify tool, which shows a “1.$” (the result of division by 0). If there is even a tiny bit of noise, this will be a very large (but valid) number. I can also use the Generate Silence tool to get the same results.
I save this to a 16-bit PCM .wav file.
I check the file in a hex editor and find that it did not store perfect silence at the start of the file. There are little 1’s and -1’s everywhere where there should be just 0’s. This is too small to be audible, but it is corruption of the data.
// ==
As another test, I saved the project as a whole, without exporting to .wav.
I reloaded the project and the same happened. Before saving, I could select the silent area at the start and the Amplify tool generates 1.$ as a result of division by 0 (since the largest wave there was 0).
After re-opening, I select the same area (using the snap feature to be SURE I am selecting the same exact bytes) and the Amplify tool generates 160.0 Db (or so). Meaning that the largest wave was NOT 0 for some reason (but was very small).
// ==
So I recorded using Wavosaur. The recording was once again perfect with pure silence at the start.
I saved that as a .wav. Viewed in hex editor. The results were as I expected. The starting silence was just a long row of 0’s as it should be.
I then imported that file into Audacity and exported again back to .wav without modifying it. Viewed in hex editor. Again the file was corrupted with 1’s and -1’s instead of just a bunch of 0’s.
Also of note is that I could tell the file was already corrupted during the import process because selecting the silenced region at the start and using the Amplify tool did not generate a 1.$ as it would have if the beginning was just a row of 0’s.
Apparently Audacity is running some kind of filter over the wav files as it exports and imports them. Is there any way to disable this?
Thank you,
L. Spiro
Core i7 975 Quad Core @ 3.33GHz
12 GB DDR3 RAM
2 TB Hard Drive
Sound Card #1: Sound Blaster X-Fi Titanium Fatal1ty Championship Series
Sound Card #2: [email protected] Professional Audio
ATI Radeon HD 5970 ×2 Crossfire
This problem occurs on all modern versions of Audacity.
// ==
I record with perfect digital quality usually with Audacity.
For example, at the start of the recording there is some silence, and the recording in Audacity reflects the perfect nature of this silence, filling the start of the sound with 0’s.
To verify, in Audacity, that this region is really 100% silence, I can select the area and use the Amplify tool, which shows a “1.$” (the result of division by 0). If there is even a tiny bit of noise, this will be a very large (but valid) number. I can also use the Generate Silence tool to get the same results.
I save this to a 16-bit PCM .wav file.
I check the file in a hex editor and find that it did not store perfect silence at the start of the file. There are little 1’s and -1’s everywhere where there should be just 0’s. This is too small to be audible, but it is corruption of the data.
// ==
As another test, I saved the project as a whole, without exporting to .wav.
I reloaded the project and the same happened. Before saving, I could select the silent area at the start and the Amplify tool generates 1.$ as a result of division by 0 (since the largest wave there was 0).
After re-opening, I select the same area (using the snap feature to be SURE I am selecting the same exact bytes) and the Amplify tool generates 160.0 Db (or so). Meaning that the largest wave was NOT 0 for some reason (but was very small).
// ==
So I recorded using Wavosaur. The recording was once again perfect with pure silence at the start.
I saved that as a .wav. Viewed in hex editor. The results were as I expected. The starting silence was just a long row of 0’s as it should be.
I then imported that file into Audacity and exported again back to .wav without modifying it. Viewed in hex editor. Again the file was corrupted with 1’s and -1’s instead of just a bunch of 0’s.
Also of note is that I could tell the file was already corrupted during the import process because selecting the silenced region at the start and using the Amplify tool did not generate a 1.$ as it would have if the beginning was just a row of 0’s.
Apparently Audacity is running some kind of filter over the wav files as it exports and imports them. Is there any way to disable this?
Thank you,
L. Spiro