基于钩子技术的键盘乐谱输入播放系统 ——按键奏鸣曲软件-毕业论文.doc

上传人:滴答 文档编号:1273335 上传时间:2019-01-26 格式:DOC 页数:53 大小:888KB
下载 相关 举报
基于钩子技术的键盘乐谱输入播放系统 ——按键奏鸣曲软件-毕业论文.doc_第1页
第1页 / 共53页
基于钩子技术的键盘乐谱输入播放系统 ——按键奏鸣曲软件-毕业论文.doc_第2页
第2页 / 共53页
基于钩子技术的键盘乐谱输入播放系统 ——按键奏鸣曲软件-毕业论文.doc_第3页
第3页 / 共53页
基于钩子技术的键盘乐谱输入播放系统 ——按键奏鸣曲软件-毕业论文.doc_第4页
第4页 / 共53页
基于钩子技术的键盘乐谱输入播放系统 ——按键奏鸣曲软件-毕业论文.doc_第5页
第5页 / 共53页
点击查看更多>>
资源描述

1、基于钩子技术的按键乐谱输入播放系统 按键奏鸣曲软件 本科毕业论文 (科研训练、毕业设计 ) 题 目: 基于钩子技术的键盘 乐谱 输 入播放系统 按键奏鸣 曲软件 姓 名: 学 院:软件学院 系: 软件工程 专 业:软件工程 年 级: 学 号: 指导教师 : 职称: 年 月 基于钩子技术的按键乐谱输入播放系统 按键奏鸣曲软件 基于钩子技术的键盘乐谱输入播放系统 按键奏鸣曲软件 摘 要 多媒体编辑软件是一种高级的软件程序或命令的集合,这些命令可以支持各式各样的硬件装置与文件格式,将图形、文字、 音频 、 影片等视听对象组合在一起,进一步提供各种对象显示的顺序及一个导向结构。 音乐乐谱输入系统则是其

2、中的一种。 根据总体 系统 结构分析,目前音乐乐谱输入播放系统软件 的 功能设计主要可以通过显示模块、编辑模块、音频文件操作模块和播放四大模块构成,其具体又可划分若干细节功能模块。 按键奏鸣曲是基于键盘输入的微型乐音播放系统软件,也可作为音乐创作的支持辅助工具。从键盘数字按键输入,直接 对应简谱中央音区音阶,进行乐音的播放, 据有简捷明了的用户界面和提示说明。 在响应用户键盘输入部分,为了保证软件对于焦点无论在不在本软件,都可以正常 播放的特性,采用了 “钩子技术”监控键盘 信息交换 来加以实现,而不是普通的响应按键信息的方法。播放模块则 使用 播放函数 sndPlaySound 来进行对应的

3、音频文件调度播放。 界面部分利用 MFC AppWizard 创建应用程序框架来进行实现。 本文不只是单纯的软件产品分析,而是综合的对于 产品所 涉及领域、行业基础、 成熟同类 、 发展 前景等全 方 面 的 探讨论述,更是基于现实问题、分析探讨问题以至最终从独特的角度解决问题的一个连贯的思维过程 ,也希望以 此 启发其他更多的软件从业人员,创造出更多新颖、独特、符合人性化需求的软件产品。 关键词 多媒体编辑软件 键盘乐谱输入的音乐播放软件 键盘监控 钩子技术 音频文件播放 MFC App Wizard 应用程序框架 思维过程 基于钩子技术的按键乐谱输入播放系统 按键奏鸣曲软件 Abstrac

4、t The multimedia editing software is a set of senior software programs and commands. It supports kinds of hardware and file formats to combine the images, texts, audios, movies into one unit, which provides a sequence or a directed construction for all objects displaying. One instance is just the mu

5、sical player based on notes input. As the general analyse of system functions, this kind of software always can be constructed as four function modules: appearance, editing, processing and playing, which are divided into more specific parts. KeyboardSound is a micro musical player based on keyboard

6、input, which also can be treated as an assistant tool for music creation. Users input musical notes directly from the number buttons to play sound effect as numbered musical notation with the instruction on the interface. In order to make the product affective without being focused, as users can alw

7、ays play sound from keyboard even doing other things from other windows, this software use a technique named “Hooks” to monitor the information exchange between pc memory and the keyboard rather than the simple common methods of keyboard message listening.The software uses fuction “sndPlaySound” to

8、play audio files and build whole system with MFC AppWizard framework. This paper is not just a simple product introduction but rather a complex study about the background, aspect and development of the whole industry of musical notes playing software. Whatmore, it is a journey of thought from discov

9、er the practical problem, to research it , then to resolve it on a unique point. The author wish more software engineers could get inspiration from this software to creat more brilliant products as the comman need. Key words Multimedia editing software Musical player based on notes input Monitor of

10、the keyboard Hooks Audio play MFC AppWizard framework Journey of thought 基于钩子技术的按键乐谱输入播放系统 按键奏鸣曲软件 目 录 引言 . 1 第一章 概述 . 2 1.1 计算机多媒体概述 . 2 1.1.1 媒体的概念 .2 1.1.2 多媒体与多媒体技术的涵义 .2 1.1.3 多媒体计算机系统层次结构 .3 1.2 多媒体编辑软件领域相关简介 . 5 1.2.1 多媒体编辑软件 .5 1.2.2 多媒体编辑软件的分类 .6 1.3 本论文特色和要点 . 7 第二章 项目相关背景研究 . 8 2.1 相关乐理基础

