为了正常的体验网站,请在浏览器设置里面开启Javascript功能!

labview 声卡录制 声音采集器

2018-03-01 16页 doc 215KB 51阅读

用户头像

is_633808

暂无简介

举报
labview 声卡录制 声音采集器labview 声卡录制 声音采集器 研 究 生 试 题 2013/2014 学年第 1 学期 课程名称: 虚拟与智能仪器技术 教 师 签 章: 年 月 日 教研室主任审查意见: 签 章: 年 月 日 1.试题原稿请于考试前2周送研究生部。 2.编号栏由研究生部填写。 with the supervising engineer in the construction process, strictly in accordance with the owner and engineer for constructi...
labview 声卡录制 声音采集器
labview 声卡录制 声音采集器 研 究 生 试 2013/2014 学年第 1 学期 课程名称: 虚拟与智能仪器技术 教 师 签 章: 年 月 日 教研室主任审查意见: 签 章: 年 月 日 1.试题原稿请于考试前2周送研究生部。 2.编号栏由研究生部填写。 with the supervising engineer in the construction process, strictly in accordance with the owner and engineer for construction approval of construction organization design and quality control. In the team of "self-inspection, mutual inspection, handover inspection" and mass spot check on the basis of the technology sector, initiative to accept supervision engineers, tianjing quality supervision and quality supervision station of Beijing railway administration supervision and inspection, with the supervising engineer for good construction quality inspection and supervision engineer's request for rectification, and ensure the timely completion of construction quality. 4, with the coordination of railway-related units to give full play of my units in railway construction experience, familiar with the advantages of existing procedures relating to the construction, active railway-related functions, contact the facilities management unit, comply with the relevant provisions of existing line construction, signed before construction to maintain existing equipment security operations and ensure the safety of construction match the custody agreement, and implementation in the construction process. 5, coordination with local governments, transportation agencies actively contact with local governments, transportation, environmental protection and other sectors, actively seeking the cooperation and support of the local government sector, with local governments and make the construction of law and order in the region, environmental protection, ensure 命题:基于声卡的产品音频信号测试系统 1(功能 现有音频产品~会产生声音信号。在LABVIEW环境中对通过计算机声卡对产品的声音信号进行采集比对测试。整个系统是实时测试系统。 录音 s 波形图 播放 s 循环 次 数 图1 参考主界面 系统有以下测试功能。 ,1,循环录音播放操作~可以实时显示数据。可以重复操作~可以设置录音播放时间和循环次数。 ,2,对产品进行逐一测试~测试包括产品音频信号采集显示~分析~保存原始数据。 ,3,系统可随时调出任一产品的测试数据~可对产品的音频信号 进行回放~对分析数据进行查看。 2(主要内容及要求 ,1,界面设计 A)主界面 即实时监测窗口。要对实时测量的产品进行启动测试~结束测试。 B)参数设置界面 包括设置录音参数~设置数据保存路径 C)数据查询回放界面 可选择打开任意一个已检测过的产品数据进行查看~可以查看原始音频数据和合格参数。 ,2,程序设计 根据多线程及模块化的结构设计Main VI和Sub VI。 1 二(成绩评定 1.选择以上命题完成。 2.测试面试部分评分依据 1,合理的程序功能设计,30%, 2,美观的程序界面设计 ,20%, 3,流畅的程序功能运行,30%, 4,的设计说明书书写,20%, 实验室只提供LABVIEW8.5版本软件进行调试。如使用高版本~ 面试的时候请自带电脑。面试的时候请同时带好纸质设计说明书。 3.考试材料提交 1,提交纸质设计说明书一份,封面为该试卷, 内容包括: ,1,系统功能、系统整体设计的思想或设计、系统 结构,硬件和软件,、设计方法、设计技巧、软件流程图等。 ,2,程序中为哪些控件创建了局部变量和属性节点,如 何对它们进行操作?在程序中的作用是什么? ,3,说明移位寄存器的作用和工作原理。 ,4,程序中的顺序结构、选择结构、循环结构的作用是 什么? 2,程序代码打包上交 ,将设计说明书电子稿和源代码~放于一文件夹~文件夹命名为:研究生+学号+姓名+大作业~打包发至邮箱14899166@qq.com~邮件名为:研究生+学号+姓名+大作业, 说明书 系统功能 „„„„„„„„„„„„„„„„„„ 3 系统设计思想 „„„„„„„„„„„„„„„„ 3 系统简介 „„„„„„„„„„„„„„„„„„ 3 实验图 „„„„„„„„„„„„„„„„„„„ 4 with the supervising engineer in the construction process, strictly in accordance with the owner and engineer for construction approval of construction organization design and quality control. In the team of "self-inspection, mutual inspection, handover inspection" and mass spot check on the basis of the technology sector, initiative to accept supervision engineers, tianjing quality supervision and quality supervision station of Beijing railway administration supervision and inspection, with the supervising engineer for good construction quality inspection and supervision engineer's request for rectification, and ensure the timely completion of construction quality. 4, with the coordination of railway-related units to give full play of my units in railway construction experience, familiar with the advantages of existing procedures relating to the construction, active railway-related functions, contact the facilities management unit, comply with the relevant provisions of existing line construction, signed before construction to maintain existing equipment security operations and ensure the safety of construction match the custody agreement, and implementation in the construction process. 5, coordination with local governments, transportation agencies actively contact with local governments, transportation, environmental protection and other sectors, actively seeking the cooperation and support of the local government sector, with local governments and make the construction of law and order in the region, environmental protection, ensure 设计流程图 „„„„„„„„„„„„„„„„„ 10 核心问题 „„„„„„„„„„„„„„„„„„ 11 1.系统功能 在LABVIEW环境中对通过计算机声卡对产品的声音信号进行采集比对测试分析。整个系统是实时测试系统。系统有以下测试功能。 (1)循环录音播放操作,可以实时显示数据。可以重复操作,可以设置录音播放时间和循环次数。 (2)对产品进行逐一测试,测试包括产品音频信号采集显示,分析,保存原始数据。 (3)系统可随时调出任一产品的测试数据,可对产品的音频信号 进 行回放,对分析数据进行查看。 2. 系统设计思想 “基于声卡的产品音频信号测试系统”有四个界面,相互独立,主要分成四部分:“音频模块”、“测试音频模块”和“音频数据回放模块”,“音频检测模块”。本设计对比的是音频周期和采样频率,这些参数已经被设置在一个全局变量中做一个默认项。可以完成音频数据采集、显示和分析的功能。 3.系统简介 本系统主要由一个主程序和多个子程序构成,包括标准音频参数的设置,合格音频的参数设置(即设置测试音频的周期、频率与标准音频的周期、频率的差值绝对值的范围),声音信号的采集(标准音频的来源分为现场录制和打开已存在文件),音频的频谱分析、回放以及对采集的音频与标准音频进行比对从而检测其是否合格等。若合格,检测结果输出“合格”,否则,输出“不合格”。 3 第一步:运行程序,点击按钮“选取标音”,并且设置“录取参数”。 第二步:录取声音,因为在“录取参数”中已经设定了录取每5s为一个周期。系统自动将已经录取的声音与设置的标准音进行对比,然后处理。如果相同,则输出为“合格”,否则,为“不合格”。 另外,在面板左右两部分分别显示着标准音频和测试音频的时域波形和频域波形。左下角和右下角也分别显示周期和主频率的可见窗口。 第三步:音频回放。在“文件”中可以找到按照设定路径“E:/” 已经保存的测试音频,按“播放”按钮就可以播放声音。循环次数可以设定为“2”,时间设定为“15s”,在右端可以看到已经播放的次数。同样,我们也可以用音频回放来播放原始音频,即“已选取的标音”。 4.实验图 图1 主界面 with the supervising engineer in the construction process, strictly in accordance with the owner and engineer for construction approval of construction organization design and quality control. In the team of "self-inspection, mutual inspection, handover inspection" and mass spot check on the basis of the technology sector, initiative to accept supervision engineers, tianjing quality supervision and quality supervision station of Beijing railway administration supervision and inspection, with the supervising engineer for good construction quality inspection and supervision engineer's request for rectification, and ensure the timely completion of construction quality. 4, with the coordination of railway-related units to give full play of my units in railway construction experience, familiar with the advantages of existing procedures relating to the construction, active railway-related functions, contact the facilities management unit, comply with the relevant provisions of existing line construction, signed before construction to maintain existing equipment security operations and ensure the safety of construction match the custody agreement, and implementation in the construction process. 5, coordination with local governments, transportation agencies actively contact with local governments, transportation, environmental protection and other sectors, actively seeking the cooperation and support of the local government sector, with local governments and make the construction of law and order in the region, environmental protection, ensure 图2 录取参数设置面板 图3 选择或输入文件路径“E:/”,选取标音 5 图4 录音显示不合格 图5.标准音频时域波形,频域波形 with the supervising engineer in the construction process, strictly in accordance with the owner and engineer for construction approval of construction organization design and quality control. In the team of "self-inspection, mutual inspection, handover inspection" and mass spot check on the basis of the technology sector, initiative to accept supervision engineers, tianjing quality supervision and quality supervision station of Beijing railway administration supervision and inspection, with the supervising engineer for good construction quality inspection and supervision engineer's request for rectification, and ensure the timely completion of construction quality. 4, with the coordination of railway-related units to give full play of my units in railway construction experience, familiar with the advantages of existing procedures relating to the construction, active railway-related functions, contact the facilities management unit, comply with the relevant provisions of existing line construction, signed before construction to maintain existing equipment security operations and ensure the safety of construction match the custody agreement, and implementation in the construction process. 5, coordination with local governments, transportation agencies actively contact with local governments, transportation, environmental protection and other sectors, actively seeking the cooperation and support of the local government sector, with local governments and make the construction of law and order in the region, environmental protection, ensure 图6.测试音频显示时域波形和频域波形 图7.音频回放,从文件打开。 7 图8.标准音和测试音的音频回放 with the supervising engineer in the construction process, strictly in accordance with the owner and engineer for construction approval of construction organization design and quality control. In the team of "self-inspection, mutual inspection, handover inspection" and mass spot check on the basis of the technology sector, initiative to accept supervision engineers, tianjing quality supervision and quality supervision station of Beijing railway administration supervision and inspection, with the supervising engineer for good construction quality inspection and supervision engineer's request for rectification, and ensure the timely completion of construction quality. 4, with the coordination of railway-related units to give full play of my units in railway construction experience, familiar with the advantages of existing procedures relating to the construction, active railway-related functions, contact the facilities management unit, comply with the relevant provisions of existing line construction, signed before construction to maintain existing equipment security operations and ensure the safety of construction match the custody agreement, and implementation in the construction process. 5, coordination with local governments, transportation agencies actively contact with local governments, transportation, environmental protection and other sectors, actively seeking the cooperation and support of the local government sector, with local governments and make the construction of law and order in the region, environmental protection, ensure 5.设计流程图 开始运行 设置标准参数 否则 录制标准音频 退出 自动录音 标准参数设置完成 设置合格参数 保存在E盘 录音 否 否 回放 是 是 选择音频 返回 检测分析 读取 是 否 合格, 观察波形 不合格 合格 No 停止, Yes 退出 9 6.核心问题 (1)程序中为哪些控件创建了局部变量和属性节点,如何对它们进行操 作?在程序中的作用是什么? 答:由于本设计中使用了较多的局部变量,在此就不一一陈述,仅简述 局部变量的作用,局部变量是由控件产生的,可以对前面板上的控 件进行读写操作(相当于一个副本)。属性节点的作用是获取(读取) 或设置(写入)引用的属性,本设计在修饰部分画图时用了属性节 点(绘图区域大小),在画图的时候由它可得所画的图的范围。 (2)说明移位寄存器的作用和工作原理。 答:移位寄存器是LabVIEW中在循环结构中经常用到一种数据处理方式, 即把第i次循环执行的结果作为第i,1次循环的输入。移位寄存器 中的数据直到关闭VI时才从内存中消除。如果没有初始化移位寄存 器,就会导致在关闭VI之前,前后两次运行VI的结果截然不同。 因此必须初始化移位寄存器。本次程序设计中采用移位寄存器的目 的是将声音数据连续不断的存储到声音保存路径和声音保存文件中 去,以及对错误输出进行相应的处理。 (3)程序中的顺序结构、选择结构、循环结构的作用是什么? 答: 本设计是以一个顺序结构做外围,初始化结束后加入一个while循 环(大循环),循环里面是case、while和sequence的嵌套使用。 由于本设计中用了大量的sequence、case和while。 with the supervising engineer in the construction process, strictly in accordance with the owner and engineer for construction approval of construction organization design and quality control. In the team of "self-inspection, mutual inspection, handover inspection" and mass spot check on the basis of the technology sector, initiative to accept supervision engineers, tianjing quality supervision and quality supervision station of Beijing railway administration supervision and inspection, with the supervising engineer for good construction quality inspection and supervision engineer's request for rectification, and ensure the timely completion of construction quality. 4, with the coordination of railway-related units to give full play of my units in railway construction experience, familiar with the advantages of existing procedures relating to the construction, active railway-related functions, contact the facilities management unit, comply with the relevant provisions of existing line construction, signed before construction to maintain existing equipment security operations and ensure the safety of construction match the custody agreement, and implementation in the construction process. 5, coordination with local governments, transportation agencies actively contact with local governments, transportation, environmental protection and other sectors, actively seeking the cooperation and support of the local government sector, with local governments and make the construction of law and order in the region, environmental protection, ensure
/
本文档为【labview 声卡录制 声音采集器】,请使用软件OFFICE或WPS软件打开。作品中的文字与图均可以修改和编辑, 图片更改请在作品中右键图片并更换,文字修改请直接点击文字进行修改,也可以新增和删除文档中的内容。
[版权声明] 本站所有资料为用户分享产生,若发现您的权利被侵害,请联系客服邮件isharekefu@iask.cn,我们尽快处理。 本作品所展示的图片、画像、字体、音乐的版权可能需版权方额外授权,请谨慎使用。 网站提供的党政主题相关内容(国旗、国徽、党徽..)目的在于配合国家政策宣传,仅限个人学习分享使用,禁止用于任何广告和商用目的。

历史搜索

    清空历史搜索