樂曲點播程序設計.doc
約12頁DOC格式手機打開展開
樂曲點播程序設計,7200字 12頁 有程序代碼摘 要本文采用匯編語言設計。該樂曲點播程序由一個樂曲點播主程序和五個子程序組成。其中的一個子程序為樂曲演奏子程序,一個用來控制時間延遲程序,三個音樂選擇程序。主程序對演奏子程序,三個音樂選擇程序內(nèi)部調(diào)用,而演奏子程序程序是調(diào)用控制時間延遲程序。這個程序利用計算機發(fā)生原理,編寫的樂曲的程序....


內(nèi)容介紹
此文檔由會員 風清云淡 發(fā)布
7200字 12頁 有程序代碼
摘 要
本文采用匯編語言設計。該樂曲點播程序由一個樂曲點播主程序和五個子程序組成。其中的一個子程序為樂曲演奏子程序,一個用來控制時間延遲程序,三個音樂選擇程序。主程序對演奏子程序,三個音樂選擇程序內(nèi)部調(diào)用,而演奏子程序程序是調(diào)用控制時間延遲程序。這個程序利用計算機發(fā)生原理,編寫的樂曲的程序. 樂曲是按照一定的高低、長短和強弱關系組成的音調(diào)。在一首樂曲中,每個音符的音高、音長與頻率有關和節(jié)拍有關,音符和頻率也形成一種對應關系. 這些都是通過BIOS中的BEEP子程序來實現(xiàn)的。BEEP子程序能根據(jù)BX中給出的計數(shù)值控制8253/54定時器,產(chǎn)生的頻率為896 Hz的聲音。BX中的計數(shù)值由ERROR_BEEP子程序設置為533H,然后BEEP程序又將8225的輸出寄存器(I/O端的61H)的PB0和PB1置1,使揚聲器接通并發(fā)出音頻為896 Hz的聲音。
關鍵詞:菜單、鍵盤、音樂結束、延遲。
Abstract
Melody is according to certain high or low, strong or weak of the tone that constitutes the relation. In a melody, the sound of each note is high, the sound is long to have something to do with frequency, and have relation with rhythm, all is to pass the sub- procedure of BEEP in the BIOS to realize it. The sub- procedure of BEEP can be according to give in the BX of counting the value control 8253/54 settle machine, the output frequency of the voice is 896 Hz. The BX inside counts the value to establish 533 Hz from the sub- procedure of ERROR_BEEP, then the procedure of BEEP again makes the 8225 exportation deposits to place the PB0 of the machine (the 61 Hz of I/ O carry) and the PB1 with 1, making the loudspeaker to connect and erupt sound which voice frequency is 896 Hz.
Keyword:Manu, Keyboard, End music, Delay.
目 錄
一.任務書
二.摘要與關鍵詞
1)摘要
2)關鍵詞
三.目錄
四.正文
1)背景分析及意義
2)總體設計思想
3)完成的主要功能
4)軟硬件環(huán)境要求
5)程序流程圖
6)使用說明
五.設計總結
1)設計中遇到的問題及解決方法
2)設計心得
六.參考文獻
七.程序清單
摘 要
本文采用匯編語言設計。該樂曲點播程序由一個樂曲點播主程序和五個子程序組成。其中的一個子程序為樂曲演奏子程序,一個用來控制時間延遲程序,三個音樂選擇程序。主程序對演奏子程序,三個音樂選擇程序內(nèi)部調(diào)用,而演奏子程序程序是調(diào)用控制時間延遲程序。這個程序利用計算機發(fā)生原理,編寫的樂曲的程序. 樂曲是按照一定的高低、長短和強弱關系組成的音調(diào)。在一首樂曲中,每個音符的音高、音長與頻率有關和節(jié)拍有關,音符和頻率也形成一種對應關系. 這些都是通過BIOS中的BEEP子程序來實現(xiàn)的。BEEP子程序能根據(jù)BX中給出的計數(shù)值控制8253/54定時器,產(chǎn)生的頻率為896 Hz的聲音。BX中的計數(shù)值由ERROR_BEEP子程序設置為533H,然后BEEP程序又將8225的輸出寄存器(I/O端的61H)的PB0和PB1置1,使揚聲器接通并發(fā)出音頻為896 Hz的聲音。
關鍵詞:菜單、鍵盤、音樂結束、延遲。
Abstract
Melody is according to certain high or low, strong or weak of the tone that constitutes the relation. In a melody, the sound of each note is high, the sound is long to have something to do with frequency, and have relation with rhythm, all is to pass the sub- procedure of BEEP in the BIOS to realize it. The sub- procedure of BEEP can be according to give in the BX of counting the value control 8253/54 settle machine, the output frequency of the voice is 896 Hz. The BX inside counts the value to establish 533 Hz from the sub- procedure of ERROR_BEEP, then the procedure of BEEP again makes the 8225 exportation deposits to place the PB0 of the machine (the 61 Hz of I/ O carry) and the PB1 with 1, making the loudspeaker to connect and erupt sound which voice frequency is 896 Hz.
Keyword:Manu, Keyboard, End music, Delay.
目 錄
一.任務書
二.摘要與關鍵詞
1)摘要
2)關鍵詞
三.目錄
四.正文
1)背景分析及意義
2)總體設計思想
3)完成的主要功能
4)軟硬件環(huán)境要求
5)程序流程圖
6)使用說明
五.設計總結
1)設計中遇到的問題及解決方法
2)設計心得
六.參考文獻
七.程序清單
TA們正在看...
- 01.1四時田園雜興課堂教學教案教學設計(部編版).doc
- 01.2稚子弄冰課堂教學教案教學設計(部編版).doc
- 01.3村晚課堂教學教案教學設計(部編版).doc
- 02冬陽·童年·駱駝隊公開課優(yōu)秀教案教學設計(五年...doc
- 02冬陽·童年·駱駝隊最新教研教案教學設計(部編版...doc
- 02冬陽·童年·駱駝隊課堂教學教案教學設計(部編版).doc
- 03祖父的園子公開課優(yōu)秀教案教學設計(五年級下冊).doc
- 03祖父的園子最新教研教案教學設計(部編版五年級下...doc
- 03祖父的園子課堂教學教案教學設計(部編版).doc
- 04草船借箭公開課優(yōu)秀教案教學設計(五年級下冊).doc