-
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
-
光驱改成CD播放器,51作CPU,1602作显示,可以加入遥控器,非常好用的...
光驱改成CD播放器,51作CPU,1602作显示,可以加入遥控器,非常好用的-CD-ROM into a CD player, 51 for CPU, 1602 for the show, you can add remote control, very useful
- 2022-04-02 05:49:15下载
- 积分:1
-
PDF格式的protel的全部msp430外部部线实验板电路原理图。
PDF格式的protel的全部msp430外部部线实验板电路原理图。-PDF format of all protel Ministry of External Controller experiment plate circuit diagram.
- 2022-03-24 16:57:11下载
- 积分:1
-
C51bbs上的字模软件,试用版。做液晶显示必备软件。
C51bbs上的字模软件,试用版。做液晶显示必备软件。-C51bbs the Fonts software, beta version. Do LCD necessary software.
- 2023-01-16 23:10:04下载
- 积分:1
-
电子密码锁,基于51单片机,简单实用,适用于公司,家庭等。...
电子密码锁,基于51单片机,简单实用,适用于公司,家庭等。-Electronic locks, based on 51 microcontroller, simple and practical, applicable to the company, and family.
- 2022-06-12 23:19:41下载
- 积分:1
-
mega32 contral de voltage for background etc.,through TIMER0 and TIMER2 using PW...
avr32通过定时器0\2的PWM来调整t6963对比及背光电平。-mega32 contral de voltage for background etc.,through TIMER0 and TIMER2 using PWM
- 2022-01-26 01:44:59下载
- 积分:1
-
51系列单片机的软件串口模拟程序代码,可以实现串口扩展功能,经过项目验证可以直接放心使用,用c写成...
51系列单片机的软件串口模拟程序代码,可以实现串口扩展功能,经过项目验证可以直接放心使用,用c写成-51 series microcontroller simulation software serial code, can achieve serial expansion function, After certification projects can directly worry about, written with c
- 2023-08-28 22:20:03下载
- 积分:1
-
ST-LINKII-KEIL 驱动
拷贝到keilarmin目录下
keil 3.22a以上版本-ST-LINKII-KEIL-driven copy to keilarm in directory keil 3.22a above
- 2022-03-24 03:09:24下载
- 积分:1
-
C51汇编必做试验3
C51汇编必做试验3 -- 键盘扫描(C51最常见的应用哦)-ASM exam3-- Scan KeyBoard.
- 2022-08-20 12:51:23下载
- 积分:1
-
ATmega16 on at the AD of a simple conversion process
在ATmega16上的一个简单的AD转换程序-ATmega16 on at the AD of a simple conversion process
- 2023-03-21 23:15:04下载
- 积分:1