-
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
-
C51汇编必做试验6 串行口扩展(同步通信)。
C51汇编必做试验6 串行口扩展(同步通信)。-ASM exam6- communication with serial port.
- 2023-01-11 08:45:04下载
- 积分:1
-
单片机数字音乐盒课程设计,内含源代码,报告说明详细,绝对可用(music.asm)...
单片机数字音乐盒课程设计,内含源代码,报告说明详细,绝对可用(music.asm)-SCM digital music boxes curriculum design, containing the source code, the report describes in detail, absolutely available (music.asm)
- 2022-01-24 13:16:54下载
- 积分:1
-
Embedded C programming a microcontroller electronic books
嵌入式C编程技术一本单片机电子书-Embedded C programming a microcontroller electronic books
- 2022-03-03 05:12:41下载
- 积分:1
-
这是MICROCHIP 的PIC 系列单片机常用 的C语言编译器。特别对PIC16F877系列 特别好用。...
这是MICROCHIP 的PIC 系列单片机常用 的C语言编译器。特别对PIC16F877系列 特别好用。-It is C compiler for PIC of MICROCHIP,especially for PIC16F877,it is very good!
- 2023-07-02 23:05:03下载
- 积分:1
-
[原创]PIC单片机完成格雷(Golay)编码的源码.
[原创]PIC单片机完成格雷(Golay)编码的源码.-[original] PIC completed Gray (Golay) encoding the source.
- 2022-01-29 01:17:51下载
- 积分:1
-
12864的汉字驱动程序,里面包含了一个KEIL工程,可以直接编译...
12864的汉字驱动程序,里面包含了一个KEIL工程,可以直接编译-12864 driver of the Chinese characters, which includes a KEIL engineering, can be directly compiled
- 2022-01-22 00:04:28下载
- 积分:1
-
红外-RS232协议转换器电路图适合51系列单片机
红外-RS232协议转换器电路图适合51系列单片机-infrared-RS232 protocol converter circuit for 51 Series MCU
- 2022-04-21 15:59:27下载
- 积分:1
-
Data, there are 51 commonly used microcontroller simple procedure. Quite suitabl...
资料里有常用的51单片机简单程序。蛮适合初学者的。-Data, there are 51 commonly used microcontroller simple procedure. Quite suitable for beginners.
- 2022-01-26 00:15:24下载
- 积分:1
-
51 Series MCU realize the use of four types of waveforms, sine, square dial, lad...
利用51系列单片机实现四种波形,正弦波、方拨、阶梯波、三角波,采用开关电路实现四种波形转换、放大电路实现波形幅度可调。通过编程实现仿真。-51 Series MCU realize the use of four types of waveforms, sine, square dial, ladder wave, triangle wave, the use of switching circuits to achieve the four waveform conversion, amplifier circuit realize adjustable waveform amplitude. Through the realization of simulation programming.
- 2022-08-12 17:10:49下载
- 积分:1