文档介绍:基于LabVIEW的电子琴的设计
摘要
随着电子计算机的不断发展,以及软件开发技术的日新月异,电子计算机在数据的实时分析和处理,现实存贮等方面的优势与传统仪器相比越来越明显,随着计算机性价比的不断提升,传统仪器价格又高居不下,加上传统仪器的功能单一,发展虚拟仪器已经成为一个不可阻挡的历史潮流。在20世纪80年代,美国国家仪器公司(NI)最早提出了虚拟仪器的概念,引发了传统仪器领域的一场重大变革,使得计算机网络技术得以长驱直入仪器领域,和仪器技术结合起来,从而开创了“软件即是仪器”的先河。而虚拟仪器的设计,需要图形化的开发环境LabVIEW。
本文讲解了基于LabVIEW的电子琴的设计,通过对声音的频率设置,以及LabVIEW中的常用编程控件,来实现电子琴发声,本程序能实现电子琴基本演奏功能,还有音乐播放功能。
关键词:虚拟仪器,LabVIEW,电子琴
Electric Piano Design Based on LabVIEW
Abstract
With the rapid development puter technology and software development technology, the advantagement of puter in analyzing, processing, displaying, storing the data es more and more obvious. At the same time, developing virtual instrument has e an irresistible trend of history along with high cost performance puter, high price of traditional instruments and the single function of the traditional instruments. In this environment, the American pany firstly began to the study of the virtual oscilloscope; and then launched a plat for the LabVIEW.
This thesis designs a set of virtual oscilloscope based on the basic structure of the virtual instrument and related knowledge of signal processing in author's procession. It analyzes the definition, structures and trend of development of the virtual instrument. It introduces the basic knowledge related with virtual oscilloscope, which is Fourier transform. Virtual instrument posed of hardware and software in two parts. This thesis introduces the hardware simply, but studies the software at full length. Based on the study of the two parts of the virtual instrument, the author designs the spectrum analysis module, memory module, display module and measurement module.
Key Words: Virtual Instrument, LabVIEW, Electronic piano
目录
第1章绪论 1
电子琴的特色 1
电子琴的构成 1
电子琴的发展 1
产品优势 2
电子琴的意义 2
第2章系统软件的开发平台LabVIEW简介 3
LabVIEW的基本概述 3
LabVIEW的模板分析 5
5
控件选板 7
函数选板 7
第3章电子琴的软件设计 9
设计任务 9
单按键发声 9
电子琴设计 11
播放声音文件 13
第4章打包生安装文件 16
总结 25