登录
首页 » SCM » void InitGoertzel(void) 作用:初始化算法参数 用法:采用算法进行检测前执行一次,如果需要改变参数,调用SetParameter(...

void InitGoertzel(void) 作用:初始化算法参数 用法:采用算法进行检测前执行一次,如果需要改变参数,调用SetParameter(...

于 2023-03-11 发布 文件大小:14.42 kB
0 167
下载积分: 2 下载次数: 1

代码说明:

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

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • AVR驱动18B20例子 AVR驱动18B20例子
    AVR驱动18B20例子 AVR驱动18B20例子-AVR-driven examples of AVR drive 18B20 example 18B20
    2023-02-27 16:25:04下载
    积分:1
  • FAT16文件系统原理,较详细的说明文件,很好的资料
    FAT16文件系统原理,较详细的说明文件,很好的资料-FAT16 file system principle, more detailed documentation, very good information
    2022-02-05 01:47:01下载
    积分:1
  • 本书为赖麒文编著的《8051单片机C语言设计的艺术》富有众多开发实例,讲解丰富...
    本书为赖麒文编著的《8051单片机C语言设计的艺术》富有众多开发实例,讲解丰富-The book is edited by Lai Qi Wen" s " 8051 C language design art" developed a number of examples of the rich to explain the rich
    2023-06-02 20:05:04下载
    积分:1
  • 51 microcontroller programming paradigm (timer/counter software programming para...
    51单片机编程范例(定时/计数器软件编程范例)-51 microcontroller programming paradigm (timer/counter software programming paradigm)
    2023-03-10 10:50:04下载
    积分:1
  • altera de1开发板 dma,pwm...实验源码
    altera de1开发板 dma,pwm...实验源码-altera de1 development board dma, pwm ... experimental source
    2022-03-23 17:17:15下载
    积分:1
  • msp430利用SPI接口与CC2500通讯,来实现与其他利用CC2500为无线收发器的单片机通讯
    msp430利用SPI接口与CC2500通讯,来实现与其他利用CC2500为无线收发器的单片机通讯-MSP430 and CC2500 using SPI interface communication, to achieve with other use of CC2500 transceiver for wireless communication microcontroller
    2022-07-08 05:02:13下载
    积分:1
  • 课程内容包括单片机编程语言的基本语法…
    课程的内容主要包括了单片机C语言编程的基本语法和思想,单片机内部资源的C编程,单片机常见外部扩展资源的C编程等。基于本课程的特点,结合高等院校要求,为了不断提高大学生的实验研究能力、分析编程能力、总结归纳能力和解决实际问题的能力,特意编写了本实验指导书,以指导如何利用现有的实验设备进行单片机内外资源的C编程以及简单系统的开发等。它不仅包括了一系列的验证性实验,而且还包括了综合性和设计性实验。实验的开设有利于培养学生分析问题和解决问题的能力,以及使抽象的概念和理论形象化、具体化,对增强学习的兴趣有极大的好处,做好本课程的实验,是学好本课程的重要教学辅助环节。-Course content includes a microcontroller C programming language s basic syntax and ideas, MCU internal resources of the C programming, microcontroller common external expansion of resources, such as C programming. Based on the characteristics of this course, combined with higher education requirements, in order to continuously improve the research capacity of university students of the experimental, analytical programming capabilities are summarized capacity and the ability to solve practical problems, specially prepared this experimental guide books, to guide how to use existing The experimental equipment of the C programming microcontroller internal and external resources and simple systems development. It
    2022-03-21 22:11:17下载
    积分:1
  • a PWM duty cycle output procedures EM78P458 applications through debugging
    这一个调节PWM占空比输出程序,EM78P458应用,已通过调试-a PWM duty cycle output procedures EM78P458 applications through debugging
    2022-04-27 09:20:38下载
    积分:1
  • 随着的SD/MCC卡ATMEL AVR开发程序
    用ATMEL AVR单片机开发的SD/MCC卡的程式-with ATMEL AVR development of the SD/MCC card programs
    2022-05-16 22:14:02下载
    积分:1
  • 日本IRON os 在汽车电子中的应用 高度机密
    日本IRON os 在汽车电子中的应用 高度机密-Japan IRON os in automotive electronics application highly confidential
    2022-02-20 06:35:30下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载