-
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
-
温度传感器DS18B20的功能实现,mcu:msp430
温度传感器DS18B20的功能实现,mcu:msp430-Function of temperature sensor DS18B20 realize, mcu: msp430
- 2022-05-05 10:12:56下载
- 积分:1
-
16*16点阵源C程序,keil开发,可以显示32个字,从左到右滚动显示。...
16*16点阵源C程序,keil开发,可以显示32个字,从左到右滚动显示。-16*16
- 2022-09-06 14:25:03下载
- 积分:1
-
CCS最新版本的Microchip PIC单片机C语言开发工具。支持PI…
CCS 最新版microchip PIC单片机的C语言开发工具。支持pic12/16/18系列单片机的新型号,16F883和16F9xx。-CCS latest version of microchip PIC MCU C language development tools. Support pic12/16/18 Series Singlechip new models, 16F883 and 16F9xx.
- 2022-01-26 07:37:38下载
- 积分:1
-
which is the use of examples and how, very useful for beginners. Code passed
里面是的例子和怎么运用,对初学者很有用。代码全部通过-which is the use of examples and how, very useful for beginners. Code passed
- 2022-04-20 08:48:36下载
- 积分:1
-
MSP430 用串行数据传输方式在液晶上综合显示字符、文字和图形...
MSP430 用串行数据传输方式在液晶上综合显示字符、文字和图形-MSP430 serial data transmission on a comprehensive LCD display characters, text and graphics
- 2023-08-04 06:00:03下载
- 积分:1
-
用于串口通信的源代码
用c编程的程序
希望对大家有用
用于串口通信的源代码
用c编程的程序
希望对大家有用-for serial communication with the source code c programming procedures hope useful for all
- 2023-08-27 14:15:03下载
- 积分:1
-
转载!希望大家喜欢.主要是介绍用C编的C51的延时程序.
转载!希望大家喜欢.主要是介绍用C编的C51的延时程序.-reproduced! Hope you like them. Mainly introduces C51 C series of procedural delay.
- 2022-01-28 18:54:16下载
- 积分:1
-
1602LCM液晶显示屏的驱动函数和实例
1602LCM液晶显示屏的驱动函数和实例-1602LCM LCD driver functions and examples
- 2022-07-02 19:39:40下载
- 积分:1
-
Containing t6963c drive LCD with AT89C51 the original procedure
含t6963c驱动器LCD与AT89C51的原程序-Containing t6963c drive LCD with AT89C51 the original procedure
- 2023-06-03 06:55:04下载
- 积分:1