没有合适的资源?快使用搜索试试~ 我知道了~
快速傅立叶变换-->关于语音对比的第三方软件设计算法
3星 · 超过75%的资源 需积分: 9 26 下载量 177 浏览量
2010-08-12
09:15:20
上传
评论
收藏 79KB DOC 举报
温馨提示
试读
11页
关于语音对比的第三方软件设计算法 傅里叶变换能将满足一定条件的某个函数表示成三角函数(正弦和/或余弦函数)或者它们的积分的线性组合。在不同的研究领域,傅里叶变换具有多种不同的变体形式,如连续傅里叶变换和离散傅里叶变换。最初傅里叶分析是作为热过程的解析分析的工具被提出的。
资源推荐
资源详情
资源评论
// -*- C++ -*-
// automatically generated by autodoc
// ========== HEADER FILE src/fft/fft-default.h: ==========
// Default FFT implementations
inline void fft(double *fr, double *fi, ulong ldn, int is);
inline void fft(Complex *f, ulong ldn, int is);
// ========== HEADER FILE src/fft/fft.h: ==========
// (complex) FAST FOURIER TRANSFORM (FFT)
// typical format of arguments: (double *fr, double *fi, ulong ldn, int is)
// fr := pointer to data array (real part),
// fi := pointer to data array (imag part),
// ldn := base 2 log of array length
// is := sign of exponent in fourier kernel
// naming conventions:
// some_fft() := fft implementation with blabla-algorithm
// some_fft0() := fft for zero paddad data
// (i.e. second half of the input data is expected to be zero)
// ----- SRCFILE=src/fft/fhtfft.cc: -----
void fht_fft(double *fr, double *fi, ulong ldn, int is);
// FFT based on FHT
// ldn := base-2 logarithm of the array length
// is := sign of the transform (+1 or -1)
void fht_fft0(double *fr, double *fi, ulong ldn, int is);
// FFT based on FHT
// version for zero padded data:
// fr[k],fi[k] == 0 for k=n/2 ... n-1
// ldn := base-2 logarithm of the array length
// is := sign of the transform (+1 or -1)
void fht_fft_conversion(double *fr, double *fi, ulong ldn, int is); // aux
// preprocessing to use two length-n FHTs
// to compute a length-n complex FFT
// or
// postprocessing to use two length-n FHTs
// to compute a length-n complex FFT
// Self-inverse.
// is := sign of the transform (+1 or -1)
// ldn := base-2 logarithm of the array length
// ----- SRCFILE=src/fft/fhtcfft.cc: -----
void fht_fft(Complex *f, ulong ldn, int is);
// compute FFT using the Fast Hartley Transform
// ldn := base-2 logarithm of the array length
// is := sign of the transform (+1 or -1)
void fht_fft0(Complex *f, ulong ldn, int is);
// compute FFT using the Fast Hartley Transform
// ldn := base-2 logarithm of the array length
// is := sign of the transform (+1 or -1)
// version for zero padded data:
// f[k] == 0 for k=n/2 ... n-1
void fht_fft_conversion(Complex *f, ulong ldn, int is); // aux
// preprocessing to use one length-n complex FHT
// to compute a length-n complex FFT
// or
// postprocessing to use one length-n complex FHT
// to compute a length-n complex FFT
// Self-inverse.
// is := sign of the transform (+1 or -1)
// ldn := base-2 logarithm of the array length
// ----- SRCFILE=src/fft/fftdif2.cc: -----
void fft_depth_first_dif2(Complex *f, ulong ldn, int is);
// Decimation in frequency (DIF) radix-2 FFT
// Depth-first version
// Compared to usual fft this one
// - does more trig computations
// - is (far) better memory local
void fft_dif2(Complex *f, ulong ldn, int is);
// Decimation in frequency (DIT) radix-2 fft
// ----- SRCFILE=src/fft/fftdit2.cc: -----
void fft_depth_first_dit2(Complex *f, ulong ldn, int is);
// Decimation in time (DIT) radix-2 FFT
// Depth-first version
// Compared to usual fft this one
// - does more trig computations
// - is (far) better memory local
void fft_dit2(Complex *f, ulong ldn, int is);
// Decimation in time (DIT) radix-2 FFT
// ----- SRCFILE=src/fft/fftdif4l.cc: -----
void fft_dif4l(Complex *f, ulong ldn, int is);
// Decimation in frequency (DIF) radix-4 FFT
// Non-optimized learners version
// ----- SRCFILE=src/fft/fftdit4l.cc: -----
void fft_dit4l(Complex *f, ulong ldn, int is);
// Decimation in time (DIT) radix-4 FFT.
// Non-optimized learners version.
// ----- SRCFILE=src/fft/fftdif4.cc: -----
void fft_dif4_core_p1(double *fr, double *fi, ulong ldn); // aux
// Auxiliary routine for fft_dif4().
// Decimation in frequency (DIF) radix-4 FFT.
// Output data is in revbin_permuted order.
// ldn := base-2 logarithm of the array length.
// Fixed isign = +1
void fft_dif4(double *fr, double *fi, ulong ldn, int is);
// Decimation in frequency (DIF) radix-4 FFT
// ldn := base-2 logarithm of the array length
// is := sign of the transform (+1 or -1)
// ----- SRCFILE=src/fft/cfftdif4.cc: -----
void fft_dif4_core_p1(Complex *f, ulong ldn); // aux
// Auxiliary routine for fft_dif4().
// Radix-4 decimation in frequency (DIF) FFT.
// Output data is in revbin_permuted order.
// ldn := base-2 logarithm of the array length.
// Fixed isign = +1
void fft_dif4_core_m1(Complex *f, ulong ldn); // aux
// Auxiliary routine for fft_dif4().
// Radix-4 decimation in frequency (DIF) FFT.
// Output data is in revbin_permuted order.
// ldn := base-2 logarithm of the array length
// Fixed isign = -1
void fft_dif4(Complex *f, ulong ldn, int is);
剩余10页未读,继续阅读
资源评论
- gxulgc2013-02-27学习FFT的话可以参考,如果是语音对比的话,这个就是骗分的资料
- acejoy2012-09-04毫无用处,文档里面一堆杂乱的代码,纯粹骗分的。
sample_love
- 粉丝: 0
- 资源: 3
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功