[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
On 04/21/2012 06:08 AM, Elias Pschernig wrote:
> Oh, good catch, didn't think of that. But then it should only have
> happened with linear resampling. I also don't understand why it's not
> reproducible here. Oh well, if this really fixes it I'll just conclude
> that my ears or headphones are rather bad. Or that pulseaudio does some
> unasked for post-processing, wouldn't surprise me the least.
Yes, with point resampling the metallic noise is still there. It was
there even before these patches, however, so it's just an illustration
of how bad point resampling is.
As for why you couldn't hear it... here's two spectra of the ex_synth
output (peak on the left is the frequency of the sine wave - 660 Hz, and
all other peaks are junk introduced by resampling).
http://img403.imageshack.us/img403/1895/resamplingspectra.png
I suppose there are quite a few peaks in the very high frequency ranges,
so they can easily start approaching hardware limitations.
-SL