-
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
-
NOKIA5110LCD84* 48 dot matrix LCD drivers, MCU for the AVR M16/M32, SPI
NOKIA5110LCD84*48点阵液晶驱动,MCU为AVR M16/M32,SPI驱动方式-NOKIA5110LCD84* 48 dot matrix LCD drivers, MCU for the AVR M16/M32, SPI-driven approach
- 2023-04-23 17:15:03下载
- 积分:1
-
基于林收发器通信的中试运行调试通过…
基于LIN的收发通信 适合试验试验 调试运行通过放心下载-Based on the LIN transceiver communications for the pilot test run debug through assured Download
- 2022-08-07 07:28:44下载
- 积分:1
-
Mc9s12dg128b based on the way to interrupt the completion of A/D conversion of t...
基于Mc9s12dg128b中断方式完成A/D转换的c源
- 2023-04-11 08:05:04下载
- 积分:1
-
一个直流电机的闭环控制源代码程序,使用AVR单片机做控制,...
一个直流电机的闭环控制源代码程序,使用AVR单片机做控制,-A closed-loop DC motor control source code, the use of AVR single-chip microcomputer controlling,
- 2023-05-03 17:25:03下载
- 积分:1
-
Proteus的数码管仿真电路,希望对大家有点用,入门级的。
Proteus的数码管仿真电路,希望对大家有点用,入门级的。-Proteus simulation of the digital control circuit, in the hope that we are a bit used, entry-level.
- 2022-01-27 22:02:04下载
- 积分:1
-
Based on the ARM in LPC2131 chip, prepared by the SPI, source code!
基于ARM中LPC2131芯片,编写的关于SPI的源程序!-Based on the ARM in LPC2131 chip, prepared by the SPI, source code!
- 2022-10-18 09:30:03下载
- 积分:1
-
我用单片机8952和电压比较器339做了一个简单的电容容量测量表,参数大
致如下:
电容测量范围为1pF...
我用单片机8952和电压比较器339做了一个简单的电容容量测量表,参数大
致如下:
电容测量范围为1pF-9999.99uF,最小分辨力为1pF。分为5个量程,可以自
动切换量程,也可手动切换。
另外,有简单的频率计功能,能测量0-60MHz的数字信号频率(TTL电平);
还可以产生几个单点频率的方波信号(比如1KHz)。
采用1602LCD作为显示器;4个按键控制;使用24C01保存当前设置值,不用
每次开机重新设置。可单5V供电,也可9V交流供电
-I used the single-chip 8952 and the voltage comparator 339 to do a simple capacitance measurement table, parameters are as follows: capacitance measurement range 1pF-9999.99uF, the minimum resolution for the 1pF. Divided into five ranges, you can automatically switch range can also be manually switched. In addition, a simple frequency meter function, capable of measuring 0-60MHz frequency digital signal (TTL level) can also lead to several single-point-frequency square-wave signal (for example, 1KHz). 1602LCD used as a monitor 4 button control use 24C01 to preserve the current settings, do not reset each boot. Can be a single 5V power supply, 9V AC power supply can also be
- 2023-08-10 15:10:03下载
- 积分:1
-
DIY多功能转换器(已调试通过)。
本原理图可以实现USB/RS232、USB/RS422、USB/RS485接口转换功能。只需安装USB驱动程序即可实现U...
DIY多功能转换器(已调试通过)。
本原理图可以实现USB/RS232、USB/RS422、USB/RS485接口转换功能。只需安装USB驱动程序即可实现USB转串口的功能,简单方便。另外只需对电路图稍作改动即可实现RS232/RS422或RS232/RS485转换功能。
心动了吗?不如赶快行动,拥有属于自己的五合一的接口转换器吧!-DIY Multi-function Converter (has debug through). The schematic diagram can be achieved USB/RS232, USB/RS422, USB/RS485 interface conversion. Simply install the USB driver can achieve the function of USB to serial, easy and convenient. Also just to make a minor amendment to the circuit can be realized RS232/RS422 or RS232/RS485 conversion. Echocardiography it? Action as soon as possible, with their own-one interface converter吧!
- 2022-02-04 11:25:07下载
- 积分:1
-
用AT89C51实验板的两位数码管显示00~99依次循环的汇编语言程序
用AT89C51实验板的两位数码管显示00~99依次循环的汇编语言程序-AT89C51 board with two digital tube display 00 to 99 followed by the cycle of assembly language program
- 2022-03-26 10:35:15下载
- 积分:1