-
由于输出的是方波,比较难听:
由于输出的是方波,比较难听:-)
只能说是非常难听:-)为什么呢?只因为输出的是方波,包含了大量的奇次谐波。
你可以用双龙的"虚拟仪器"分别产生正弦波、三角波和方波听一下,正弦波感
觉就比较纯正,而方波则要多难听有多难听!-As the output is a square wave, more bluntly :-) can only say that it is very nasty :-) Why? Simply because the output is square wave, including a large number of odd harmonics. You can use Shuanglong
- 2022-12-30 05:50:03下载
- 积分:1
-
16 RGB_LED pixel light discoloration function (AVR) code
16路RGB_LED象素灯变色函数(AVR)代码-16 RGB_LED pixel light discoloration function (AVR) code
- 2023-01-27 05:30:03下载
- 积分:1
-
KeilC51调试命令大全
KeilC51调试命令大全-KeilC51 commands Daquan
- 2022-01-26 04:37:47下载
- 积分:1
-
atmega8的关于LED的代码,我自己写的,晶振是11.0592M的。
atmega8的关于LED的代码,我自己写的,晶振是11.0592M的。-atmega8 on the LED code, I wrote it myself, crystal is the 11.0592M.
- 2023-08-16 19:15:03下载
- 积分: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
-
54 series dsp algorithm
54系列dsp算法程序-54 series dsp algorithm
- 2022-01-26 04:47:29下载
- 积分:1
-
jianpan
键盘控制页面显示。屏蔽一些键盘事件。F1.F2.F3控制不同显示模式。-jianpan
- 2022-02-03 16:53:58下载
- 积分:1
-
microsteeeper mega48的步进电机
基于mega48单片机的步进电机分割程序mega48
- 2022-05-31 15:45:15下载
- 积分:1
-
51 Series MCU uCOS
51系列单片机的uCOS-II原代码-51 Series MCU uCOS-II source code
- 2022-03-05 13:58:13下载
- 积分:1
-
Mc68hc908qy4 chip based on the ultrasonic emission barrier, when the detected ob...
基于mc68hc908qy4芯片实现超声波排障,当检测到障碍物时点亮发光二极管.-Mc68hc908qy4 chip based on the ultrasonic emission barrier, when the detected obstacle when the light emitting diodes.
- 2022-02-12 18:59:32下载
- 积分:1