On Fri, Oct 14, 2022 at 04:01:45PM -0400, Geoff Steckel wrote:
> > 
> > I did simple A/B tests with music from CDs and my ears couldn't hear
> > the aliasing noise. Try it.
> Good a/b >x< tests for audio require extreme care to get accurate results.
> Simple sine sweeps don't show IM distortion well.
> In most cases numerically equal amounts of IM distortion are far more easily
> noticed than harmonic distortions or simple noise (white, pink, etc.)

Sure, there is measurable aliasing. My questioning is: is it audible
in 99% of the cases?

Remains the question, how to handle the 1% remaining. For now,
resampling off-line is the least annoying, IMHO.

> > Sometimes you just don't want to think about it (ex., when you debug
> > audio stuff), so resampling off-line (or switching the device rate)
> > still makes sense in certain cases.
> This is the classic "why would you ever want to do that?"
> "Just as good" is an opinion.
> Other OSs can and do provide controls which allow setting the device
> sample rate to whatever the device can do.
> This user wants that to work.
> 
> This means compiling a kernel with AUDIO_DEBUG Real Soon Now
> and inserting a few more DPRINTFs.

AFAIK, sample rate changes in the kernel are OK, at least in uaudio
driver.

Now it's all in sndiod (or how to bypass sndiod to get bit-perfect
audio)

Reply via email to