5.15-19 microphone sound signal acquisition

Similarly micro-channel, starts receiving a signal when the button is pressed, after receiving the call signal DLL file, to give a string, and further identified a command word, the command word can manipulate the operation of the robot model so generated.

Open buffer, receiving a signal from the amplification, increased dB, then generate *. WAV file.

Look at the example of the document example see labview \ examples \ Graphics and Sound \ Sound

Sound signal should be processed appropriately in order to achieve the best recognition results

Computer-generated alternative text: (Continuous Sound Input.vi)) Continuous Samples -EID 4511: LzsSR.Iv 01

 

Sampling mode

Sampling mode specified for each acquisition a sample VI ( finite sample ) or continuous sampling ( continuous sampling ). In a limited sampling mode, write the total number of samples per channel before the specified number of samples, called only reads audio input . In the continuous acquisition mode, can "read sound input" call times as needed.

Alternatively the computer generated text: (Simultaneous Sound Input Outpa (LzsSR.lvproj / -ajZhü) 17 pt Number of Samples / ch Continuous Samples 44100 É% ÆID LzsSR.Iv 01 4511:

 

Ideas: collecting sound and write files at the same time, the file is written is complete, upload and recognition at the same time.

Configure Microphone

Adjust the microphone position so do not breath directly into the microphone;

When the microphone input sound is very small, can windows set to enhance the sound, right-click the Sound icon - recording equipment - microphone - property - level - Microphone Boost,

设备ID是声音操作时使用的输入或输出设备。通常,绝大多数情况下都应选择默认值0。 可选值的范围为0到n–1,n是计算机上输入或输出设备的个数。

设备ID设为0的前提是:在“录音设备管理器”中将“麦克风”设备设为默认设备

labVIEW状态图大型程序编写

应该将数据流按功能分类,并且绑定成簇,按规则命名,应该尽量封装函数。

关于labVIEW编程,顺序结构+循环等待,程序运行失败

打开文件之后,添加循环等待函数,再进行循环写入文件函数,程序运行失败,显示为缓存错误,该错误可能与状态图中机器人模块的崩溃原因相似。

Computer-generated alternative text: 수 11 1 1

 

程序在别的电脑上不能正常运行

解决办法:须有VS,打开CreateDll 项目,重新生成一次即可,需要设置三项东西:

配置属性-常规-平台工具集-更改为VS2010V100-解决无法include 问题

Configuration Properties - generate event - post-build event - the command line -copy instruction target path reassign

Analysis: speculation compiler configured by dubug changed to release to


Guess you like

Origin www.cnblogs.com/lizhensheng/p/11241939.html