Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Seeking unaltered conversion of .ogg to .wav (Read 1960 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Seeking unaltered conversion of .ogg to .wav

Hello!

I have a TON of 24-bit, 44.1 kHz .ogg files to batch convert into .wavs for a sound collage project I'm working on. My problem is that everytime I convert the .oggs into uncompressed .wavs (while maintaining the same sample rate and bit-depth in the conversion process) there are changes to the waveforms and sound. 

Granted, these changes are generally somewhat subtle, but sometimes they can significantly change the sound in terms of its attack and overall sonic character. I've A/B'd this dozens of times with Audioease's Snapper 2, switching back and forth between views of the pre and post-converted files (both the original .ogg and the .wav version), and it's definitely not just a one-off error. Furthermore, this change in the sound happens regardless of which audio conversion tool I'm using, whether it's NCH's Switch, Hoot Tech's WAVMP3 converter, or the demo version of Barbabatch.

Any ideas on why the waveform of a sound file would be altered during a "lossless" file conversion process? Any feedback at all would be greatly appreciated!

Seeking unaltered conversion of .ogg to .wav

Reply #1
I have a TON of 24-bit, 44.1 kHz .ogg files to batch convert into .wavs for a sound collage project I'm working on. My problem is that everytime I convert the .oggs into uncompressed .wavs (while maintaining the same sample rate and bit-depth in the conversion process) there are changes to the waveforms and sound. 


When you play a .ogg file, its decoded basically to WAV (or something similar).  Some what you're doing is comparing one WAV to another.  If they're not identical, then you're probably doing something wrong, or at least different when you convert one file verses the other.

 

Seeking unaltered conversion of .ogg to .wav

Reply #2
What difference are you seeing in the waveforms?

Quote
Furthermore, this change in the sound happens regardless of which audio conversion tool I'm using, whether it's NCH's Switch, Hoot Tech's WAVMP3 converter, or the demo version of Barbabatch.
If Snapper sounds different than everything else, maybe it's doing something different, or maybe it's defective???

Or, the only thing I can think of that would affect the sound during decoding would be ReplayGain.  I suppose ReplayGain could kick-in during playback, but be ignored when the file is transcoded to WAV.  That would give you two different volumes, but that would require a rather specific set of circumstances.

Quote
When you play a .ogg file, its decoded basically to WAV (or something similar).
And, you must also decompress to display the waveform...    You can plot the raw data from an uncompressed WAV/AIFF/PCM file and you will see the waveform.  But, if you plot the raw-uncompressed data from an OGG (or other compressed) file, it's going to look like noise, and since it's compressed there aren't as many data points so the "waveform" would be much shorter (assuming the same number of samples/data-points per-inch/cm).