How to resample audio without click noise?
Show older comments
I'm trying to resample audio by a curve.
The curve's X is time, and Y is cent.
I convert cent to frequency and then convert the frequency to resampling ratio.
Because the resampling process depends on the curve, I need to separate the signal into segments. One segment corresponds to one point in the curve.
After all of the segments have been resampled, I can put them together and make the desired output signal.
It works, but it has some clicking noise.
I found the reason is that the joints of the segments are not smooth.
So I write a simple "fade" function to fix the issue. I create a fade range of 8 samples. Every segment has 4 samples on its end that are affected by the next segment's head and has 4 samples on its head that are affected by the previous segment's end.
By that, the click noise becomes lighter but still exists. I've tried to change the range of 8 samples to another range, but the larger or, the smaller will make the noise louder.
So, I think I found the reason for this issue, but I have no more ideas of how to fix it.
Thank you very much!
1 Comment
Jonas
on 18 Jan 2023
please post some data and code. how exactly do you perform the 'resampling'.
Answers (0)
Categories
Find more on Multirate Signal Processing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!