首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > void InitGoertzel(void) 作用:初始化算法参数 用法:采用算法进行检测前执行一次,如果需要改变参数,调用SetParameter(...

void InitGoertzel(void) 作用:初始化算法参数 用法:采用算法进行检测前执行一次,如果需要改变参数,调用SetParameter(...

  • 资源大小:14.42 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签: SCM

资 源 简 介

void InitGoertzel(void) 作用:初始化算法参数 用法:采用算法进行检测前执行一次,如果需要改变参数,调用SetParameter() float CGoertzel::GetMagnitude(unsigned char * sampleData, int length) //算法主接口 作用:对采集下来的音频数据用算法处理,返回一个结果 参数:sampleData-音频数据缓冲地址指针; length-缓冲区尺寸(音频数据数量),字节数; 返回值:返回算法结果。 void SetParameter(DWORD set_SampleRate, DWORD set_TargetFreq, DWORD set_BlockSize) 作用:设置算法参数; 参数:set_SampleRate-音频数据抽样速率; set_TargetFreq-目标信号频率; set_BlockSize-算法数据块尺寸(采样点); 用法:调用本函数后,需要调用一次InitGoertzel(void)才会生效-void InitGoertzel (void) function: initialization algorithm parameters Usage: The algorithm performs a pre-test, if the need to change the parameters, calling SetParameter () float CGoertzel:: GetMagnitude (unsigned char* sampleData, int length)// Algorithm for the main interface role: to collect audio data from the treatment algorithm to return a result parameter: sampleData-audio data buffer address pointer length-buffer size (the number of audio data), number of bytes return value: the return of

文 件 列 表

单音频检测Goertzel算法类文件
Goertzel.cpp
Goertzel.h
Goertzel算法在音调检测中的应用.doc
Goertzel算法类说明文档.txt
VIP VIP
0.192072s