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: Resampling and encoding in one or two steps (Read 689 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Resampling and encoding in one or two steps

I use convert to resample a file (using the SoX plug-in under processing) and store it as a FLAC file in one step and in a second step, convert that FLAC file to a lossy file.

If I convert to a lossy file with resampling using the same settings in a single step, I notice the two files are different with bit-compare. I'm curious. Shouldn't these two files be exactly same?

Oh, I meant to post this under General.

Re: Resampling and encoding in one or two steps

Reply #1
no, they should be different.

Re: Resampling and encoding in one or two steps

Reply #2
What's different?

Re: Resampling and encoding in one or two steps

Reply #3
If you convert in 1 step, intermediate results have 32-bit float bit depth.

If you use FLAC then intermediate results have 24-bit (or even 16-bit, depending on your settings) bit depth.

Very small difference, but it's not 0.

Re: Resampling and encoding in one or two steps

Reply #4
I see. Thanks for the info.