-
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
-
proteus debug for real best
proteus debug for real best
- 2022-03-11 07:24:31下载
- 积分:1
-
这是一个芯片资料,可以为单片机初学者提供一个认识芯片的文档.对学习单片机的同学有帮助...
这是一个芯片资料,可以为单片机初学者提供一个认识芯片的文档.对学习单片机的同学有帮助-This is a chip data, we can provide an understanding of single-chip chip beginners document. MCU learning students have to help
- 2022-03-20 18:58:25下载
- 积分:1
-
8051f02x 单片机的实用排序子程序。
8051f02x 单片机的实用排序子程序。-Singlechip 8051f02x practical sort subroutine.
- 2022-12-18 01:00:04下载
- 积分:1
-
Sunplus SPCE061A companies to streamline development board attached to Layman
凌阳公司SPCE061A精简开发板附带光盘简易教程,总共分为八章。-Sunplus SPCE061A companies to streamline development board attached to Layman
- 2022-04-11 05:27:54下载
- 积分:1
-
ST7565串口液晶驱动+ proteus仿真的多
ST7565 串行液晶驱动 + 多层液晶菜单 + Proteus仿真 ST7565 串行液晶驱动,用 晓奇工作室 Lcmzimo.exe提取字库,实现多层菜单,配有Proteus仿真。老是提示上传错误等会再传程序吧 -ST7565 Serial LCD driver++ Proteus simulation of multi-layer LCD menu serial ST7565 LCD driver, extract the font to use Xiaoqi studio Lcmzimo.exe to achieve multi-layer menu with a Proteus simulation. Always will be prompted to upload the error re-transmission of programs such as bar
- 2023-06-19 17:05:04下载
- 积分:1
-
这是一个用pic开发的A/D转换程序。程序较简单,当很有用。
这是一个用pic开发的A/D转换程序。程序较简单,当很有用。-This is a pic with the development of the A/D converter. Procedure is relatively simple, when it is used.
- 2023-05-31 11:20:03下载
- 积分:1
-
这是 12864LCD的技术文档 大家可以参考一下
这是 12864LCD的技术文档 大家可以参考一下-This is the technical documentation 12864LCD we can refer to
- 2022-01-25 17:47:06下载
- 积分:1
-
提出了一个由AT89C52单片机控制步进电机的实例。可以通过键盘输入相关数据, 并
根据需要, 实时对步进电机工作方式进行设置, 具有实时性和交互性的特点。
提出了一个由AT89C52单片机控制步进电机的实例。可以通过键盘输入相关数据, 并
根据需要, 实时对步进电机工作方式进行设置, 具有实时性和交互性的特点。该系统可应用于
步进电机控制的大多数场合。实践表明, 系统性能优于传统的步进电机控制器。-Put forward a AT89C52 single-chip stepper motor control example. Through the keyboard input data, and in accordance with the needs of real-time work on the stepper motor set up, with real-time and interactive features. The system can be applied to stepper motor control of the majority of occasions. Practice shows that system performance is superior to traditional stepper motor controller.
- 2023-09-01 01:10:04下载
- 积分:1
-
2812原理图,对初学者有很大的帮助,尤其刚开始玩2812对硬件不熟的朋友...
2812原理图,对初学者有很大的帮助,尤其刚开始玩2812对硬件不熟的朋友-2812 schematic diagram of great help for beginners, in particular, began playing a friend unfamiliar with 2812 pairs of hardware
- 2022-04-25 07:35:13下载
- 积分:1