-
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
-
可以熟悉51单片机中断机制
大大方便学习51单片机
可以熟悉51单片机中断机制
大大方便学习51单片机-Be familiar with the 51 single-chip interrupt mechanism would greatly facilitate study of 51 single-chip microcomputer
- 2022-04-02 03:28:24下载
- 积分:1
-
嵌入式在Keil51
embeded in keil51
- 2022-01-31 21:59:50下载
- 积分:1
-
基于AVR单片机mega8的电表c源程序(第四部分,红外收、发过流判断及其他)...
基于AVR单片机mega8的电表c源程序(第四部分,红外收、发过流判断及其他)-Based on the AVR Microcontroller mega8 meter c source code (Part IV, infra-red close, hair over-current judgments and others)
- 2022-02-04 22:00:12下载
- 积分:1
-
MDK learning LCD_1620.rar, I wish you all to learn and progress! ! MDK learning...
MDK学习之LCD_1620.rar,祝大家学习进步!!MDK学习之LCD_1620.rar,祝大家学习进步-MDK learning LCD_1620.rar, I wish you all to learn and progress! ! MDK learning LCD_1620.rar, I wish you all a learning progress
- 2022-07-13 22:55:26下载
- 积分:1
-
MSP430 F149 microcontroller TimerA drivers, to facilitate the operation of the c...
MSP430 F149的单片机 TimerA驱动程序,便于相应计时器的操作-MSP430 F149 microcontroller TimerA drivers, to facilitate the operation of the corresponding timer
- 2022-05-19 08:47:27下载
- 积分:1
-
LED Colorful Gradient procedures, power cycle, welcome to download
LED七彩渐变程序,上电循环,欢迎下载-LED Colorful Gradient procedures, power cycle, welcome to download
- 2022-08-31 22:40:03下载
- 积分:1
-
FM256 compilation I2C read and write full
汇编 I2C读写FM256程序段 功能完整 可直接调用-FM256 compilation I2C read and write full-featured program segment can be directly called
- 2023-05-01 21:00:02下载
- 积分:1
-
调整手机背景,色彩,调通手机界面或者制作3D动感界面
调整手机背景,色彩,调通手机界面或者制作3D动感界面-Phone adjust background color, tune Qualcomm mobile phone interface or the production of 3D dynamic interface
- 2022-06-14 17:22:50下载
- 积分:1
-
LCDs [C
【液晶显示器的C语言程序设计 Freescale 8位微控制器】一书的光盘,对LCD驱动编写很有帮助-LCDs [C-Language Programming Freescale 8-bit microcontroller] 1 book CD-ROM, LCD driver for the preparation of useful
- 2022-01-25 23:15:15下载
- 积分:1