201111811 六、發明說明: 【發明所屬之技術領域】 [0001] 本發明涉及一種測試方法,尤指一種電腦聲音系統測試 方法。 【先前技林ί】 [0002] 隨著科技之發展,電腦越來越貼近人們之生活,同時人 們亦對電腦提出了越來越多之要求。多媒體電腦之出現 拉近了電腦與人們生活之距離,人們希望多媒體電腦能 夠更多地發揮它之作用。如今這一要求已越來越多地成 為現實,用電腦除了可實現設計、計算、文字與圖像處 理等常用功能外,還能實現電視、電話、傳真、VCD、 DVD、收音機、音響設備等常見家庭資訊設備之功能,甚 至還可實現原有家電沒有之功能。要實現該等功能,電 腦就必須具有人機資訊對話之功能,人對資訊接收主要 就是藉由眼睛接收視覺資訊與藉由耳朵接收聽覺資訊。 而電腦正是藉由顯示器向人們提供了視覺資訊,藉由音 頻設備向人們提供了聽覺資訊,於多媒體電腦中,其音 頻設備(包括音效卡、音箱等)與顯示器有著同樣重要 之位置,它們均是電腦與電腦用戶進行人機交互之重要 介面。因此,於電腦出廠之前,對其聲音系統進行嚴格 之測試尤為必要。 [0003] —種傳統之測試電腦聲音系統之方法是:於待測電腦中 放置一個音頻文件(可是電腦支援之任意格式之音頻文 件),藉由左聲道、右聲道分別播放,由測試作業員人 工判斷單聲道之播音效果;然後同時從左右兩個聲道( 098132404 表單編號A0101 第4頁/共14頁 0982055570-0 201111811 [0004] [0005] Ο 〇 [0006] 立體聲)播放,由作業員人工判斷立體聲播放效果。但 傳統之測試方法需要人工手動切換左右聲道,且由人工 判斷測試結果,測試效率及精確度低。 【發明内容】 鑒於以上内容,有必要提供一種測試效率及精確度較高 之電腦聲音系統測試方法。 一種電腦聲音系統測試方法,用於測試一電腦之聲音系 統,所述電腦之聲音系統具備左聲道、右聲道、立體聲 及靜音播放音頻文件之功能,所述測試方法包括以下步 驟:存儲多個不同之音頻文件至所述電腦;分別以左聲 道、右聲道、立體聲及靜音之方式播放所述不同之音頻 文件;將所述被播放之音頻文件作為輸入音頻,獲取輸 出音頻;及將輸出音頻之波形與輸入音頻之波形進行比 較以檢測所述電腦之聲音系統之品質是否達到規定之標 準。本發明電腦聲音系統測試方法藉由比較輸出音頻與 輸入音頻之波形可較為精確地測試電腦聲音系統是否合 格。 相較於習知技術,本發明電腦聲音系統測試方法藉由比 較輸出音頻與輸入音頻之波形可較為精確之測試電腦聲 音系統是否合格,測試效率及精確度均得以提高。 [0007] 【實施方式】 請參閱圖1,一待測電腦100包括一可用於存儲音頻文件 之存儲單元10、一可播放所述音頻文件之播放單元20、 一錄音單元30及一用於測試所述電腦100之聲音系統之測 試單元40。所述電腦100包括左右兩個喇叭50、60,所 098132404 表單編號Α0101 第5頁/共14頁 0982055570-0 201111811 述播放單元20輸出之音頻信號可藉由所述兩個喇叭50、 60播出(立體聲播放)或藉由兩者其中之一播出(左聲 道或右聲道播放)。 [0008] 所述電腦100還包括一聲音輸出介面70及一聲音輸入介面 80,所述聲音輸出介面70可將音頻信號藉由一音頻資料 線90輸出至所述聲音輸入介面80。 [0009] 所述測試單元40運行時,可自動設置播放模式(左聲道 、右聲道、立體聲或靜音播放)、控制所述播放單元20 播放相應之音頻文件、開啟電腦之錄音功能、比較分析 〇 輸入音頻及輸出音頻之波形等。 [0010] 請參閱圖2,一種用於測試所述電腦1 00聲音系統之方法 包括以下步驟: [0011] S01 :於所述電腦100之存儲單元10中,儲存三個頻率不 同之音頻文件,如頻率為ΙΚΗζ (千赫茲)之音頻文件1, 頻率為2KHz之音頻文件2及頻率為3KHz音頻文件3,可分 別於左聲道、右聲道及立體聲測試時播放。 y [0012] S02 :所述測試單元40設置左聲道最大音量、右聲道最小 音量(見圖3A),將播放方式設置為左聲道播放。 [0013] S03 :左聲道播放所述音頻文件1,同時啟動錄音功能。 [0014] S04 :錄製並儲存錄音檔1。 [0015] S05 :所述測試單元40設置左聲道最小音量、右聲道最大 音量(見圖3B),將播放方式設置為右聲道播放。 [0016] S06 :右聲道播放所述音頻文件2,同時啟動錄音功能。 098132404 表單編號A0101 第6頁/共14頁 0982055570-0 201111811 [0017] [0018] [0019] [0020] [0021] 〇 [0022] [0023] ❹ [0024] [0025] S07 :錄製並儲存錄音檔2。 S〇8 :所述測試單元4〇設置左聲道最大音量、右聲道最大 音里(見圖3C),將播放方式設置為立體聲播放。 S09 .立體聲播放音頻文件3,同時啟動錄音功能。 si〇 ··錄製並儲存錄音檔3。 SU .將所述音頻文件1、音頻文件2及音頻文件3作為輸 入音頻,所述錄音檔1、錄音檔2及錄音檔3作為輸出音頻 ,分析比較輸出音頻之波形與輸入音頻之波形,於該步 驟中,可利用波形分析軟體比較所述輸出音頻與所述輸 入音頻之頻率及振幅之差別走否七:規^走之範圍内,還可 算出輸出音頻之失真度、信屬泰標。 512 :測出各項指標(包括頻響、失真度及信噪比)是否 於規定之範圍内。 513 :如果各項指標均於規定之範面内,員^輸出測試結果 顯示所述電腦100之聲音系統品質合格(達到規定之標準 514 :如果各項指標均不於規定之範圍内,則輸出測試結 果顯不所述電腦1〇〇之聲音系統品質不合格(未達到規定 之標準)。 於上述測試過程中,環境雜訊對測試結果影響較大,為 排除外界干擾’於錄音之前可賴述音頻f料線9〇將所 述電腦1GG之聲音輸出介面7Q及聲音輸人介蝴連接起來 ,以得到較好之錄音效果。 098132404 表單編號A0101 第7頁/共14頁 0982055570-0 201111811 [0026] 所述電腦100之存儲單元10中還可為靜音測試儲存一音頻 文件4,測試時,可自動設置靜音播放所述音頻文件4, 然後錄製並儲存一錄音檔4。如果錄音檔4是一條音量接 近為0之平緩之曲線,則表明所述電腦100之靜音功能正 常。 [0027] 於本發明較佳實施方式電腦聲音系統測試方法中,測試 過程完全藉由所述電腦100内之測試單元40自動控制,並 自動得出較為精確之測試結果,不需要人工幹預,完全 實現了自動化測試。 [0028] 綜上所述,本創作確已符合發明專利要求,爰依法提出 專利申請。惟,以上所述者僅為本創作之較佳實施例, 舉凡熟悉本創作技藝之人士,爰依本創作之精神所作之 , 等效修飾或變化,皆應涵蓋於以下之申請專利範圍内。 【圖式簡單說明】 [0029] 圖1是一待測電腦之組成圖。 [0030] 圖2是本發明較佳實施方式電腦聲音系統測試方法之流程 圖。 [0031] 圖3A、3B、3C分別是設置左聲道播放、右聲道播放及立 體聲播放之示意圖。 【主要元件符號說明】 [0032] 電腦:100 [0033] 存儲單元:10 [0034] 播放單元:20 098132404 表單編號A0101 第8頁/共14頁 201111811 [0035] [0036] [0037] [0038] [0039] [0040] Ο 錄音單元:30 測試單元:40 剩0八:5 0 ' 6 0 聲音輸出介面:70 聲音輸入介面:80 音頻資料線:90 ❹ 098132404 表單編號A0101 第9頁/共14頁 0982055570-0201111811 VI. Description of the Invention: [Technical Field of the Invention] [0001] The present invention relates to a test method, and more particularly to a test method for a computer sound system. [Previous Tech Lin] [0002] With the development of technology, computers are getting closer to people's lives, and people are increasingly demanding computers. The emergence of multimedia computers has brought the computer away from people's lives. People hope that multimedia computers can play its role more. Nowadays, this requirement has become more and more a reality. In addition to the common functions of design, calculation, text and image processing, computers can also realize TV, telephone, fax, VCD, DVD, radio, audio equipment, etc. The functions of common home information devices can even realize the functions that the original home appliances do not have. To achieve these functions, the computer must have the function of human-machine information dialogue. The main purpose of receiving information is to receive visual information through the eyes and to receive auditory information through the ears. The computer provides visual information to the people through the display, and provides audio information to the people through the audio device. In the multimedia computer, the audio devices (including sound card, speaker, etc.) have the same important position as the display. They are important interfaces for human-computer interaction between computers and computer users. Therefore, it is especially necessary to conduct rigorous testing of its sound system before it leaves the factory. [0003] A traditional method of testing a computer sound system is to place an audio file (an audio file in any format supported by a computer) in a computer to be tested, and play it by left channel and right channel respectively. The operator manually judges the mono broadcast effect; then plays from both the left and right channels (098132404 Form No. A0101 Page 4/14 Page 0992055570-0 201111811 [0004] [0005] Ο 〇 [0006] Stereo), The stereo playback effect is manually determined by the operator. However, the traditional test method requires manual switching of the left and right channels, and the test results are manually judged, and the test efficiency and accuracy are low. SUMMARY OF THE INVENTION In view of the above, it is necessary to provide a computer sound system test method with high test efficiency and high precision. A computer sound system testing method for testing a computer sound system, the computer sound system having the functions of playing left, right, stereo and mute audio files, the test method comprising the following steps: storing more Different audio files to the computer; playing the different audio files in left channel, right channel, stereo and mute manners respectively; using the played audio file as input audio to obtain output audio; The waveform of the output audio is compared to the waveform of the input audio to determine if the quality of the sound system of the computer meets the specified criteria. The computer sound system test method of the present invention can more accurately test whether the computer sound system is qualified by comparing the waveforms of the output audio and the input audio. Compared with the prior art, the computer sound system test method of the present invention can test the sound quality of the computer sound system by comparing the waveforms of the output audio and the input audio, and the test efficiency and accuracy are improved. [0007] Referring to FIG. 1, a computer 100 to be tested includes a storage unit 10 for storing audio files, a playback unit 20 for playing the audio files, a recording unit 30, and a test for testing. The test unit 40 of the sound system of the computer 100. The computer 100 includes two left and right speakers 50, 60, 098132404, form number Α 0101, page 5 / total 14 pages 0992055570-0 201111811 The audio signal outputted by the playback unit 20 can be broadcasted by the two speakers 50, 60 (stereo playback) or by one of the two (left channel or right channel playback). The computer 100 further includes a sound output interface 70 and an audio input interface 80. The sound output interface 70 can output an audio signal to the sound input interface 80 via an audio data line 90. [0009] When the test unit 40 is running, the play mode (left channel, right channel, stereo or mute play) can be automatically set, the playing unit 20 can be controlled to play the corresponding audio file, the recording function of the computer is turned on, and comparison is performed. Analyze the waveforms of the input audio and output audio. [0010] Please refer to FIG. 2, a method for testing the computer 100 sound system includes the following steps: [0011] S01: storing three audio files of different frequencies in the storage unit 10 of the computer 100, For example, audio file 1 with frequency ΙΚΗζ (kilohertz), audio file 2 with frequency of 2KHz and audio file 3 with frequency of 3KHz can be played in left channel, right channel and stereo test respectively. y [0012] S02: The test unit 40 sets the left channel maximum volume, the right channel minimum volume (see FIG. 3A), and sets the play mode to the left channel play. [0013] S03: playing the audio file 1 in the left channel, and simultaneously starting the recording function. [0014] S04: Record and store the recording file 1. [0015] S05: The test unit 40 sets the left channel minimum volume and the right channel maximum volume (see FIG. 3B), and sets the play mode to the right channel play. [0016] S06: playing the audio file 2 in the right channel, and simultaneously starting the recording function. 098132404 Form No. A0101 Page 6 of 14 0982055570-0 201111811 [0017] [0020] [0021] 〇 [0022] [0023] ❹ [0024] [0025] S07: Recording and storing recordings File 2. S〇8: The test unit 4 sets the maximum volume of the left channel and the maximum sound of the right channel (see Fig. 3C), and sets the playback mode to stereo playback. S09. The audio file 3 is played stereo in stereo, and the recording function is activated at the same time. Si〇 · Record and save the recording file 3. SU. The audio file 1, the audio file 2 and the audio file 3 are used as input audio, and the recording file 1, the recording file 2 and the recording file 3 are used as output audio, and the waveform of the output audio and the waveform of the input audio are analyzed and compared. In this step, the waveform analysis software can be used to compare the difference between the frequency and the amplitude of the output audio and the input audio, and the distortion of the output audio and the letter of the beacon can be calculated. 512: Measure whether each indicator (including frequency response, distortion, and signal-to-noise ratio) is within the specified range. 513: If all the indicators are within the prescribed range, the output of the member ^ test results show that the sound quality of the computer 100 is qualified (to meet the prescribed standard 514: if the indicators are not within the specified range, then the output The test results show that the quality of the sound system of the computer is not qualified (the standard is not met). In the above test process, the environmental noise has a great influence on the test results, in order to eliminate the external interference' The audio f feed line 9〇 connects the sound output interface 7Q of the computer 1GG and the sound input interface to obtain a better recording effect. 098132404 Form No. A0101 Page 7 of 14 0982055570-0 201111811 [ The memory unit 10 of the computer 100 can also store an audio file 4 for the mute test. When testing, the audio file 4 can be automatically set to mute, and then a recording file 4 is recorded and stored. If the recording file 4 is A flat curve whose volume is close to 0 indicates that the mute function of the computer 100 is normal. [0027] In the computer sound system testing method of the preferred embodiment of the present invention The test process is automatically controlled by the test unit 40 in the computer 100, and automatically obtains more accurate test results, and does not require manual intervention, and fully realizes the automatic test. [0028] In summary, the creation has indeed In accordance with the requirements of the invention patent, the patent application is filed according to law. However, the above is only the preferred embodiment of the creation, and anyone who is familiar with the creative technique will make equivalent modifications or changes according to the spirit of the creation. [0029] FIG. 1 is a composition diagram of a computer to be tested. [0030] FIG. 2 is a flow chart of a method for testing a computer sound system according to a preferred embodiment of the present invention. [0031] Figures 3A, 3B, and 3C are schematic diagrams of setting left channel playback, right channel playback, and stereo playback, respectively. [Main component symbol description] [0032] Computer: 100 [0033] Storage unit: 10 [0034] Play unit: 20 098132404 Form No. A0101 Page 8 / Total 14 Page 201111811 [0035] [0038] [0040] [0040] 录音 Recording unit: 30 Test unit: 40 Left 0 8: 5 0 ' 6 0 Sound output interface: 70 Sound input interface: 80 Audio data line: 90 ❹ 098132404 Form number A0101 Page 9 of 14 0982055570-0