-
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
-
1520液晶的驱动源代码,c语言编写,可以很方便的嵌入到单片机或dsp以及arm中...
1520液晶的驱动源代码,c语言编写,可以很方便的嵌入到单片机或dsp以及arm中-1520 LCD driver source code, c language, it is convenient to the embedded microcontroller or dsp and arm were
- 2022-02-07 21:00:36下载
- 积分:1
-
用C语言实现51单片机的2402开机次数3位计数程序
用C语言实现51单片机的2402开机次数3位计数程序-51 using C language to achieve the 2402 single-chip boot program counts the number of three
- 2023-06-23 23:40:04下载
- 积分:1
-
基于MSP430F149单片机的PS/2键盘程序,可以读取普通PC键盘上的按键键值。希望读者已了解PS/2的引脚功能。...
基于MSP430F149单片机的PS/2键盘程序,可以读取普通PC键盘上的按键键值。希望读者已了解PS/2的引脚功能。-MSP430F149 MCU-based PS/2 keyboard procedures, which can be read by an ordinary PC keyboard keys on the keypad. I hope readers understand PS/2 pin functions.
- 2023-04-26 18:40:03下载
- 积分:1
-
这是点阵程序
个人认为先学点阵再学lcd比较好
p0 p2分别接16*16点阵的高八位和低八位(纵向取模)
p3口低四位接4...
这是点阵程序
个人认为先学点阵再学lcd比较好
p0 p2分别接16*16点阵的高八位和低八位(纵向取模)
p3口低四位接4-16线译码器(74ls154)译码器低电平为列选
消除鬼影的方法:-This is the program individual lattice lattice before you think lcd is better to learn p0 p2, respectively, then 16* 16 lattice of high and low 8 8 (vertical modulus) p3 I received a low four 4-16 Line Decoder browser (74ls154) low-level decoder for the elimination of ghosting out the election approaches:
- 2022-05-28 15:14:00下载
- 积分:1
-
ads1110 applications, hope that this procedure can be helpful to everyone
ads1110的应用程序,希望此程序能给大家带来帮助-ads1110 applications, hope that this procedure can be helpful to everyone
- 2023-03-02 15:25:04下载
- 积分:1
-
利用pt2262作为发射端的主控芯片,该代码实现了控制pt2262的部分...
利用pt2262作为发射端的主控芯片,该代码实现了控制pt2262的部分-pt2262 use as a launch-control of the chip, the realization of the control code pt2262 part. .
- 2022-04-25 18:13:06下载
- 积分:1
-
多个单片机互相通信中的主机部分示例,实现多个单片机之间的相互通信...
多个单片机互相通信中的主机部分示例,实现多个单片机之间的相互通信-MCU mutual communication part of the mainframe example, a number of SCM achieve mutual communication between the
- 2022-06-19 02:55:29下载
- 积分:1
-
ARMlpc2300技术笔记上册例程I2C操作ZLG7290
ARMlpc2300技术笔记上册例程I2C操作ZLG7290-Technical Notes on ARMlpc2300 List I2C routine operation ZLG7290
- 2022-03-18 09:52:41下载
- 积分:1
-
Development of 51 single
51单片机开发之 i2c中线的编程设计-Development of 51 single-chip i2c midline of Programming
- 2022-02-10 16:08:26下载
- 积分:1