200915766 九、發明說明: 【發明所屬之技術領域】 本發明有關於音訊系統以及音訊處理方法,特別有關於用 以處理調頻(frequency modulation,以下簡稱FM)音訊資料以 及儲存於儲存裝置中之音訊資料之音訊系統和音訊處理方 法0 【先前技術】 近年來,既可以收聽廣播又可以收聽音訊檔案之音訊播放 器,由於其方便之特性而變得越來越流行。一般說來,既可 以處理FM廣播又可以處理音訊檔案之音訊播放器,需要兩 個數位訊號處理(digital signal processing,以下簡稱DSP)單 元。具體地說,一個DSP單元可以處理FM訊號,另一個 DSP單元可以處理儲存在儲存單元中之音訊訊號。然而,這 種具有兩個DSP單元之結構會消耗大量的電力以及佔據較 大之空間。 【發明内容】 因此,為了解決傳統結構消耗大量的電力以及佔據較大之 空間的問題,提出一種用於音訊播放器之耗電量小且佔據空 間較小之電路板。 本發明實施例提供一種音訊系統,包含向下混頻器,用以 向下轉換類比訊號;類比至數位轉換器,用以將向下轉換後 5 200915766 之類比訊號轉換為第一音訊數位訊號;健存單元,用以儲存 第一音sfl數位訊號;控制單元,用以產生控制訊號;數位訊 號處理單元,用以根據控制訊號處理第一音訊數位訊號與第 二音訊數位訊號其令之一,以產生處理後之音訊數位訊號; 以及數位至類比轉換器,用以將處理後之音訊數位訊號轉換 至處理後的類比訊號用以播放。 本發明實施例還提供一種音訊處理方法,包含向下轉換類 比訊號;將向下轉換後之類比訊號轉換成第一音訊數位訊 號;儲存第二音訊數位訊號;產生控制訊號;根據控制訊號 處理第一音訊數位訊號以及第二音訊數位訊號之其中之 一,以藉由數位訊號處理單元產生處理後之音訊數位訊號; 以及將處理後之音訊數位訊號轉換成處理後之類比訊號以 播放。 本發明實施例還提供一種音訊系統,包含向下轉換裝置, 用以將類比訊號進行向下轉換;類比至數位轉換裝置,用以 將向下轉換後之類比訊號轉換成第一音訊數位訊號;儲存裝 置,用以儲存第二音訊數位訊號;控制裝置,用以產生控制 訊號;處理裝置,用以根據控制訊號處理第一音訊數位訊號 以及第二音訊數位訊號其中之一,以產生處理後之音訊數位 訊號;以及數位至類比轉換裝置,用以將處理後之音訊數位 訊號轉換成處理後之類比訊號以播放。 本發明之DSP單元可以執行兩種訊號處理之功能,fM解 s周變以及音訊解碼,因此,可以減少音訊系統之大小。除此 200915766 之外,可以降低音訊系統之電力消耗。 【實施方式】 為讓本發明之上述和其他目的、特徵、和優點能更明顯易 懂,下文特舉出較佳實施例,並配合所附圖式,作詳細說明 如下: 第1圖為本發明第一實施例之音訊系統之示意圖。音訊系 統1可以接收並處理來自兩個不同訊號源之兩種音訊訊號。 音訊系統1包含天線21,FM前端22,儲存單元23,控制單 元24,DSP單元25,數位至類比轉換器(digital-to-analog converter,以下簡稱 DAC)26,揚聲器(speaker)27。FM 前端 22包括向下混頻器(down mixer)221,數位至類比轉換器 (analog-to-digital converter,以下簡稱 ADC)223。DSP 單元 25包含FM解調變器25卜音訊解碼器253。向下混頻器22卜 ADC223,儲存單元23,控制單元24,DSP單元25以及DAC 26可以全部植入至晶片上。在其他實施例中,向下混頻器 221,ADC 223,儲存單元23,控制單元24,DSP單元25 以及DAC 26可以裝配至電路板上。 在此實施例中,音訊系統1為用以播放音訊資料之多媒體 播放器,但本發明並不限制於此。具體來說,音訊系統1可 以兼容於CD,VCD以及DVD。在其他實施例中,音訊系統 1可以是可攜式設備,如行動電話,個人多媒體播放器 (personal media player,PMP),或者個人數位助理(personal 200915766 digital assistant,PDA)。 天線21自廣播基地台(radio station)接收FM類比訊號 200。向下混頻器221將此FM類比訊號200向下轉換並輸出 向下轉換後之FM類比訊號202。ADC 223再將向下轉換後 之FM類比訊號202轉換成FM音訊數位訊號204。在第一 實施例中,FM音訊數位訊號204為未調變之訊號。由於向 下混頻器221將FM類比訊號200進行向下轉換,所以FM 音sfl數位訊號204位於中頻(intermediate frequency)或基頻 (baseband frequency)。正如熟悉此項技藝者所知,音訊數 位訊號204可以是串聯訊號(seriai signai)或是並聯訊號 (parallel signal) ° 儲存單元23預先將音訊數位訊號206進行儲存,如MP3 訊號。儲存單元23可以是硬碟,致密光碟(c〇mpact disk)或 疋非揮發性此憶體(non-volatile memory)。致密光碟可以是 CD,VCD或者DVD。非揮發性記憶體可以是NAND記憶體 或是快閃記憶體。 音訊系統1具有兩種模式。一種模式是FM模式用以播放 FM音訊數位訊號204,另一種模式是儲存播放(st〇rage playback)模式用以播放音訊數位訊號2〇6。使用者可以藉由 輸入指令至音訊系統1以選擇任意模式來播放對應訊號。控 制單元24根據使用者指令產生控制訊號2〇8,控制訊號2〇8 指示模式之選擇。 DSP單元25根據控制訊號208處理FM音訊數位訊號2〇4 200915766 以及音訊數位訊號鳩的其中之一。如果選擇ρΜ模式,舰 解調變器25Uf FM音訊數位訊號綱進行解調冑,並產生 處理後之音訊數位訊號21〇。如果選擇儲存播放模式,音訊 解碼器253冑音訊數位訊號2〇6進行解碼,這樣 之音訊數位訊號21〇則為音訊解碼器253之輸出訊號。罐 26再將纽後之音訊數位訊號2_換成處理後之類比訊 212’然後將處理後之類比訊號212傳送至揚聲器η進行播 放。 本發明之第二實施例為音訊處理方法, 立 如前面說狀音訊純卜第2_音城心圈’。 在4 201中’天線用以接收FM音訊類比訊號。在步驟加 中’向下混頻器對FM音訊類比訊號進行向下轉換。在步驟 2〇5中,藉由ADC將向下轉換後iFM音訊類比訊號轉換成 ™音訊數位訊號。在步驟2〇7中,儲存單元儲存另外之音 訊數位訊號。在步驟209中,控制單元產生控制訊號,其中 根據使用者指令產生控制訊號。在步驟211中,根據控制訊 號處理FM音5fl數位訊號或是音訊數位訊號,以藉由Dsp單 元產生處理後之音訊數位訊號。在步驟213中,DAC將處理 後之音訊數位訊號轉換成處理後之類比訊號。最後,在步驟 21:>,處理後之類比訊號藉由揚聲器而播放。所以,使用者 便可以收聽FM音訊數位訊號或是音訊數位訊號。 除了第2圖中所顯示之步驟,第二實施例可以執行第—實 施例中所有之操作和功能。任何熟悉此項技藝者基於第—實 200915766 施例之描述,應該可以理解第二實施例怎樣執行第一實施例 之所有操作和功能。故不贅述。 本發明之DSP單元可以執行兩種訊號處理之功能,FM解 調變以及音訊解碼,因此,可以減少音訊系統之大小。除此 之外,可以降低音訊系統之電力消耗。 雖然本發明已以較佳實施例揭露如上,然其並非用以限定 本發明,任何熟悉此項技藝者,在不脫離本發明之精神和範 圍内,當可做些許更動與潤飾,因此本發明之保護範圍當視 後附之申請專利範圍所界定者為準。 【圖式簡單說明】 第1圖為本發明第一實施例之音訊系統之示意圖。 第2圖為音訊處理方法之流程圖。 【主要元件符號說明】 22〜FM前端 25〜DSP單元 27〜揚聲器 253〜音訊解碼器 1〜音訊系統 21〜天線 23〜儲存單元 24〜控制單元 26〜數位至類比轉換器 251〜FM解調變器 221〜向下混頻器 223〜數位至類比轉換器 200〜FM類比訊號 202〜向下轉換後之FM類比訊號 204〜FM音訊數位訊號 10 200915766 206〜音訊數位訊號 208〜控制訊號 210〜處理後之音訊數位訊號 212〜處理後之類比訊號 11The invention relates to an audio system and an audio processing method, and more particularly to processing frequency modulation (FM) audio data and audio data stored in a storage device. Audio system and audio processing method 0 [Prior Art] In recent years, an audio player that can listen to both radio and audio files has become more and more popular due to its convenient features. In general, an audio player that can handle both FM broadcast and audio files requires two digital signal processing (DSP) units. Specifically, one DSP unit can process the FM signal, and the other DSP unit can process the audio signal stored in the storage unit. However, this structure with two DSP units consumes a lot of power and takes up a lot of space. SUMMARY OF THE INVENTION Therefore, in order to solve the problem that a conventional structure consumes a large amount of power and occupies a large space, a circuit board for a small amount of power consumption and occupying a small space for an audio player is proposed. An embodiment of the present invention provides an audio system including a down mixer for down-converting an analog signal, and an analog-to-digital converter for converting a down-converted analog signal of 5 200915766 into a first audio digital signal; a storage unit for storing a first tone sfl digital signal; a control unit for generating a control signal; and a digital signal processing unit for processing one of the first audio digital signal and the second audio digital signal according to the control signal, To generate a processed audio digital signal; and a digital to analog converter for converting the processed audio digital signal to the processed analog signal for playback. The embodiment of the present invention further provides an audio processing method, including: downconverting an analog signal; converting the down converted analog signal into a first audio digital signal; storing a second audio digital signal; generating a control signal; processing the control signal according to the control signal One of an audio digital signal and a second audio digital signal to generate a processed audio digital signal by the digital signal processing unit; and convert the processed audio digital signal into a processed analog signal for playback. The embodiment of the present invention further provides an audio system, including a down conversion device for down-converting an analog signal, and an analog to digital conversion device for converting the down-converted analog signal into a first audio digital signal; a storage device for storing a second audio digital signal; a control device for generating a control signal; and processing means for processing one of the first audio digital signal and the second audio digital signal according to the control signal to generate a processed signal An audio digital signal; and a digital to analog conversion device for converting the processed audio digital signal into a processed analog signal for playback. The DSP unit of the present invention can perform two kinds of signal processing functions, fM s s variation and audio decoding, and therefore, the size of the audio system can be reduced. In addition to this 200915766, the power consumption of the audio system can be reduced. BRIEF DESCRIPTION OF THE DRAWINGS The above and other objects, features, and advantages of the present invention will become more fully understood from A schematic diagram of an audio system of the first embodiment of the invention. The audio system 1 can receive and process two types of audio signals from two different sources. The audio system 1 includes an antenna 21, an FM front end 22, a storage unit 23, a control unit 24, a DSP unit 25, a digital-to-analog converter (DAC) 26, and a speaker 27. The FM front end 22 includes a down mixer 221 and an analog-to-digital converter (ADC) 223. The DSP unit 25 includes an FM demodulator 25 audio decoder 253. Downconverter 22, ADC 223, storage unit 23, control unit 24, DSP unit 25, and DAC 26 may all be implanted onto the wafer. In other embodiments, down mixer 221, ADC 223, storage unit 23, control unit 24, DSP unit 25, and DAC 26 may be mounted to the board. In this embodiment, the audio system 1 is a multimedia player for playing audio data, but the present invention is not limited thereto. Specifically, the audio system 1 can be compatible with CDs, VCDs, and DVDs. In other embodiments, the audio system 1 can be a portable device such as a mobile phone, a personal media player (PMP), or a personal digital assistant (PDA). The antenna 21 receives the FM analog signal 200 from a radio station. The down mixer 221 downconverts the FM analog signal 200 and outputs the down converted FM analog signal 202. The ADC 223 then converts the down converted FM analog signal 202 into an FM audio digital signal 204. In the first embodiment, the FM audio digital signal 204 is an unmodulated signal. Since the FM analog signal 200 is down-converted by the down mixer 221, the FM tone sfl digital signal 204 is located at an intermediate frequency or a baseband frequency. As is known to those skilled in the art, the audio digital signal 204 can be a serial signal (seriai signai) or a parallel signal. The storage unit 23 pre-stores the audio digital signal 206, such as an MP3 signal. The storage unit 23 may be a hard disk, a compact disk or a non-volatile memory. The compact disc can be a CD, a VCD or a DVD. Non-volatile memory can be NAND memory or flash memory. The audio system 1 has two modes. One mode is the FM mode for playing the FM audio digital signal 204, and the other mode is the st播放rage playback mode for playing the audio digital signal 2〇6. The user can play the corresponding signal by inputting an instruction to the audio system 1 to select any mode. The control unit 24 generates a control signal 2〇8 according to a user command, and the control signal 2〇8 indicates the mode selection. The DSP unit 25 processes one of the FM audio digital signals 2〇4 200915766 and the audio digital signal 根据 according to the control signal 208. If the ρΜ mode is selected, the ship demodulation device 25Uf FM audio digital signal is demodulated, and the processed audio digital signal 21〇 is generated. If the storage mode is selected, the audio decoder 253 decodes the audio signal 2〇6, so that the audio signal 21 is the output signal of the audio decoder 253. The canister 26 then replaces the audio signal 2_ of the rear button with the processed analog signal 212' and then transmits the processed analog signal 212 to the speaker η for playback. The second embodiment of the present invention is an audio processing method, as described above, in the form of a second audio core. In 4 201 'the antenna is used to receive the FM audio analog signal. In the step plus 'down mixer', the FM audio analog signal is down-converted. In step 2〇5, the down converted iFM audio analog signal is converted into a TM audio digital signal by the ADC. In step 2〇7, the storage unit stores another audio digital signal. In step 209, the control unit generates a control signal, wherein the control signal is generated based on the user command. In step 211, the FM tone 5fl digital signal or the audio digital signal is processed according to the control signal to generate the processed audio digital signal by the Dsp unit. In step 213, the DAC converts the processed audio digital signal into a processed analog signal. Finally, in step 21: >, the processed analog signal is played by the speaker. Therefore, the user can listen to the FM audio digital signal or the audio digital signal. In addition to the steps shown in Fig. 2, the second embodiment can perform all of the operations and functions of the first embodiment. Anyone skilled in the art will be able to understand how the second embodiment performs all of the operations and functions of the first embodiment based on the description of the first embodiment of the present invention. Therefore, I will not repeat them. The DSP unit of the present invention can perform two types of signal processing functions, FM demodulation and audio decoding, thereby reducing the size of the audio system. In addition to this, the power consumption of the audio system can be reduced. While the present invention has been described in its preferred embodiments, the present invention is not intended to limit the invention, and the present invention may be modified and modified without departing from the spirit and scope of the invention. The scope of protection is subject to the definition of the scope of the patent application. BRIEF DESCRIPTION OF THE DRAWINGS Fig. 1 is a schematic diagram of an audio system according to a first embodiment of the present invention. Figure 2 is a flow chart of the audio processing method. [Main component symbol description] 22 to FM front end 25 to DSP unit 27 to speaker 253 to audio decoder 1 to audio system 21 to antenna 23 to storage unit 24 to control unit 26 to digital to analog converter 251 to FM demodulation 221~down mixer 223~digit to analog converter 200~FM analog signal 202~down analog FM analog signal 204~FM audio digital signal 10 200915766 206~audio digital signal 208~control signal 210~ processing After the audio digital signal 212~ processed analog signal 11