-
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
-
C8051F系列单片机SPI端口驱动程序,简洁,高效。
C8051F系列单片机SPI端口驱动程序,简洁,高效。-C8051F MCU SPI port drivers, simple and efficient.
- 2022-02-03 02:37:26下载
- 积分:1
-
应用于ARM单片机的LCD1602的驱动代码
应用于ARM单片机的LCD1602的驱动代码-Applies to ARM MCU LCD1602 driver code
- 2023-08-13 09:40:03下载
- 积分:1
-
8051f02x系列单片机的定时器的应用例程
8051f02x系列单片机的定时器的应用例程-8051f02x Series MCU application timer routines
- 2022-02-05 13:33:49下载
- 积分:1
-
详细介绍了以太网收发器RTL8019芯片,中文文档,免除了读英文文档的痛苦和低效...
详细介绍了以太网收发器RTL8019芯片,中文文档,免除了读英文文档的痛苦和低效-Described in detail RTL8019 Ethernet transceiver chip, Chinese documents, eliminating the pain of reading the document in English and inefficient
- 2022-06-14 21:30:49下载
- 积分:1
-
开发工具vs2005 语言为vc 主要功能为通过usb实现对ezusbfx2的控制,输入输出控制值得一学。...
开发工具vs2005 语言为vc 主要功能为通过usb实现对ezusbfx2的控制,输入输出控制值得一学。-Vc language development tools, vs2005 main function is to achieve ezusbfx2 through usb control, input and output control is worth a study.
- 2022-07-19 03:28:46下载
- 积分:1
-
s3c44b0x ch375 and U disk read and write procedures
s3c44b0x和ch375读写U盘程序-s3c44b0x ch375 and U disk read and write procedures
- 2022-01-26 04:09:23下载
- 积分:1
-
单片机C语言开发源代码,课件也有在里面!
单片机C语言开发源代码,课件也有在里面!-it is very good!
- 2022-03-25 05:24:57下载
- 积分:1
-
msp430f2274的异步串口通信与lcd1602显示
msp430f2274的异步串口通信与lcd1602显示-msp430f2274 asynchronous serial communications and display lcd1602
- 2023-03-05 01:50:04下载
- 积分:1
-
16位3通道AD7707基本源码,已经调试通过,可三路轮询采集数据...
16位3通道AD7707基本源码,已经调试通过,可三路轮询采集数据-16 3-channel AD7707 basic source code, debugging has been passed, can be three-way polling data collection
- 2022-08-13 09:53:39下载
- 积分:1