-
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
-
keilc51编译的51单片机读条码枪源程序
keilc51编译的51单片机读条码枪源程序-keilc51 compiled 51 microcontroller read barcode gun source
- 2022-07-02 11:00:35下载
- 积分:1
-
图形液晶TG12864B
图形液晶TG12864B-2驱动程序-Graphic LCD Driver TG12864B-2
- 2022-01-25 19:25:38下载
- 积分:1
-
用NXP公司P89LPC9401单片机开发液晶显示,包括开发资料,各功能驱动程序....
用NXP公司P89LPC9401单片机开发液晶显示,包括开发资料,各功能驱动程序.-NXP Single Chip P89LPC9401 company with the development of liquid crystal display, including the development of information, the function driver.
- 2022-03-03 01:04:53下载
- 积分:1
-
51单片机开发的N多实例及程序,程序包括汇编及C
51单片机开发的N多实例及程序,程序包括汇编及C-N the development of 51 single-chip multi-instance and procedures, including procedures for the compilation and C
- 2022-02-25 22:47:13下载
- 积分:1
-
对充电过程进行更精确的监控,以缩短充电时间、达到最大的电池容量,并防止电池损坏...
对充电过程进行更精确的监控,以缩短充电时间、达到最大的电池容量,并防止电池损坏-Charging process of a more precise control, so as to shorten the charging time to reach the largest battery capacity, and to prevent battery damage
- 2022-03-12 22:35:37下载
- 积分:1
-
cc2x30_sw_examples: apply to SmartRF05EB support for CC2430, CC2530 provide Li...
cc2x30_sw_examples:
适用于SmartRF05EB 支持CC2430、CC2530 提供Light_Switch及perTest例程。-cc2x30_sw_examples: apply to SmartRF05EB support for CC2430, CC2530 provide Light_Switch and perTest routine.
- 2023-07-05 01:05:03下载
- 积分:1
-
model of induction motor
model of induction motor
- 2023-05-16 05:55:02下载
- 积分:1
-
这是利用51单片机来实现对cd
这是利用51单片机来实现对cd-rom的控制并实现类似于mp3的功能!-This is the use of 51 single-chip microcomputer to realize on the cd-rom control and realize the function is similar to mp3!
- 2022-07-06 11:36:55下载
- 积分:1
-
s1d13716的源码 windiws ce 或8位单片机
s1d13716的源码 windiws ce 或8位单片机-s1d13716 the source windiws ce or 8-bit MCU
- 2022-12-15 20:55:03下载
- 积分:1