基于Android的信号发生器的设计
摘要
信号发生器是广泛应于电子测量和科学研究实验中的通用信号源。在通信、测量、雷达、控 制、教学等领域应用十分广泛。随着现代测量和现代通信技术的发展,越来越需要一个便携式的、 多功能的信号发生器。而在Android ±的信号发生器软件恰恰符合这个条件。本文首先介绍了开 发一个信号发生器的预备知识,例如波形声音的概念以及脉冲编码调制和wav格式文件。然后给 出了这个软件的系统总体流程图和软件的界面的设计。在我的设计中模块分为三个,分别为界面 和声音输出模块、产生采样数据的模块以及合成最终信号的模块。文章的最后给出了整个软件的 测试结果。结果表明了在Android系统上设计一个能改变波形、频率、和相位的双通道信号发生 器是可以实现的。并且设计出的信号发生器具有稳定,易携带,界面美观,使用方便等优点,这 将是以后的信号发生器的发展方向。
关键词:信号发生器;脉冲编码调制;Wav文件;Android
Signal Generator Design Based On Android
Abstract
Signal generators are widely used in electronic measurement and scientific experiments common source. In the field of communications, measurement, radar, control, teaching and others, we can see it here and there? With the development of modern surveying and modern communication technologies, a growing need for a portable, versatile signal generat or. The signal generator on the Android software is just to meet this condition? This paper describes the development of a signal generator prior knowledge, such as the concept of a sound wave and pulse code modulation and wave files. Then thesis gives the overall system flow chart and software interface design. In my design module is divided into three, namely the interface and a sound output module, the module generates the final signal synthesis module and sample data? Finally, the article presents the test results of the entire software? The results show that the Android system can change the design of a waveform, frequency, and phase of a dual?channel signal generator can be achieved? And design a signal generator with a stable, easy to carry, beautiful interface, ease of use, will be the development direction of the future signal generato匚
Keywords: Signal generator; Pulse code modulation ; Pcm; Android
TOC \o "1-5" \h \z 1绪论1
1.1课题的背景和意义1
1.2国内外研究现状1
2 Android上的波形声音信号3
2.1波形声音3
2脉冲编码调制PCM4
2.1采样频率4
2.2样本大小4
2. 3 WAV 文件5
3系统总体设计6
1开发工具和环境搭建
2 Android 虚拟机
3.3界面的设计
3.3
界面的设计
3.4总体系统的设计
TOC \o "1-5" \h \z 4各个功能模块 10
4.1界面和声音输出模块 11
4.2产生采样数据的