-
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
-
PKE(被动无钥门禁系统,汽车车门控制)整个系统基站部分源代码。...
PKE(被动无钥门禁系统,汽车车门控制)整个系统基站部分源代码。-PKE (passive-keyless-entry system, car door control) part of the whole system base station source code.
- 2022-05-24 20:23:48下载
- 积分:1
-
功能:编程实现简化Xmodem协议,为实现标准的Xmodem协议做基础...
功能:编程实现简化Xmodem协议,为实现标准的Xmodem协议做基础-Function: XMODEM protocol to simplify programming for the realization of the standard XMODEM protocol as a foundation
- 2023-07-17 19:15:03下载
- 积分:1
-
51单片机模拟解码2272程序,此方法较硬件解码要方便而且灵活性要强,可靠性也得到加强。...
51单片机模拟解码2272程序,此方法较硬件解码要方便而且灵活性要强,可靠性也得到加强。-51 2272 microcontroller decoding process simulation, this method than hardware decoding to facilitate flexibility and stronger, Reliability has also been strengthened.
- 2022-04-15 03:04:43下载
- 积分:1
-
《单片机仿真入门实用教程》实例(包括源代码)
单片机仿真教程。...
《单片机仿真入门实用教程》实例(包括源代码)
单片机仿真教程。-"PROTEUS Practical Guide Getting Started" examples (including source code)
Proteus-based simulation of single-chip microcomputer.
- 2022-03-17 13:09:42下载
- 积分:1
-
About SCM something for beginners have some help
关于单片机的一些东西,对初学者有一定的帮助-About SCM something for beginners have some help
- 2022-03-05 19:51:04下载
- 积分:1
-
这是一个holtek单片机HT47R20_A读写at24c01的子程页,具有分页读写功能。...
这是一个holtek单片机HT47R20_A读写at24c01的子程页,具有分页读写功能。-This is a HOLTEK SCM HT47R20_A literacy at24c01 the son-page tabs with read and write capabilities.
- 2023-08-10 08:00:03下载
- 积分:1
-
89C52 direct control LCD1335, very simple to use!
89C52直接控制方式LCD1335,非常简洁使用!-89C52 direct control LCD1335, very simple to use!
- 2023-08-13 22:20:03下载
- 积分:1
-
该书详细的介绍了msp430下载线的制作,并且附带详细的程序
该书详细的介绍了msp430下载线的制作,并且附带详细的程序-The book detailed introduction of the MSP430 to download the production line, and attached to the detailed procedures
- 2023-06-25 02:15:04下载
- 积分:1
-
Keil 51下的倒计时, 秒表程序
Keil 51下的倒计时, 秒表程序-Keil 51 under the countdown, stopwatch procedures
- 2023-03-06 03:55:03下载
- 积分:1