-
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
-
Singlechip 240128LCD tested C51 display program
测试过的240128LCD单片机c51显示程序-Singlechip 240128LCD tested C51 display program
- 2022-02-11 19:40:25下载
- 积分:1
-
MSC1210 chips AD and COM test procedures
MSC1210芯片AD和COM测试程序-MSC1210 chips AD and COM test procedures
- 2022-07-04 13:12:33下载
- 积分:1
-
- 2022-04-22 13:32:41下载
- 积分:1
-
门禁系统读卡器源码 有助于了解其工作原理 帮助开发单片机
门禁系统读卡器源码 有助于了解其工作原理 帮助开发单片机-Access Control System source code will help readers understand the principles of its work to help develop single-chip microcomputer
- 2022-03-12 00:16:46下载
- 积分:1
-
pcf8563 a real
pcf8563是一种实时的日历时钟芯片,它解决了计时的千年问题。-pcf8563 a real-time clock chip calendar, it has resolved a time of the Millennium problems.
- 2022-01-26 00:23:31下载
- 积分:1
-
单片机开发的一些典型代码,用C开发的,与大家分享
单片机开发的一些典型代码,用C开发的,与大家分享-MCU development of the typical code, the development of the C share with you
- 2022-10-09 23:35:03下载
- 积分:1
-
EEPROM仿真有原理图,源代码,如详细的描述…
EEPROM仿真器有原理图,源代码等详细说明,是硬件调试的好帮手
- 2023-01-03 04:15:07下载
- 积分:1
-
Ontology Design Patterns (ODPs) are well known and efficient modeling solutions...
Ontology Design Patterns (ODPs) are well known and efficient modeling solutions for ontologies. This public catalog offers a collection of well documented and tested ODPs, including examples from the biological knowledge domain, implemented in OWL.
- 2022-03-18 13:53:11下载
- 积分:1
-
ACEXT1K30 the schematic and PCB layout mature, can be submitted directly to the...
ACEXT1K30最小系统的原理图和成熟PCB版图,可以直接拿到PCB制作厂商制作。同时也提供了与你自己定义的系统的接口,方便你将ACEXT1K30直接嵌入到你的系统中,而不需要再做其他的工作了-ACEXT1K30 the schematic and PCB layout mature, can be submitted directly to the production of PCB manufacturers produced. Also provided with your own definition of the interface, you will facilitate ACEXT1K30 directly embedded into your system without the need to do the work of the other
- 2022-08-17 13:17:22下载
- 积分:1