I have developed an OpenCL based resampler for foobar2000 v 1.x |
I have developed an OpenCL based resampler for foobar2000 v 1.x |
Mar 14 2012, 04:02
Post
#1
|
|
|
Group: Members Posts: 10 Joined: 14-March 12 Member No.: 97789 |
This is based on the basic framework of SoX program. I removed the whole SoX algorithm and implemted mine.
My algorithm is very simple. I use the ideal interpolation function (sinc) to caculate the new sampling point and blackman window function to truncate the input sequence. My algorithm is not table based. Because table based method usually needs linear interpolation to get the coefficient that does not fall under the table index. So, my algorithm caculates the sinc function at each time required. The computing overhead can be amortised by the powerful GPU computing. So, I use CUDA to accelarating the conversion progress. The feature is shown below: Currently, this resampler only support 44->48 for it's just a test program about CUDA acceleration in foobar2000. The CPU usage is under 6% the THD distortion is under 0.0005% the IMD distortion is under 0.0041% The frequency response is almost a straight line with vibrating less than 0.01db. The transition band is about 4KHz. I am working on optimization and debug now. I am from china main land. So, my english expresion may not be good enough to express my point. If you have any questions, please email me. |
|
|
|
Sandrine Sounds great! As soon as more sample rates are... Mar 15 2012, 16:17
cxn4689 QUOTE (Sandrine @ Mar 15 2012, 23:17) Sou... Mar 24 2012, 16:18
mudlord CUDA...I thought there was delays when calculating... Mar 17 2012, 01:26
cxn4689 QUOTE (mudlord @ Mar 17 2012, 08:26) CUDA... Mar 24 2012, 16:13
cxn4689 First, how can I add a attachment for this topic? ... Mar 24 2012, 15:41
cxn4689 Modified the file name. The new download link is :... Mar 25 2012, 17:34
cxn4689 I have optimized the thread mapping of opencl for ... Mar 30 2012, 14:31
NiPP0 Great idea, tried it out... worked fine as long as... Apr 26 2012, 22:39
SoNic67 This would be a nice plug-in if would do 96kHz and... Apr 29 2012, 01:21
db1989 I have (finally, since I thought about it months a... May 28 2012, 19:31![]() ![]() |
|
Lo-Fi Version | Time is now: 20th May 2013 - 15:46 |