-
求任意个数的平均值,输入数字就可以求得结果,是本人学习汇编的习作,请多指教。...
求任意个数的平均值,输入数字就可以求得结果,是本人学习汇编的习作,请多指教。-seeking arbitrary number, the average import figures can be obtained result is a compilation of my learning exercises, please enlighten.
- 2022-01-24 17:06:42下载
- 积分:1
-
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
-
51单片机的高速串口驱动ucos ii的移植
51单片机的高速串口驱动ucos ii的移植-51 Single-chip high-speed serial drive ucos ii transplant
- 2022-03-24 14:40:27下载
- 积分:1
-
Single
单片机键盘阵列扫描源程序解析,让你更好的理解按键扫描的原理-Single-chip arrays to scan the source code to resolve the keyboard, allows you to better understand the key principle of scanning
- 2022-03-10 21:11:11下载
- 积分:1
-
MSP430 I2C interface module with EEPROM assembler
MSP430 I2C模块与EEPROM的接口汇编程序-MSP430 I2C interface module with EEPROM assembler
- 2022-03-12 09:02:21下载
- 积分:1
-
Based on Ultrasonic Range Finder (including schematics, source code and related...
基于超声波的测距仪(包括原理图,程序源码与相关调试说明,以及一些参考资料,总之,开发超声波测距仪的一整套资料)-Based on Ultrasonic Range Finder (including schematics, source code and related procedures for debugging instructions, and some reference materials, in short, develop a set of ultrasonic range finder data)
- 2022-02-06 12:27:19下载
- 积分:1
-
SPWM输出SVPWM输出相移PWM输出
SPWM输出,SVPWM输出,移相PWM输出-SPWM output SVPWM output phase shift PWM output
- 2022-02-21 07:39:40下载
- 积分:1
-
基于PIC16C54单片机的智能软件狗设计
基于PIC16C54单片机的智能软件狗设计
-PIC16C54 microcontroller based Intelligent design software dog
- 2022-02-06 23:51:59下载
- 积分:1
-
Keil C51对8254进行操作的源程序
Keil C51对8254进行操作的源程序-Keil C51 8254 to operate a source
- 2022-02-01 19:57:55下载
- 积分:1
-
MSP430与TMP100 I2C温度传感器的接口汇编程序,在ti公司代码的基础上改进,可以直接使用。...
MSP430与TMP100 I2C温度传感器的接口汇编程序,在ti公司代码的基础上改进,可以直接使用。-MSP430 and TMP100 I2C Temperature Sensor Interface compilation process, in ti company based on the improved code can be used directly.
- 2023-06-18 05:30:04下载
- 积分:1