11、知识 . 8 2.1.1 简谱相关理论基础 .8 2.1.2 五线谱相关理论基础 .9 2.2 计算机音频相关 .11 2.2.1 计算机音频简介 . 11 2.2.2 声音文件的格式 . 12 2.3 音乐乐谱输入播放器的实现分析 .13 2.3.1 音乐乐谱输入播放系统的总体结构 . 13 2.3.2 音乐乐谱输入播放系统的相关软件设计 . 14 2.4 相关成熟产品的横向比较、分析和研究 .15 2.4.1 基于五线谱输入的经典打谱软件: Ove rtu re . 15 2.4.2 小巧精致的简谱快速输入播放器系统: M id iInput . 17 第三章 按键奏鸣曲软件的需求分析 .

12、 19 3.1 基本需求分析 .19 3.2 其他相关分析 .20 3.2.1 软件定位综述 . 20 3.2.2 项目时间进度安排 . 20 3.3 系统和相关资源需求 .21 第四章 按键奏鸣曲软件的相关设计 . 22 4.1 总体设计 .22 4.1.1 功能分析与核心技术问题概述 . 22 4.1.2 模块分工设计 . 23 基于钩子技术的按键乐谱输入播放系统 按键奏鸣曲软件 4.1.3 软件开发工具的选型 . 23 4.2 MFC 相关功能 .24 4.3 C+编程中相关声音文件播放方法的 概述 .24 4.3.1 P lay Sound . 25 4.3.2 多媒体控制接口 MCI

13、 . 26 4.3.3 MCIW nd 窗口类 . 26 4.3.4 Cwav e 类 . 27 4.4 详细设计 .28 4.4.1 设计 DLL 模块 . 28 4.4.2 创建链接 DLL 文件的钩子可执行程序 . 32 4.5 键盘响应监控输入关键技术:“钩子技术” 介绍 .33 4.5.1 钩子概念 . 34 4.5.2 钩子的分类 . 34 4.5.3 编写钩子函数简述 . 35 第五章 总结 . 36 5.1 本乐谱播放器的特点总结 .36 5.2 领域未来的相关发展方向和扩展前景 .36 5.3 结束语 .37 致 谢 . 38 参考文献 . 39 基于钩子技术的按键乐谱输入播

14、放系统 按键奏鸣曲软件 Contents PREFACE . 1 CHAPTER 1 INTRODUCTION . 2 1. 1 Computer Multimedia . 2 1.1.1 Int roduct ion to th e med ia .2 1.1.2 Mult imed ia and Mu lt imed ia Co mput ing Techno logy .2 1.1.3 Cons truct ion o f the mu lt imed ia comput er s ys te m .3 1. 2 About the multimedia editing software

15、 . 5 1.2.1 Mult imed ia ed it ing s o ft wa re .5 1.2.2 So rts o f th e mu lt imed ia ed it ing s oft war e .6 1. 3 Features and characters of this paper . 7 CHAPTER 2 BACKGROUND RESEARCH . 8 2. 1 Basic musical theory . 8 2.1.1 The nu mbe red mus ica l notat ion .8 2.1.2 The s ta f f .9 2. 2 About c

16、omputer audio.11 2.2.1 The co mput er aud io . 11 2.2.2 Fo r ma t o f aud io f iles . 12 2. 3 Analyse of the media player based on notes input.13 2.3.1 Gene r a l cons t ruct ion . 13 2.3.2 Main des ign of the med ia p lay er bas ed on not e input . 14 2. 4 Study on mature products.15 2.4.1 Clas s i

17、ca l s taf f ed ito r and p laye r: Ove rtu re . 15 2.4.2 Rap id nu mbe red mus ic a l not at ion inpu t s o ft wa re : M id iInput . 17 CHAPTER 3 REQUIREMENTS . 19 3. 1 Basic software requirement .19 3. 2 Other analyse .20 3.2.1 Or ientat ion o f the s oft wa re . 20 3.2.2 Time s chedu le . 20 3. 3

18、 System and resources requirement .21 CHAPTER 4 SOFTWARE DESIGNMENT . 22 4. 1 Overall designs .22 4.1.1 Funct ion ana lys e and co re techn iqu es . 22 4.1.2 Modules d iv is ion . 23 基于钩子技术的按键乐谱输入播放系统 按键奏鸣曲软件 4.1.3 Choos e of the dev e lop env iro ment . 23 4. 2 About Microsoft Windows MFC .24 4. 3 Methods of audio play in c+ programming.24 4.3.1 P lay Sound fu ct ion . 25 4.3.2 Windo ws M CI

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 学术论文资料库 > 毕业论文

Copyright © 2018-2021 Wenke99.com All rights reserved

工信部备案号浙ICP备20026746号-2  

公安局备案号:浙公网安备33038302330469号

本站为C2C交文档易平台,即用户上传的文档直接卖给下载用户,本站只是网络服务中间平台,所有原创文档下载所得归上传人所有,若您发现上传作品侵犯了您的权利,请立刻联系网站客服并提供证据,平台将在3个工作日内予以改正。