-
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
-
单片机波特率程序
单片机波特率程序--Wave bit frequency program in SCM.
- 2022-02-27 02:26:20下载
- 积分:1
-
该程序为基于51单片机的步进电机控制程序,经调试可行
该程序为基于51单片机的步进电机控制程序,经调试可行-51 microcontroller-based stepper motor control procedures, testing feasible
- 2022-05-22 13:21:26下载
- 积分:1
-
DS18B20营勇德文建
DS18B20 ying yong de wen jian
ben wen wei asm format please
use keil to open it -DS18B20 ying yong jian de wen wen wei ben asm c51 format please use it to open
- 2022-07-23 23:09:00下载
- 积分:1
-
在MAGE128下使用240*128液晶实例
在MAGE128下使用240*128液晶实例-MAGE128 use in 240* 128 LCD example
- 2023-08-11 03:50:03下载
- 积分:1
-
North Korea as the "single
尽量朝“单片”方向设计硬件系统。系统器件越多,器件之间相互干扰也越强,功耗也增大,也不可避免地降低了系统的稳定性。随着单片机片内集成的功能越来越强,真正的片上系统SoC已经可以实现,如ST公司新近推出的μPSD32××系列产品在一块芯片上集成了80C32核、大容量FLASH存储器、SRAM、A/D、I/O、两个串口、看门狗、上电复位电路等等。 -North Korea as the "single-chip" design direction of the hardware system. System devices more mutual interference between devices are more strong, power consumption is increased, it will inevitably reduce system stability. With MCU with on-chip integration of more powerful, the real system-on-chip SoC can achieve, such as ST"s new PSD32 x x in a series chip integrates exertion nuclear, large-capacity flash memory, SRAM, A/D, I/O, 2 serial port, watchdog, the power-on reset circuit and so on.
- 2022-06-27 18:40:57下载
- 积分:1
-
CAN总线调试通过的程序,SJA1000芯片的Peli CAN模式下的C51源程序...
CAN总线调试通过的程序,SJA1000芯片的Peli CAN模式下的C51源程序-CAN bus debug the procedure adopted, SJA1000 chip Peli CAN mode source of C51
- 2022-03-19 00:48:48下载
- 积分:1
-
由AT98C51单片机硬件电路,用C51编写的红外线解码程序.
由AT98C51单片机硬件电路,用C51编写的红外线解码程序.
-AT98C51 single-chip hardware circuit by using C51 decoding procedures for the preparation of infra-red.
- 2022-10-07 07:15:03下载
- 积分:1
-
This book, for many the use of Microchip microcontrollers engineer, provided me...
本书,为众多使用Microchip单片机工程师,提供我详细IC型号选择.-This book, for many the use of Microchip microcontrollers engineer, provided me with detailed IC model selection.
- 2023-01-25 13:20:04下载
- 积分:1
-
该算法为带低通滤波的PID控制仿真源代码
用MATlab开发,能够管直接运行...
该算法为带低通滤波的PID控制仿真源代码
用MATlab开发,能够管直接运行-The algorithm for the low-pass filtering with the PID control simulation using Matlab source code development, to pipe directly to run
- 2023-05-19 20:25:03下载
- 积分:1