201201198 六、發明說明: 【發明所屬之技術領域】 本發明係有關於-種多媒體播放裝置,尤指一種可以主動消匕 外部噪音的-㈣體播放裝置以及產生多媒體播放裝置之輪出訊^ 【先前技術】 S使用者在吵雜環境下使用多媒體播放裝置來收聽音樂或 播常會因為外部㈣音干擾(例如汽車、街道人聲等等〕二 使得使用者無法清楚喊聽到音樂或是廣播,因而影響到收聽品 質因此’如何提供—種可將外部啤音消除的方法以提供使用 好的收聽品質’係為—重要的課題。 【發明内容】 因此本發明的目的之一在於提供一多媒體播放裝置以及產生 。玄夕媒體触裝置之—糾職的方法,其可以有效地;肖除外部噪 音,以解決上述的問題。 施例’—多媒體播放裝置包含有-接收電 路反向魏處理單元、一混合器以及一輸出電路。該接收電路 係用來接收‘媒體播放裝置之—外部訊號以產生—接收訊號;該 反向减處理單疋係㈣於該接收電路,且絲反向該接收訊號以 201201198 產生一反向接收訊號;該混合器係耦接於該反向訊號處理單元,且 用來將該反向接收訊號與一多媒體聲音訊號作混音操作,以產生一 混音後訊號;該輸出電路係耦接於該混合器,且用來依據該混音後 訊號來產生該多媒體播放裝置之一輸出訊號。 依據本發明之另一實施例,一種產生一多媒體播放裝置之一輸 出訊號的方法包含有:接收該多媒體播放裝置之一外部訊號以產生 一接收訊號;反向該接收訊號以產生一反向接收訊號;將該反向接 * 收訊號與一多媒體聲音訊號作混音操作,以產生一混音後訊號;以 及依據該混音後訊號來產生該多媒體播放裝置之該輸出訊號。 【實施方式】 請參考第1圖,第1圖為依據本發明一第一實施例之多媒體播 放裝置100的示意圖。如第1圖所示,多媒體播放裝置1〇〇包含有 一接收電路110、一反向訊號處理單元130、一混合器140以及一輸 • 出電路150。此外’在多媒體播放裝置100的操作上,接收電路11〇 接收多媒體播放裝置1〇〇之一外部訊號Sext以產生一接收訊號sr; 接著,反向訊號處理單元130反向接收訊號Sr以產生一反向接收訊 號Sr’ ;接著,混合器14〇將反向接收訊號&,與一多媒體聲音訊號 Smm作混音操作,以產生一混音後訊號smix ;最後,輸出電路bo 對混音後訊號Smix進行處理以產生一輸出訊號s〇ut。舉例而言, 上述之多媒體聲音訊號Smm可包含CD·Audio、Wave、MIDI或者 MP3等聲音格式,但本發明並不以此為限。 201201198 明參考第2圖’第2圖為依據本發明一第二實施例之多媒體播 放裝置200的示意圖。如第2圖所示,多媒體播放裝置2〇〇包含有 一接收電路210、一反向訊號處理單元(於本實施例中,係以一可 適性濾波器(adaptivefilterWSO為例)、一混合器(於本實施例中, 係以-加法器240為例)、以及-輸出電路25〇,其中接收電路21〇 包含有-接收單το 212 Μ及-類比數位轉換$ 22〇,且輸出電路25〇 包含有一數位類比轉換器260以及一輸出單元252。此外,類比數 位轉換器220包含有一類比增益調整單元222、一類比數位轉換單 元224以及一數位增益調整單元226,且數位類比轉換 器260包含 有一數位類比轉換單元264以及一類比增益調整單元266。此外, 接收電路210係输於—麥克風2〇2,且輸出電路25〇 _接於一 耳機204。 凊/主思,上述之多媒體播放裝置200可以是任何可以播放出多 媒體聲音或廣_裝置,例如手機、刪播放ϋ、DVD播放器、 筆記型電腦...等等。 請同時參考第2圖以及第3圖,第3圖為依據本發明—實施例 之產生夕媒體播放裝置之—輸出訊號之方法的流程圖。參考第 3圖,流程敎述如下: 首先,於步驟300中,接收單元212自麥克風202接收多媒體 201201198 播放裝置200之一外部訊號Sext以產生一接收後外部訊號Sext,, 其中此外部訊號可視為多媒體播放裝置200之一外部噪音訊號,且 接收後外部訊號Sext’可以由外部訊號Sext進行任何前端訊號處理 後產生’或甚至接收後外部訊號Sext,即為外部訊號Sext本身。接 著,在步驟302中,類比數位轉換器220將接收後外部訊號^以, 進行增益調整(由類比增益調整單元222以及數位增益調整單元226 進行)以及類比數位轉換操作(由類比數位轉換單元224進行)以 •產生一接收訊號&。在步驟扣4中,可適性濾波器23〇對接收訊號 進行一濾波操作以及反向操作以產生一反向接收訊號Sr,,值得注意 的是,反向接收訊號Sr,與接收訊號Sr的組成頻率、強度與特徵實 質上相同’但反向接收訊號Sr’與接收訊號sr的相位相反。 請參考第4圖,第4圖為可適性濾波器230的示意圖,可適性 應波器230 &含有-濾、波單元232、一加法器234以及一係數調整 單元236在"T適性;慮波器230的操作上,首先,遽波單元232將 接收訊號Sr⑻進行-滤、波操作以產生一渡波後接收訊號d,⑻;接 著,加法器將濾波後接收訊號d,(n)以及一理想接收訊號d(n)相減以 得到一誤差訊號e(n),其中理想接收訊號d(n)可以藉由將濾波後接 收訊號d’(n)進行一硬式決定(harddecisi〇n)來產生;接著,係數 调整單70 236依據接收訊號Sr(n)以及誤差訊號e(n)來決定出濾波單 元232中接頭(tap)係數Wn所需的誤差調整值AWn ;最後,濾波 單元232依據誤差調整值AWn來調整其中的接頭係數^^^。此外, 將上述的理想接收訊號d(n)進行反向操作便可以產生反向接收訊 201201198 號Sr, 此外,於本發明之_實施例,可適性濾波器BO之輸出端亦可 另包含-數位增益調整單元,亦、即反向接收訊號s r,係由上述的理邦 接收訊號d⑻進行反向操作以及—增益調整操作以產生。心 接著’在步驟306中,加法器240將反向接收訊號&,與一多媒 體聲音訊號S咖作混音操作,以產生—混音後訊號⑽。於步驟 ^中’數位類轉換li 將混音後訊號進行數位類比轉換 ^作以及增益調整操作以產生一輸㈣號⑽。最後,於步驟31〇 二=了请出訊號S〇Ut進行處理後,將所產生的處理後 輸出Λ?虎Sout傳送至耳機204。 此外,多媒體播放裝置2〇〇中的可$ 蹊决絲T的了雜献器230可以使用電 路來實作,或疋使用如第5圖所示之一 式碼36的—儲存單元534來實作,亦g卩^ ^ ^ 執行時,程式碼536對接收訊號Sr進^ ^碼536被處理㈣2 反向接收訊號Sr,。 T—可雜濾波猶來產生該 此外,於第2圖所示之實施例中,、日 作,然而,本發明並不以此為限。於太^器係以加法器來實 器可以將反向接收峨&,與多_ 明之其他實施射,混合 音操作,例如將反向接收訊號Sr,與作其他方式的渡 寒體聲音訊號Smm加權相 201201198 加…等等’以產生混音後訊號Smix,這些設計上的變化均應 本發明的範疇。 "" ' 此外,第2圖所示之類比增益調整單元222、266、數位增益調 整單元226、以及可包含於可適性滤波器23〇之輸出端的數位增益 調整單it係絲將反向接收訊號&,_度調整至接近人耳真正^ 外部噪音訊號的聽感,以使得所產生的輸出訊號s〇ut能夠確實抵銷 鲁外部噪音訊號。然而’於本發明之其他實施例中,可以將類比增益 調整單元222、266、數位增益調整單元226中部分的增益調整單元 移除’舉例來說,類比數位轉換器22〇中可以僅需要一個增益調整 電路’亦即類比增益調整單元222或是數位增益調整單元挪中二 -可以自類比數位轉換器220中移除:讀比增益調整單元266與 設置於可適性濾波器230之輸出端的數位增益調整單元中其一亦可 以移除。這些設計上的變化均應隸屬於本發明的範疇。 ⑩ 此外’第2 ®所示之多媒_放單元2GG係將外部訊號Sext轉 換為數位訊號再進行處理,然而,於本發明之其他實施例中,可以 直接以類比訊號處理的方式來產生輸出訊號s〇ut。請參考第6圖, 第6圖為依據本發明一第三實施例之多媒體播放裝置6〇〇的示意 圖。如第6圖所示,多媒體播放裝置600包含有一接收電路61〇、 反向況號處理單元(於本實施例令,係以一可適性遽波器63〇為 例)、一混合器(於本實施例中,係以一加法器64〇為例)、以及— 輸出電路650。此外,接收電路610係耦接於一麥克風602,且輸出 201201198 電路650係輕接於一耳機604。 在多媒體播放裝置600的操作上,接收電路61〇自麥克風⑼2 接收多媒體播放裝置600之-外部訊號Sext,其中此外部訊號可視 為多媒體播放裝置600之-外部噪音訊號,且接收電路_對外部 訊號Sext進行-增益輕處理以及其他操作以產生―接收訊號 接著,可適性遽波器630對接收訊號進行一遽波操作以及反向操作 以產生一反向接收訊號Sr’ ’其中反向接收織&,與接收訊號^ 的、、且成頻率、強度與特徵實質上相同,但反向接收訊號&,與接收訊_ 號Sr的相位相反。接著,加法器64〇將反向接收訊號心,與多媒體 聲音訊號Smm作混音操作,以產生—混音後訊號㈣。最後,輸 出電路650對混音後訊號細進行處理以產生一輸出訊號s⑽, 並將輸出訊號Sout傳送至耳機6〇4。 簡要歸納本發明,於本發明之多媒體播放裝置以及產生多媒體 播放襄置之輸出訊號的方法中’係藉由產生與外部噪音反向之一反籲 向如虎,並將該反向訊號與一多媒體聲音訊號進行混音操作後傳送 ^機作為輸出。如此—來’外部噪音會與所產生之反向訊號互相 錢財所收聽咖為沒有任何噪音干擾的㈣體聲音訊 戒’而増進了收聽品質。 麻以上所述僅為本發明之較佳實施例,凡依本發明申請專利範圍 斤做之均等變化與修飾,皆應屬本發明之涵蓋範圍。 10 201201198 【圖式簡單說明】 第1圖為依據本發明一第一實施例之多媒體播放骏置的示竞圖。 第2圖為依據本發明一第二實施例之多媒體播放裝置的示音圖。 第3圖為依據本發明一實施例之產生多媒體播放裝置之一輸出吼號 之方法的流程圖。 第4圖為第2圖所示之可適性滤波器的示意圖。 第5圖為使用一處理器以及儲存有一程式碼的一儲存單元來實作第 2圖所示之可適性濾波器的示意圖。 第6圖為依據本發明一第三實施例之多媒體播放裝置的示意圖。 【主要元件符號說明】 100、200、600 多媒體播放裝置 130 反向訊號處理單元 140 混合器 202 、 602 麥克風 204 、 604 耳機 110、210、610 接收電路 212 接收單元 220 類比數位轉換器 222 類比增益調整單元 224 、 266 類比數位轉換單元 226 數位增益調整單元 201201198 230 、 630 可適性濾波器 232 濾波單元 236 係數調整單元 234、240、640 加法器 150 ' 250 ' 650 輸出電路 252 輸出單元 260 數位類比轉換器 264 數位類比轉換單元 532 處理器 534 儲存單元 536 程式碼 12201201198 VI. Description of the Invention: [Technical Field] The present invention relates to a multimedia playback device, and more particularly to a (four) body playback device capable of actively eliminating external noise and a round of communication for generating a multimedia playback device. Prior Art] S users use multimedia playback devices to listen to music or broadcast in noisy environments. Because of external (four) tone interference (such as cars, street vocals, etc.), the user cannot clearly hear music or broadcast, thus affecting It is an important subject to the quality of the listening, therefore, how to provide a method for eliminating external beer sounds to provide good listening quality. [Invention] It is therefore an object of the present invention to provide a multimedia playback device and The method of rectifying the work of Xuanxi Media Touch Device can effectively solve the above problems by removing external noise. Example 'Multimedia playback device includes a receiving circuit, a reverse processing unit, a hybrid And an output circuit for receiving the 'media playback device' The signal is generated to receive a signal; the reverse subtraction unit is (4) in the receiving circuit, and the wire reverses the receiving signal to generate a reverse receiving signal at 201201198; the mixer is coupled to the reverse signal processing unit And combining the reverse receiving signal with a multimedia audio signal to generate a mixed signal; the output circuit is coupled to the mixer, and configured to generate the signal according to the sound mixing One of the multimedia playback devices outputs a signal. According to another embodiment of the present invention, a method for generating an output signal of a multimedia playback device includes: receiving an external signal of the multimedia playback device to generate a received signal; Receiving a signal to generate a reverse receiving signal; mixing the reversed receiving signal with a multimedia audio signal to generate a mixed signal; and generating the multimedia playing device according to the mixed signal [Embodiment] Please refer to FIG. 1 , which is a schematic diagram of a multimedia playback device 100 according to a first embodiment of the present invention. As shown in Fig. 1, the multimedia playback device 1A includes a receiving circuit 110, a reverse signal processing unit 130, a mixer 140, and an output circuit 150. Further, the operation of the multimedia playback device 100 The receiving circuit 11 receives an external signal Sext of the multimedia playback device 1 to generate a received signal sr; then, the reverse signal processing unit 130 reversely receives the signal Sr to generate a reverse received signal Sr'; The mixer 14 detects the reverse reception signal & and a multimedia audio signal Smm to generate a mixed signal smix; finally, the output circuit bo processes the mixed signal Smix to generate an output signal. For example, the above-mentioned multimedia audio signal Smm may include a sound format such as CD·Audio, Wave, MIDI or MP3, but the invention is not limited thereto. 201201198 Referring to FIG. 2', FIG. 2 is a schematic diagram of a multimedia playback device 200 in accordance with a second embodiment of the present invention. As shown in FIG. 2, the multimedia playback device 2 includes a receiving circuit 210 and a reverse signal processing unit (in the embodiment, an adaptive filter (adaptive filter WSO is taken as an example), a mixer (in the case of In this embodiment, the adder 240 is taken as an example, and the output circuit 25A, wherein the receiving circuit 21A includes a -received single το 212 Μ and an analog-to-digital conversion $22〇, and the output circuit 25 includes There is a digital analog converter 260 and an output unit 252. In addition, the analog digital converter 220 includes an analog gain adjustment unit 222, an analog digital conversion unit 224, and a digital gain adjustment unit 226, and the digital analog converter 260 includes a digital bit. The analog conversion unit 264 and the analog gain adjustment unit 266. In addition, the receiving circuit 210 is connected to the microphone 2〇2, and the output circuit 25〇_ is connected to an earphone 204. The main multimedia playback device 200 can be Is any multimedia sound or wide device that can be played, such as mobile phones, deleted games, DVD players, notebook computers, etc. Please also refer to 2 and 3, FIG. 3 is a flow chart of a method for outputting a signal according to an embodiment of the present invention, which is described below. Referring to FIG. 3, the flow is as follows: First, in step 300 The receiving unit 212 receives the external signal Sext of the multimedia device 201201198 from the microphone 202 to generate a received external signal Sext, wherein the external signal can be regarded as an external noise signal of the multimedia playback device 200, and the external signal Sext is received. 'Any external signal Sext can be generated by the external signal Sext to generate 'or even after receiving the external signal Sext, which is the external signal Sext itself. Then, in step 302, the analog digital converter 220 will receive the external signal ^, The gain adjustment (performed by the analog gain adjustment unit 222 and the digital gain adjustment unit 226) and the analog digital conversion operation (performed by the analog digital conversion unit 224) to generate a reception signal & in step 4, the adaptive filter 23〇 performing a filtering operation on the received signal and performing a reverse operation to generate a reverse received signal Sr It should be noted that the reverse reception signal Sr is substantially the same as the composition frequency, intensity and characteristics of the reception signal Sr, but the reverse reception signal Sr' is opposite to the phase of the reception signal sr. Please refer to FIG. 4, 4 is a schematic diagram of the adaptive filter 230, the adaptive filter 230 & contain-filter, wave unit 232, an adder 234, and a coefficient adjustment unit 236 in "T adaptability; operation of the filter 230 First, the chopping unit 232 performs a -filtering and wave operation on the received signal Sr(8) to generate a wave after receiving the signal d, (8); then, the adder will filter the received signal d, (n) and an ideal received signal d(n) Subtracting to obtain an error signal e(n), wherein the ideal received signal d(n) can be generated by performing a hard decision (harddecisi〇n) on the filtered received signal d'(n); The single 70 236 determines the error adjustment value AWn required for the tap coefficient Wn in the filtering unit 232 according to the received signal Sr(n) and the error signal e(n); finally, the filtering unit 232 adjusts according to the error adjustment value AWn. The joint coefficient ^^^. In addition, the reverse reception of the ideal reception signal d(n) can generate reverse reception 201201198 Sr. Further, in the embodiment of the present invention, the output of the adaptive filter BO can be further included - The digital gain adjustment unit, that is, the reverse reception signal sr, is reversely operated by the above-described state receiving signal d(8) and a gain adjustment operation is generated. The heart then 'in step 306, the adder 240 mixes the reverse received signal & with a multimedia audio signal S to produce a post-mixed signal (10). In step ^, the 'digital class conversion li' performs a digital analog conversion and a gain adjustment operation to generate a loss (four) number (10). Finally, in step 31〇2, the processing signal S〇Ut is processed, and the generated processed output is transmitted to the earphone 204. In addition, the splicer 230 of the multimedia playback device 2 can be implemented using a circuit, or can be implemented using a storage unit 534 of the code 36 as shown in FIG. , also g卩^ ^ ^ When executed, the program code 536 is processed by the received signal Sr ^ ^ code 536 (4) 2 reverse receiving signal Sr. In the embodiment shown in Fig. 2, the present invention is not limited thereto. The UT device uses an adder to implement the reverse reception 峨&, and other implementations of the multi-mode, mixed-tone operation, such as the reverse reception signal Sr, and other modes of the cold body sound signal Smm weighted phase 201201198 plus...etc' to produce the mixed signal Smix, these design variations are within the scope of the present invention. "" ' In addition, the analog gain adjustment unit 222, 266, the digital gain adjustment unit 226 shown in Fig. 2, and the digital gain adjustment single it wire which can be included in the output end of the adaptive filter 23〇 will be reversed. The received signal & _ degree is adjusted to the sense of hearing of the external noise signal of the human ear, so that the generated output signal s〇ut can actually offset the external noise signal. However, in other embodiments of the present invention, the gain adjustment units of the analog gain adjustment units 222, 266 and the portion of the digital gain adjustment unit 226 may be removed. For example, only one of the analog digital converters 22 may be needed. The gain adjustment circuit 'that is, the analog gain adjustment unit 222 or the digital gain adjustment unit 2 can be removed from the analog digital converter 220: the read ratio gain adjustment unit 266 and the digits set at the output of the adaptive filter 230 One of the gain adjustment units can also be removed. These design changes are subject to the scope of the present invention. 10 In addition, the multimedia source unit 2GG shown in the second embodiment converts the external signal Sext into a digital signal for processing. However, in other embodiments of the present invention, the output can be directly processed by analog signal processing. Signal s〇ut. Please refer to FIG. 6. FIG. 6 is a schematic diagram of a multimedia playback device 6A according to a third embodiment of the present invention. As shown in FIG. 6, the multimedia playback device 600 includes a receiving circuit 61, a reverse status processing unit (in the embodiment, an adaptive chopper 63 is taken as an example), and a mixer (in the case of In the present embodiment, an adder 64 is taken as an example, and an output circuit 650 is used. In addition, the receiving circuit 610 is coupled to a microphone 602, and the output 201201198 circuit 650 is lightly coupled to an earphone 604. In the operation of the multimedia playback device 600, the receiving circuit 61 receives the external signal Sext of the multimedia playback device 600 from the microphone (9) 2, wherein the external signal can be regarded as an external noise signal of the multimedia playback device 600, and the receiving circuit _ the external signal Sext performs a gain-light processing and other operations to generate a "received signal." The adaptive chopper 630 performs a chopping operation on the received signal and a reverse operation to generate a reverse received signal Sr'. ;, and the receiving signal ^, and the frequency, intensity and characteristics are substantially the same, but the reverse receiving signal &, is opposite to the phase of the receiving signal Sr. Then, the adder 64 〇 will receive the signal heart in reverse and mix it with the multimedia sound signal Smm to generate a signal (4) after mixing. Finally, the output circuit 650 processes the mixed signal to generate an output signal s(10) and transmits the output signal Sout to the earphone 6〇4. Briefly summarizing the present invention, in the multimedia playback device of the present invention and the method for generating an output signal of the multimedia playback device, 'by reversing the opposition to the external noise, and the reverse signal is associated with a multimedia. After the sound signal is mixed, the machine is transmitted as an output. In this way, the external noise will be compared with the generated reverse signal. The money is listened to by the (4) body sound ring without any noise interference, and the quality of the listening is broken. The above is only the preferred embodiment of the present invention, and all the equivalent variations and modifications of the scope of the invention should be within the scope of the present invention. 10 201201198 [Simplified Description of the Drawings] Fig. 1 is a diagram showing the competition of the multimedia playing device according to the first embodiment of the present invention. 2 is a sound diagram of a multimedia playback device according to a second embodiment of the present invention. Figure 3 is a flow chart showing a method of generating an output nickname of a multimedia playback device in accordance with an embodiment of the present invention. Figure 4 is a schematic diagram of the adaptive filter shown in Figure 2. Figure 5 is a diagram showing the implementation of the adaptive filter shown in Figure 2 using a processor and a memory unit storing a code. Figure 6 is a schematic diagram of a multimedia playback device in accordance with a third embodiment of the present invention. [Main component symbol description] 100, 200, 600 multimedia playback device 130 reverse signal processing unit 140 mixer 202, 602 microphone 204, 604 earphone 110, 210, 610 receiving circuit 212 receiving unit 220 analog digital converter 222 analog gain adjustment Unit 224, 266 Analog-to-digital conversion unit 226 Digital gain adjustment unit 2012011098 230, 630 Adaptive filter 232 Filter unit 236 Coefficient adjustment unit 234, 240, 640 Adder 150 '250' 650 Output circuit 252 Output unit 260 Digital analog converter 264 digital analog conversion unit 532 processor 534 storage unit 536 code 12