-
void InitGoertzel(void)
作用:初始化算法参数
用法:采用算法进行检测前执行一次,如果需要改变参数,调用SetParameter(...
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
- 2023-03-11 13:30:04下载
- 积分:1
-
这是我最近写的一些单片机的简单的模块, 用在韦福仿真机中,里面的模块注释清晰,便于阅读。...
这是我最近写的一些单片机的简单的模块, 用在韦福仿真机中,里面的模块注释清晰,便于阅读。-which I have recently written some of the simple microcontroller module, the use Weifu simulator, inside the module Notes clear and easy to read.
- 2022-03-22 11:12:11下载
- 积分:1
-
单相电机变频驱动原码,采用DISPIC30芯片
单相电机变频驱动原码,采用DISPIC30芯片-Single-phase motor inverter drive the original code, the use of chip DISPIC30
- 2023-03-28 21:05:04下载
- 积分:1
-
Avr Architecture description of instruction execution procedures.
Avr Architecture description of instruction execution procedures.
- 2022-04-08 04:52:42下载
- 积分:1
-
meeting procedures SCM 89S51 series temperature sensors some of the procedures.
次程序为单片机89S51系列温度传感器部分程序.-meeting procedures SCM 89S51 series temperature sensors some of the procedures.
- 2022-08-07 19:57:18下载
- 积分:1
-
MAXIM公司a_WIRE温度传感器DS18b20的c51源代码
MAXIM公司a_WIRE温度传感器DS18b20的c51源代码-MAXIM company a_WIRE temperature sensor DS18b20 the decoder source code
- 2022-03-31 10:30:55下载
- 积分:1
-
非常好的介绍MCS
非常好的介绍MCS-51单片机以及汇编指令编程的文挡!可以打好扎实的基础。-Very good description as well as the MCS-51 microcontroller programming text block assembly instructions! You can lay a solid foundation.
- 2022-10-14 20:40:05下载
- 积分:1
-
AM12864系列测试程序,谢谢大家。这个测试程序希望能给大家带来帮助...
AM12864系列测试程序,谢谢大家。这个测试程序希望能给大家带来帮助-AM12864 series of testing procedures, thank you all. The test procedure in hopes of giving us some help
- 2022-01-31 03:23:43下载
- 积分:1
-
各种单片机反汇编工具包,现在用的人少了,但还是有用的东西,想用的就下吧...
各种单片机反汇编工具包,现在用的人少了,但还是有用的东西,想用的就下吧-compilation of various anti-SCM tool kit, now with fewer people, it is still useful things and to use it in the next
- 2022-10-04 22:45:02下载
- 积分:1
-
flash程度源代码,该程度经过反复测试,没有问题
flash程度源代码,该程度经过反复测试,没有问题-the degree of flash source code, the extent of repeated testing, there is no problem
- 2022-10-28 09:35:03下载
- 积分:1