-
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
-
AVR 系列单片机 C 语言开发指南。2003年出版,有必要请购买原版。...
AVR 系列单片机 C 语言开发指南。2003年出版,有必要请购买原版。-AVR MCU C language design guide.
- 2022-09-24 17:20:05下载
- 积分:1
-
DK3200 USB DEMO for KEIL C
DK3200 USB DEMO for KEIL C
- 2022-04-17 21:42:21下载
- 积分:1
-
Can communication module of PIC18F458 code
Pic18F458的Can通信模块代码 -Can communication module of PIC18F458 code
- 2023-04-21 06:35:03下载
- 积分:1
-
J240128ALCD显示器的资料和C驱动源码
J240128ALCD显示器的资料和C驱动源码-J240128ALCD display information source and C Drive
- 2022-05-26 17:01:23下载
- 积分:1
-
PIC单片机4*4键盘扫描C语言程序
PIC单片机4*4键盘扫描C语言程序-PIC single-chip 4* 4 keyboard scan C language program
- 2022-11-15 16:20:03下载
- 积分:1
-
一本不错的单片机入门教材,特别适合于初学者,讲述全面、易懂。...
一本不错的单片机入门教材,特别适合于初学者,讲述全面、易懂。-a good SCM entry materials, particularly suited to beginners about a comprehensive, understandable.
- 2022-02-26 17:16:07下载
- 积分:1
-
玩具故事公仔原代码,能够将故事,是小朋友的好伙伴,已经量产...
玩具故事公仔原代码,能够将故事,是小朋友的好伙伴,已经量产-Toy story doll original code, can be the story of a child a good partner, has been in volume production
- 2022-06-28 12:23:40下载
- 积分:1
-
Mega16 has prepared a drop top games, the procedure completely classical
一款有mega16编写的抛球颠峰游戏,程序完全经典-Mega16 has prepared a drop top games, the procedure completely classical
- 2022-01-22 17:17:47下载
- 积分:1
-
液晶显示模块1604测试源码。显示数字,使用汇编语言编写。
液晶显示模块1604测试源码。显示数字,使用汇编语言编写。-LCD Module 1604 test source. Figures show that is written in assembly language.
- 2022-04-21 21:06:40下载
- 积分:1