[SDL] Just can't get it done: resample sound
mbardiaux at peaktime.be
Mon Apr 5 02:37:49 PDT 2004
Jay Cornwall wrote:
> Johannes Bauer wrote:
>> The improvement: the channels are okay, the sample speed is just as
>> expected. Yet, there's a huge amount of noise coming with the sample
>> (not so much that you couldn't hear the original sample any more, but
>> yet too much to use for gameplay).
> You might be interested to read this discussion I had on comp.dsp recently:
> And the associated resampling code I wrote to interface with the ibrary:
> The quality is far better than I could achieve with linear interpolation
> or zero order hold.
I dont think it is possible to achieve resampling at acceptable quality
without some form of filtering. See how it is done in SOX and RATECONV.
Peaktime Belgium S.A. Bd. du Souverain, 191 B-1160 Bruxelles
Tel : +32 2 790.29.41
More information about the SDL