resample

所属分类:数学计算
开发工具:matlab
文件大小:3KB
下载次数:2
上传日期:2017-12-04 05:44:51
上 传 者sh-1993
说明:  使用sinc插值以任何新速率重新采样音频
(Resample audio at any new rate using sinc interpolation)

文件列表:
resampSinc_4_12_2017.m (7856, 2017-12-04)

# resample %~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ % Resampler using bandlimited interpolation (sinc interpolation) % Joey Hook - 4/12/2017 % % Generates a sinusoid of specified frequency, duration, and % sampling rate, then generates another at Q times freq and SR, % then resamples the 2nd sinusoid back to the 1st SR. % The 3 sinsoids are plotted, along with the Kaiser window and % sinc table used in the interpolation. % % Issues: % 1. Need ideal value for Kaiser parameter alpha to match % output amplitude to input amplitude % 2. Calculate Kaiser window from scratch for use outside % MATLAB and more efficiency % 3. Problems at end of block when input sample times exceed % existing samples. Will be addressed in real-time % implementation. % 4. indexL and indexR do not go outside block as they should % This will also be left to fix in implementation. %~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

近期下载者

相关文件


收藏者