【正文】
時(shí)顯示的 音頻 播放 器的軟件。該播放器實(shí)現(xiàn)了 在 播放MP3的同時(shí)實(shí)時(shí) 地 顯示 LRC歌詞,并且支持 WAV等。 論文 首先 介紹了 java語(yǔ)言, MVC及 JMF的基本概念 , 內(nèi)容及章節(jié)安排 。接著,論文 介紹了本播放器的開(kāi)發(fā)平臺(tái) , 闡述了系統(tǒng)各功能的 詳細(xì)設(shè)計(jì)與 實(shí)現(xiàn) 。 關(guān)鍵詞 : 音頻播放器 平臺(tái)無(wú)關(guān) java MVC JMF Eclipse Abstract II The design and implementation of the Audio Player System Abstract With the evolvement and popularization of puter science and multimedia technology , a variety of media files, media player software e into appearence one after another. MP3 (MPEG Audio Layer3) format also bees the most widely used features audio format, for its small size and sound quality .It’s supported by the vast majority of software and the hardware media player . WAV audio formats is alseo famous for its nodamaging sound , media player software on the market rises one after another, such as: MediaPlayer, cool boxes and TTPlayer and so on. The pursuit of high quality and low memory consumption is carried on by every media player . This article explores to design and implement a LRC supported audio player software with playlists and realtime display. The software used , java language and its corresponding audio support plugins developed with JMF as the develop main designing idea of the software is the MVC(the ModelViewControl )pattern. The player achieved in real time LRC display while playing MP3, and supports WAV and so on. Programmes developed with java is platform portability, you can do “Once write, run everywhere”, also has a fairly plete functionality. The paper firstly introduces basic concepts, contents and chapter arrangement of the java language, MVC and JMF. Then, the paper describes the design goal, and the system function modules, including: Mainframe module, listController module, LRCController module, the Mp3Controller module and Mp3State next is the introduction of the media files and lyrics files treatment process. After that, the paper introduces the development platform to explain the various features of the system detailed design and implementation. Finally, the paper describes the system operation environment and operating part has a illustration. Keywords: Audio Player platform portability Java MVC Eclipse JMF 目 錄 III 目 錄 摘 要 ......................................................................................................I ABSTRACT ........................................................................................... II 第 1 章 緒論 ......................................................................................... 1 研究背景 ........................................................................................................ 1 JAVA 語(yǔ)言的特性 ............................................................................................ 1 第 2 章 關(guān)于 JMF 技術(shù) ........................................................................ 3 關(guān)于 JMF 技術(shù) ............................................................................................... 3 JMF 常用類(lèi) .................................................................................................... 4 數(shù)據(jù)源( DataSource) ............................................................................... 4 媒體定位器( MediaLocator) ..................................................................... 4 播放器( Player) ...................................................................................... 4 處理器( Processor) .................................................................................. 6 數(shù)據(jù)池( DataSink) .................................................................................. 7 數(shù)據(jù)格式( Format) .................................................................................. 7 管理器( Manager) ................................................................................... 8 事件模型 ........................................................................................................ 8 第 3 章 系統(tǒng)架構(gòu)和功能模塊設(shè)計(jì) .................................................... 11 MVC 模式概述 ............................................................................................ 11 系統(tǒng)目標(biāo) ...................................................................................................... 11 系統(tǒng)功能模塊概要設(shè)計(jì) .............................................................................. 12 用戶(hù)界面模塊 ........................................................................................ 13 播放控制模塊 ........................................................................................ 14 播放信息模塊 ........................................................................................ 15 播放列表控制模塊 ................................................................................. 18 歌詞控制模塊 ........................................................................................ 18 第一章 緒論 IV 音頻文件播放邏輯 ........................................................................................ 19 對(duì)音頻文件的傳遞 ................................................................................. 19 對(duì)歌詞文件的傳遞 ................................................................................. 20 播放控制流程 ........................................................................................ 21 第 4 章 系統(tǒng)詳細(xì)設(shè)計(jì)與實(shí)現(xiàn) ............................................................ 22 開(kāi)發(fā)平臺(tái)及環(huán)境 .......................................................................................... 22 用戶(hù)界面模塊詳細(xì)設(shè)計(jì)與實(shí)現(xiàn) .................................................................. 22 對(duì)播放拖動(dòng)條添加拖動(dòng)事件監(jiān)聽(tīng)器 ........................................................... 23 音量拖動(dòng)條添加拖動(dòng)事件監(jiān)聽(tīng)器 ............................................................... 23 對(duì)鼠標(biāo)點(diǎn)擊放開(kāi)事件添加監(jiān)聽(tīng)器 ............................................................... 24 時(shí)間線(xiàn)程 .................................................................................................. 25 最小化托盤(pán) .....