| Re: [AD] new resampling |
[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]
On 04/20/2012 09:35 PM, Peter Wang wrote:
Here's another test. In ex_synth.cpp reduce the stream frequency to
8000 or 11025:
#define STREAM_FREQUENCY (8000)
then compile and turn on the sine wave generator.
With the old resampling algorithm, there is a periodic crackle (bug)
but otherwise a clean tone. With the new algorithm, there is the tone,
the crackle, and a very obvious high pitched, "metallic" noise component.
Peter
I could reproduce this, and I think I fixed it in revision 15555. I also observe the waveform in ex_resample_test to be much smoother.
-SL
| Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |