-
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
-
Touch Panel ocmj15X20 procedures
ocmj15X20触摸屏程序,欢迎大家下载-Touch Panel ocmj15X20 procedures
- 2022-07-28 00:16:03下载
- 积分:1
-
AVR电压表。如何做个平台AVR电压表
Woltomierz dla AVR. Przyklad jak stworzyc woltomierz na platformie AVR
- 2022-01-23 10:31:48下载
- 积分:1
-
51单片机指导,很容易理解,很容易从其他学习中学习!最…
51单片机教程,简单易懂,是很容易学的教程!最适合初学者的入门啦!-51 SCM Guide, easily understood, is very easy to learn from the other! The most suitable for beginners entry!
- 2022-11-11 13:15:04下载
- 积分:1
-
对显示器LCD的读写和I2C的控制程序,供大家享用
对显示器LCD的读写和I2C的控制程序,供大家享用-Reading and writing on the LCD display and I2C control procedures for everyone to enjoy
- 2022-08-09 11:24:42下载
- 积分:1
-
这是一个用单片机来产生三角波的一个程序。
这是一个用单片机来产生三角波的一个程序。-This is a single-chip microcomputer used to generate a triangular wave of a program.
- 2023-07-10 06:05:03下载
- 积分:1
-
Robot vehicle control, MCU, photoelectric sensor
机器人小车控制,MCU,光电传感器 -Robot vehicle control, MCU, photoelectric sensor
- 2022-02-01 03:18:22下载
- 积分:1
-
CM12864驱动程序 ARM控制LCD显示数字还有屏幕保护功能,此程序最大的特点就是CM12864的驱动,非常有用。...
CM12864驱动程序 ARM控制LCD显示数字还有屏幕保护功能,此程序最大的特点就是CM12864的驱动,非常有用。-CM12864 driver ARM control LCD screen display digital still function, this procedure is characterized by the largest CM12864 driver, very useful.
- 2022-03-21 21:23:41下载
- 积分:1
-
Based on the single
基于凌阳的 单片机技术的语音控制小车设计 有详细的c源程序和硬件电路 以及最终报告-Based on the single-chip Sunplus Technology voice control car design detail c source code and hardware circuits as well as the final report
- 2022-05-05 20:22:18下载
- 积分:1
-
16*16的LED点阵显示屏资料,资料中还含有proteus仿真的原理图,可以直接打开仿真成功!...
16*16的LED点阵显示屏资料,资料中还含有proteus仿真的原理图,可以直接打开仿真成功!-16* 16 LED dot matrix display data, the data also contains simulation Proteus schematic, simulation can be directly opened successfully!
- 2023-05-31 08:05:04下载
- 积分:1