Open jniemann66 opened 9 months ago
Hey Thanks for this. It seems as though the unusual input sampling rate (54321 Hz) results in ReSampler not choosing the correct arrangement / parameters for the individual conversion stages (ie the LPF filter params are not sufficient; resulting in the severe aliasing you are seeing there).
I will have a look at it when I get a chance. (Also, I need to build and release latest binaries for Windows.)
Have you tried it with the --singleStage option ? what happens ?
Thanks. Regards Judd
Have you tried it with the --singleStage option ? what happens ?
The situation is not changing for the better, Judd, but I believe you can fix it.
Well, with the traditional interpolation / decimation process, and with a conversion ratio of 14700:18107, it is necessary to stuff 14700 zeros for every input sample, apply LPF and then capture (decimate) every 18107th sample !
To do this properly, a really large FIR is required, and IIRC, I set a hard limit on how big the FIR filter can be (max 131071 taps), which is usually more than sufficient for "normal" sample rates. So, for more exotic samplerates like this, I will probably need to look at a different approach.
but 54321 is pretty weird though :-) Is there actually a device that can do that sample rate ? I'm curious. I'm aware that in the early days of the development of CDs, there was at one point a proposed sample rate of 44056 Hz. I have never come across an authentic 44056 Hz file, but if you ever find one, I'd be very interested to check it out.
And yes, I do believe ReSampler will struggle with 44056, too.
I'll see what I can do.
54321.flac.zip
Original
Expected more or less like
Fact
Originally posted by @sergeevabc in https://github.com/jniemann66/ReSampler/issues/34#issuecomment-1963090848