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