【正文】
出警告 ,然后將掃描得到的歌曲以列表的形式顯示在播放列表中。 列表文件及路徑如下圖: 24 圖 磁盤(pán)上生成了播放列表文件(下次打開(kāi)播放器就不需要再次執(zhí)行掃描操作) (2) 音樂(lè)操作(上 /下一曲、暫停 /播 放、停止、音量調(diào)節(jié)、進(jìn)度條拖動(dòng)) 雙 擊 播放列表中的任意 一 歌曲,歌曲 將開(kāi)始播放,同時(shí)歌曲的控制控件 開(kāi)始生效。 25 圖 音樂(lè)播放 截圖 (3) 歌詞處理 在播放歌曲的同時(shí),歌詞會(huì)自動(dòng)跟隨歌曲同步播放。 常用工具部分: 當(dāng)今很多人已經(jīng)習(xí)慣每天坐在電腦前辦公,每一天的工作都是圍繞著電腦轉(zhuǎn),為了提供這些人方便,本播放器集成了一些辦公上可能有用的功能。文件如下圖: 26 圖 播放器數(shù)據(jù)文件 (1) 提醒 為自己的時(shí)間安排設(shè)置一個(gè)提醒 ,用戶(hù)可以同時(shí)設(shè)置多個(gè)提醒,多個(gè)提醒互不干擾。 通過(guò)點(diǎn)擊“新建”打開(kāi)“新建提醒”窗口,然后輸入信息,輸入完畢后,再點(diǎn)擊“添加 +”按鈕,則提示用戶(hù)創(chuàng)建成功。 27 圖 用戶(hù) 設(shè)置提醒 (2) 記事本 隨意的記錄某些東西,或者是創(chuàng)意的靈感、或者是煩心的訴說(shuō) 、或者是對(duì)某人的思念 。點(diǎn)擊“查看”按鈕則可以看到當(dāng)前已有的所有“記事本”。 上下班鬧鐘、午睡鬧鐘、餐飲鬧鐘 等。 29 圖 用戶(hù) 設(shè)置“鬧鐘” (4) 便簽 提醒他人 或 自己。點(diǎn)擊“查看”按鈕則可以看到當(dāng)前已有的所有“便簽”。 通過(guò)點(diǎn)擊“新建”打開(kāi)“新建約會(huì)”窗口,然后輸入信息,輸入完畢后,再點(diǎn)擊“添加 +”按鈕,則提示用戶(hù)創(chuàng)建成功。 31 圖 用戶(hù) 設(shè)置“約會(huì)” 軟件后臺(tái)調(diào)試 (白盒測(cè)試) 音樂(lè)播放部分后臺(tái)調(diào)試 音樂(lè)播放部分需要處理的內(nèi)容是最多最復(fù)雜的 , 首先需要保證音樂(lè)的正常播放,其次 還要 保證歌詞的同步播放,再次需要保證播放進(jìn)度條和聲音的與實(shí)際播放和音量的同步。 在這期間進(jìn)行了大量的調(diào)試工作, 盡量通過(guò)調(diào)試發(fā)現(xiàn)程序中的已知錯(cuò)誤。 需要保證數(shù)據(jù)的讀寫(xiě)完整性,需要保證數(shù)據(jù)的邏輯處理的正確性。這個(gè)版本在很多方面還存在諸多漏洞,還需要長(zhǎng)時(shí)間的改進(jìn)和維護(hù)。 通過(guò)這次畢業(yè)設(shè)計(jì),我 學(xué)到了很多。 由于在開(kāi)發(fā)前,沒(méi)有對(duì) 軟件進(jìn)行詳細(xì)的設(shè)計(jì) ,沒(méi)有將軟件工程的思想應(yīng)用到開(kāi)發(fā)過(guò)程中 ,所以導(dǎo)致在開(kāi)發(fā)過(guò)程中出現(xiàn)了很多麻煩,很多問(wèn)題直到開(kāi)發(fā)過(guò)程中 才 遇到,導(dǎo)致將軟件提交時(shí)間一直延后。這些都是需要改進(jìn)的地方。 通過(guò)這次畢業(yè)設(shè)計(jì),我感觸很深的就是,在著手編碼之前,一定要將軟件詳細(xì)設(shè)計(jì)出來(lái),然后根據(jù)設(shè)計(jì)方案,一步一步完善代碼。再有就是軟件的可維護(hù)性比較 差,很多代碼都是“硬性”代碼,也就是那種“牽一發(fā)而動(dòng)全身”的代碼,雖然代碼中的提示我已經(jīng)盡量的做到了詳細(xì),但是還是存在一些解釋不清的地方。比如網(wǎng)上的音樂(lè)播放器的音樂(lè)列表的生成,是手動(dòng)寫(xiě)上去的,這對(duì)于沒(méi)有很高的計(jì)算機(jī)功底的人來(lái)說(shuō)是不可能完成的事而我的列表時(shí)自動(dòng)生成自動(dòng)顯示的;對(duì)于歌詞網(wǎng)上的算法是一次性將歌詞讀取出來(lái),但是 顯示的時(shí)候只根據(jù)時(shí)間顯示一段,而我的算法是,將歌詞全部讀取到一個(gè)數(shù)組中,然后根據(jù)時(shí)間,一句一句調(diào)用顯示;對(duì)于在本地存儲(chǔ)數(shù)據(jù),網(wǎng)上的 方法很少,幾乎沒(méi)有,而且網(wǎng)上的算法不支持自定義對(duì)象的存儲(chǔ) ,我通過(guò)查找 相關(guān) 資料, 得到 將中間數(shù)據(jù)序列化 的方法,然后成功將本地?cái)?shù)據(jù)存儲(chǔ)在 本地硬盤(pán)中,實(shí)現(xiàn)了數(shù)據(jù)的持久化 和可修改性 。 35 參考文獻(xiàn) [1] 李慶國(guó) . 音樂(lè)多媒體入門(mén) [M].上海 : 上海音樂(lè) 出版社 , 2021:3132. [2] 百度百科 . 百度百科 [EB/OL]. foobar,2021. [3] 趙一飛 . Flex 開(kāi)發(fā)寶典 [M].北京 : 電子工業(yè)出版社 , 2021:3032. [4] 張猛 . Flex 一學(xué)就會(huì) [M].北京 : 人民郵電出版社 , 2021:1012. [5] 董龍飛 ,肖娜 . Adobe Flex 大師 之路 [M].北京 : 電子工業(yè)出版社 , 2021:5961. [6] 張亞飛 . Flash Flex ActionScript 開(kāi)發(fā)權(quán)威手冊(cè) [M].北京 : 中國(guó)鐵道出版社 , 2021:3335. [7] 張翠芬 ,楊博 ,杜昱宏 . Flex4 權(quán)威指南 [M].北京 : 人民郵電出版社 ,2021:8991. [8] 孫穎 . Flash ActionScript 3 殿堂之路 [M].北京 : 電子工業(yè)出版社 ,2021:107. [9] 左偉明 . 完全掌握 xml[M].北京 : 人民郵電出版社 , 2021:20. [10] 張柏林 ,張衛(wèi)星 . Adobe Flex 3 高級(jí)編程 [M].北京 : 清華大學(xué)出版社 , 2021 :121123. [11] 章精設(shè) ,胡登濤 . flash actionscript 從入門(mén)到精通 [M].北京 : 清華大學(xué)出版社 , 2021 :2223. [12] 呂洋波 . 典型范例速查手冊(cè) [M].北京 : 中國(guó)鐵道出版社 , 2021 :2930. 36 謝 辭 在畢業(yè)設(shè)計(jì)學(xué)習(xí)期間,我得到了 學(xué)校的多方面支持,使我的畢業(yè)設(shè)計(jì)在各方面進(jìn)行的非常 順利 ,這里要對(duì)老師和同學(xué)們表示感謝 。 在播放器的算法 和 設(shè)計(jì) 上,參考了 學(xué)院計(jì)算機(jī)科學(xué) 與 技術(shù)專(zhuān)業(yè) 同學(xué)們的意見(jiàn)和建議,使得該播放器在 多 方面得到改進(jìn)。 感謝答辯老師 們 百忙之中 抽出寶貴的時(shí)間來(lái)對(duì)我的畢業(yè)論文進(jìn)行最后的 審查答辯。 ag an employment tribunal clai Emloyment tribunals sort out disagreements between employers and employees. You may need to make a claim to an employment tribunal if: you don39。t appealed against the disciplinary action your employer has taken against you. However, if you win your case, the tribunal may reduce any pensation awarded to you as a result of your failure to appeal. Remember that in most cases you must make an application to an employment tribunal within three months of the date when the event you are plaining about happened. If your application is received after this time limit, the tribunal will not usually accept i. If you are worried about how the time limits apply to you If you are being represented by a solicitor at the tribunal, they may ask you to sign an agreement where you pay their fee out of your pensation if you win the case. This is known as a damagesbased agreement. In England and Wales, your solicitor can39。s antiracism taskforce, is in London for the Football Association39。s Premier League match at Chelsea on Sunday. I am going to be at the match tomorrow and I have asked to meet Ya ya Toure, he told BBC Sport. For me it39。s 21 win. Michel Platini, president of European football39。s actions. CSKA said they were surprised and disappointed by Toure39。 May be back in the past, to oneself the paranoid weird belief disillusionment, these days, my mind has been very messy, in my mind constantly. Always feel oneself should go to do something, or write something. Twenty years of life trajectory deeply shallow, suddenly feel something, do ??傆X(jué)得自己似乎應(yīng)該去做點(diǎn)什么, 或者寫(xiě)點(diǎn)什么。 The end of our life, and can meet many things really do? 而窮盡我們的一生,又能遇到多少事情是真正 地非做不可? During my childhood, think lucky money and new clothes are necessary for New Year, but as the advance of the age, will be more and more found that those things are optional。t really grow up, it seems is not so important。t want to give vent to out your inner voice can be in the high school children of the feelings in a period, but was eventually infarction when graduation party in the throat, later again stood on the pitch he has sweat profusely, looked at his thrown a basketball hoops, suddenly found himself has already can39。 instead of letting the world soften us, we let it drive us deeper into ourselves. We try to deflect the hurt and pain by pretending it doesn’t exist, but although we can try this all we want, in the end, we can’t hide 37 from ourselves. We need to learn to open our hearts to the potentials of life and let the world soften ,我們常常會(huì)關(guān)上心門(mén);世界不僅沒(méi)能慰藉我們,反倒使我們更加消沉。既然如此,何不嘗試打開(kāi)心門(mén),擁抱生活中的各種可能,讓世界感化我們呢? Whenever we start to let our fears and seriousness get the best of us, we should take a step back and reevaluate our behavior. The items listed below are six ways you can open your heart more fully and ,我們應(yīng)該退后一步,重新反思自己的言行。 Whenever a painful situation arises in your life, try to embrace it instead of running away or trying to mask the hurt. When the sadness strikes, take a deep breath and lean into it. When we run away from sadness that’s unfolding in our lives, it gets stronger and more real. We take an emotion that’s fleeting and make it a solid event, instead of something that passes through ,別再逃跑或隱藏痛苦,試著擁抱它吧;當(dāng)悲傷來(lái)襲時(shí),試著深呼吸,然后直面它。屏住呼吸,生活停滯;呼出呼吸,更多新奇與經(jīng)歷又將拉開(kāi)