TWI654599B - Electronic apparatus with audio compensating mechanism and audio compensating method thereof - Google Patents

Electronic apparatus with audio compensating mechanism and audio compensating method thereof

Info

Publication number
TWI654599B
TWI654599B TW106122842A TW106122842A TWI654599B TW I654599 B TWI654599 B TW I654599B TW 106122842 A TW106122842 A TW 106122842A TW 106122842 A TW106122842 A TW 106122842A TW I654599 B TWI654599 B TW I654599B
Authority
TW
Taiwan
Prior art keywords
audio
data
sound
audio data
compensation
Prior art date
Application number
TW106122842A
Other languages
Chinese (zh)
Other versions
TW201907393A (en
Inventor
王勝豐
蔡敷恩
Original Assignee
圓展科技股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 圓展科技股份有限公司 filed Critical 圓展科技股份有限公司
Priority to TW106122842A priority Critical patent/TWI654599B/en
Publication of TW201907393A publication Critical patent/TW201907393A/en
Application granted granted Critical
Publication of TWI654599B publication Critical patent/TWI654599B/en

Links

Abstract

本發明揭露一種具音訊補償機制的電子裝置與其音訊補償方法。一種電子裝置包括一聲音模組、至少二音訊接收模組以及一補償模組。聲音模組輸出一聲音資料。至少二音訊接收模組分別依聲音資料對應產生一第一音訊資料及一第二音訊資料。補償模組於第一音訊資料與第二音訊資料彼此相同時,判斷第一音訊資料及/或第二音訊資料與聲音資料不同時,提供一第一音訊補償資料至聲音模組;或於第一音訊資料及第二音訊資料彼此不同時,分別判斷第一音訊資料及第二音訊資料與其對應之一預設音訊資料不同時,提供一第二音訊補償資料至音訊接收模組。 The invention discloses an electronic device with an audio compensation mechanism and an audio compensation method thereof. An electronic device includes an audio module, at least two audio receiving modules, and a compensation module. The sound module outputs a sound data. The at least two audio receiving modules respectively generate a first audio data and a second audio data according to the sound data. The compensation module provides a first audio compensation data to the sound module when the first audio data and/or the second audio data are different from the sound data when the first audio data and the second audio data are identical to each other; When the audio data and the second audio data are different from each other, when the first audio data and the second audio data are different from the corresponding one of the preset audio data, a second audio compensation data is provided to the audio receiving module.

Description

具音訊補償機制的電子裝置與其音訊補償方法 Electronic device with audio compensation mechanism and audio compensation method thereof

本發明係關於一種電子裝置與音訊補償方法,且特別是有關於一種對老化聲學元件進行其音質補償的具音訊補償機制的電子裝置與其音訊補償方法。 The present invention relates to an electronic device and an audio compensation method, and more particularly to an electronic device with an audio compensation mechanism and an audio compensation method thereof for performing sound quality compensation on an aging acoustic element.

現行電子裝置,大多裝設有複數個聲學元件,例如數個麥克風等,待電子裝置於出廠後,使用一段時間,則其附屬的聲學元件則會隨時間漸漸老化,因此造成收到的聲音品質下降。 Most of the current electronic devices are equipped with a plurality of acoustic components, such as a plurality of microphones. After the electronic device is used for a period of time after being shipped from the factory, the attached acoustic components gradually age over time, thereby causing the received sound quality. decline.

在現行聲音品質的補償技術中,通常是將電子裝置送回原廠或送至電子裝置的廠商配合的實驗室,電子裝置的數個麥克風接收一標準音源的一聲音訊號後產生一接收訊號,藉由比較接收訊號與麥克風的預設接收訊號是否相同,因而可對麥克風進行補償。 In the current sound quality compensation technology, the electronic device is usually sent back to the original factory or sent to the manufacturer of the electronic device. The microphones of the electronic device receive a sound signal of a standard sound source to generate a receiving signal. The microphone can be compensated by comparing whether the received signal is the same as the preset received signal of the microphone.

然而倘若電子裝置之聲學元件不止一種,例如有麥克風及喇叭,在針對其中一種聲學元件例如麥克風進行補償時,同時,其他聲學元件即使隨時間老化,但因未受到補償,則電子裝置並不會因此而提升其使用價值。 However, if there are more than one type of acoustic components of the electronic device, such as a microphone and a horn, when compensating for one of the acoustic components, such as a microphone, while the other acoustic components are aging over time, the electronic device does not Therefore, it enhances its use value.

因此,亟需提出一種新的具音訊補償機制的電子裝置與其音訊補償方法,可偵測聲學元件是否老化外,更能對已經老化的聲學元件進行補償,以提升整體的聲音品質。 Therefore, it is urgent to propose a new electronic device with an audio compensation mechanism and an audio compensation method thereof, which can detect whether the acoustic component is aged or not, and can compensate the aging acoustic component to improve the overall sound quality.

本發明係有關於一種具音訊補償機制的電子裝置與其音訊補償方法,藉由電子裝置具有的聲音模組及音訊接收模組以偵測聲學相關的各模組是否老化,更可對各模組進行補償,以 提升整體的聲音品質。 The invention relates to an electronic device with an audio compensation mechanism and an audio compensation method thereof. The sound module and the audio receiving module of the electronic device are used to detect whether the acoustic related modules are aging, and the modules can be Make compensation to Improve overall sound quality.

根據本發明之一實施例,提出一種具音訊補償機制的電子裝置。電子裝置包括一聲音模組、至少二音訊接收模組及一補償模組。聲音模組輸出一聲音資料。音訊接收模組分別依聲音資料對應產生一第一音訊資料及一第二音訊資料。補償模組於第一音訊資料與第二音訊資料彼此相同時,判斷第一音訊資料及/或第二音訊資料與該聲音資料不同時,提供一第一音訊補償資料至聲音模組;或於第一音訊資料及第二音訊資料彼此不同時,分別判斷第一音訊資料及第二音訊資料與其對應之一預設音訊資料不同時,提供一第二音訊補償資料至各音訊接收模組。 According to an embodiment of the invention, an electronic device with an audio compensation mechanism is proposed. The electronic device includes an audio module, at least two audio receiving modules, and a compensation module. The sound module outputs a sound data. The audio receiving module generates a first audio data and a second audio data according to the sound data. The compensation module provides a first audio compensation data to the sound module when the first audio data and/or the second audio data are different from the sound data when the first audio data and the second audio data are identical to each other; or When the first audio data and the second audio data are different from each other, when the first audio data and the second audio data are different from the corresponding one of the preset audio data, a second audio compensation data is provided to each audio receiving module.

根據本發明之另一實施例,提出一種補償方法,包括下列步驟。提供一聲音資料。依據聲音資料分別對應產生一第一音訊資料及一第二音訊資料。判斷第一音訊資料及該第二音訊資料是否相同。如是,判斷第一音訊資料及/或第二音訊資料分別與聲音資料彼此不同時,提供一第一音訊補償資料,其中第一音訊補償資料係傳送至一聲音模組以對其補償。如否,分別判斷第一音訊資料及第二音訊資料與其對應之一預設音訊資料不同時,提供一第二音訊補償資料,其中第二音訊補償資料係傳送至一音訊接收模組以對其補償。 According to another embodiment of the present invention, a compensation method is proposed, comprising the following steps. Provide a sound data. Corresponding to the sound data respectively, a first audio data and a second audio data are generated. Determining whether the first audio material and the second audio data are the same. If it is determined that the first audio data and/or the second audio data are different from the sound data, respectively, a first audio compensation data is provided, wherein the first audio compensation data is transmitted to a sound module for compensation. If not, respectively, when the first audio data and the second audio data are different from the corresponding one of the preset audio data, a second audio compensation data is provided, wherein the second audio compensation data is transmitted to an audio receiving module to make up.

為了對本發明之上述及其他方面有更佳的瞭解,下文特舉較佳實施例,並配合所附圖式,作詳細說明如下: In order to better understand the above and other aspects of the present invention, the preferred embodiments are described below, and in conjunction with the drawings, the detailed description is as follows:

100、200、300‧‧‧電子裝置 100, 200, 300‧‧‧ electronic devices

110‧‧‧聲音模組 110‧‧‧Sound Module

121、122、123‧‧‧音訊接收模組 121, 122, 123‧‧‧ audio receiving module

130‧‧‧補償模組 130‧‧‧Compensation module

140‧‧‧輸入模組 140‧‧‧Input module

150‧‧‧控制模組 150‧‧‧Control Module

160‧‧‧鏡頭模組 160‧‧‧Lens module

170‧‧‧儲存模組 170‧‧‧Storage module

D1、D2‧‧‧頻率點 D1, D2‧‧‧ frequency points

第1圖依據本發明之一實施例之系統架構圖。 Figure 1 is a system architecture diagram in accordance with an embodiment of the present invention.

第2A圖依據本發明之一實施例之當第一音訊資料及第二音訊資料彼此相同時,兩者的頻率響應波形示意圖。 FIG. 2A is a schematic diagram showing frequency response waveforms of the first audio data and the second audio data when they are identical to each other according to an embodiment of the present invention.

第2B圖依據本發明之一實施例之當第一音訊資料及第二音訊資料彼此不同時,兩者的頻率響應波形示意圖。 FIG. 2B is a schematic diagram showing the frequency response waveforms of the first audio data and the second audio data when they are different from each other according to an embodiment of the present invention.

第2C圖依據本發明之一實施例之分別由二音訊接收模組對應產生的二預設音訊資料,其頻率響應波形示意圖。 FIG. 2C is a schematic diagram of frequency response waveforms of two preset audio data respectively generated by two audio receiving modules according to an embodiment of the present invention.

第3圖依據本發明之另一實施例之系統架構圖。 Figure 3 is a system architecture diagram in accordance with another embodiment of the present invention.

第4圖依據本發明之另一實施例之系統架構圖。 Figure 4 is a system architecture diagram in accordance with another embodiment of the present invention.

第5圖依據本發明之一實施例之電子裝置的音訊補償方法之步驟流程圖。 Figure 5 is a flow chart showing the steps of an audio compensation method for an electronic device according to an embodiment of the present invention.

第6圖依據本發明之一實施例之出廠模式之步驟流程圖。 Figure 6 is a flow chart showing the steps of the factory mode in accordance with an embodiment of the present invention.

以下將詳述本發明的各實施例,並配合圖式作為例示。除了這些詳細描述之外,本發明還可以廣泛地施行在其他的實施例中,任何所述實施例的輕易替代、修改、等效變化都包含在本案的範圍內,並以之後的專利範圍為準。在說明書的描述中,為了使讀者對本發明有較完整的瞭解,提供了許多特定細節;然而,本發明可能在省略部分或全部這些特定細節的前提下,仍可實施。此外,眾所周知的步驟或元件並未描述於細節中,以避免造成本發明不必要之限制。圖式中相同或類似之元件將以相同或類似符號來表示。特別注意的是,圖式僅為示意之用,並非代表元件實際的尺寸或數量,除非有特別說明。 The embodiments of the present invention will be described in detail below with reference to the drawings. In addition to the detailed description, the present invention may be widely practiced in other embodiments, and any alternatives, modifications, and equivalent variations of the described embodiments are included in the scope of the present invention, and the scope of the following patents is quasi. In the description of the specification, numerous specific details are set forth in the description of the invention. In addition, well-known steps or elements are not described in detail to avoid unnecessarily limiting the invention. The same or similar elements in the drawings will be denoted by the same or similar symbols. It is specifically noted that the drawings are for illustrative purposes only and do not represent the actual dimensions or quantities of the components unless otherwise specified.

第1圖依據本發明之一實施例之系統架構圖。請參照第1圖所示,一電子裝置100包括一聲音模組110、至少二音訊接收模組121、122、補償模組130及一輸入模組140。本發明之電子裝置100更具有一檢測模式及一出廠模組。 Figure 1 is a system architecture diagram in accordance with an embodiment of the present invention. As shown in FIG. 1 , an electronic device 100 includes an audio module 110 , at least two audio receiving modules 121 and 122 , a compensation module 130 , and an input module 140 . The electronic device 100 of the present invention further has a detection mode and a factory module.

於本發明之一實施例,電子裝置100可以是數位相機、攝錄影機、手機、行車紀錄器、平板電腦...等,亦可以是一般的桌上型電腦、筆記型電腦,而不以此為限。 In an embodiment of the present invention, the electronic device 100 may be a digital camera, a video camera, a mobile phone, a driving recorder, a tablet computer, etc., or may be a general desktop computer or a notebook computer, instead of This is limited to this.

本發明之另一實施例,電子裝置100更可以與螢幕、聲學相關裝置等等構成一電子系統,更應用在視訊會議、家庭劇院或錄音室等。 In another embodiment of the present invention, the electronic device 100 can be combined with a screen, an acoustic related device, and the like to form an electronic system, and is more applicable to a video conference, a home theater, or a recording studio.

本實施例中,輸入模組140接收一輸入資料並對應產生一啟動資料,本實施例之輸入模組140可以是一輸入介面,例如由一按鈕、一旋鈕或一聲控等產生,啟動資料則可以為一啟動命令或一啟動指令等,使用者藉由輸入模組140送出輸入資料,當電 子裝置100偵測到啟動資料,則依啟動資料啟動並進入一檢測模式,但本發明不以此為限。 In this embodiment, the input module 140 receives an input data and generates an activation data. The input module 140 of the embodiment may be an input interface, for example, generated by a button, a knob or a voice control. The user can send an input data through the input module 140, and can be a start command or a start command. When the sub-device 100 detects the startup data, it starts up according to the startup data and enters a detection mode, but the invention is not limited thereto.

於一實施例,電子裝置100可內部自行設定每隔一段時間自行啟動檢測模式,亦可自動產生一提示訊息以供使用者送出輸入資料至輸入模組以啟動電子裝置100的檢測模式。舉例而言,每隔一段時間,可以為每隔一個月、三個月、半年或一年等,更可以是使用者自己設定提醒行程。但本發明不以此為限。 In an embodiment, the electronic device 100 can automatically set the detection mode by itself at intervals, or automatically generate a prompt message for the user to send the input data to the input module to activate the detection mode of the electronic device 100. For example, every other time, it can be every other month, three months, half a year, or one year, and the user can set a reminder trip. However, the invention is not limited thereto.

本實施例中,聲音模組110可以是一喇叭,更可以是由複數個喇叭所構成。聲音模組110於實施上依據啟動資料以輸出一聲音資料。 In this embodiment, the sound module 110 can be a speaker, and can be composed of a plurality of speakers. The sound module 110 is implemented according to the startup data to output a sound data.

本實施例之至少二音訊接收模組121、122,各音訊接收模組121、122於實施上可為一麥克風,舉例而言,電子裝置100可具有二個音訊接收模組121、122。二個音訊接收模組121、122用以接收來自聲音模組110的聲音資料,並分別依據聲音資料對應產生一第一音訊資料及一第二音訊資料,意即,音訊接收模組121依聲音資料產生第一音訊資料,音訊接收模組122依聲音資料產生第二音訊資料。其中,第一音訊資料及第二音訊資料可以具有取樣頻率、解析度和聲道數目等參數,第一音訊資料及第二音訊資料更可以分別為一頻率響應波形。但本發明並不以此為限。 The at least two audio receiving modules 121 and 122 of the embodiment may be a microphone. For example, the electronic device 100 may have two audio receiving modules 121 and 122. The two audio receiving modules 121 and 122 are configured to receive the sound data from the sound module 110, and generate a first audio data and a second audio data according to the sound data, that is, the audio receiving module 121 according to the sound. The data generates the first audio data, and the audio receiving module 122 generates the second audio data according to the sound data. The first audio data and the second audio data may have parameters such as a sampling frequency, a resolution, and a number of channels. The first audio data and the second audio data may respectively be a frequency response waveform. However, the invention is not limited thereto.

於另一實施例,電子裝置100更包括複數聲學模組,例如聲音模組110及至少二音訊接收模組121、122,但本發明不以此為限。 In another embodiment, the electronic device 100 further includes a plurality of acoustic modules, such as the sound module 110 and the at least two audio receiving modules 121 and 122, but the invention is not limited thereto.

請參照第1圖所示,補償模組130更可包括至少一等化器(圖未示)。於實施上補償模組130可紀錄至少一預設音訊資料,各預設音訊資料分別對應第一音訊資料及第二音訊資料,更可以是一個預設音訊資料對應第一音訊資料及第二音訊資料,在此則以補償模組130紀錄二預設音訊資料,且二預設音訊資料分別對應第一音訊資料及第二音訊資料。而補償模組130可對第一音訊資料及第二音訊資料進行判斷,意即,於實施上補償模組130判斷第一音訊資料及第二音訊資料是否相同、或補償模組130判斷第一 音訊資料及/或第二音訊資料分別與聲音資料是否相同、或補償模組130分別判斷第一音訊資料及第二音訊資料與其對應的預設音訊資料是否相同。而補償模組130的判斷方法於實施上可以有很多種方法,在此則可以是判斷第一音訊資料及第二音訊資料其兩者、或分別與聲音資料、或分別與其對應的預設音訊資料在同一個頻率點的值是否相同等等,但本發明不以此為限。 Referring to FIG. 1 , the compensation module 130 may further include at least one equalizer (not shown). In the implementation, the compensation module 130 can record at least one preset audio data, and each preset audio data corresponds to the first audio data and the second audio data, and the preset audio data corresponds to the first audio data and the second audio information. For example, the compensation module 130 records the two preset audio data, and the two preset audio data respectively correspond to the first audio data and the second audio data. The compensation module 130 can determine the first audio data and the second audio data, that is, the compensation module 130 determines whether the first audio data and the second audio data are the same, or the compensation module 130 determines the first Whether the audio data and/or the second audio data are respectively the same as the sound data, or the compensation module 130 determines whether the first audio data and the second audio data are identical to the corresponding preset audio data. The method for determining the compensation module 130 can be implemented in a plurality of ways. In this case, the first audio data and the second audio data can be determined, or the sound data or the corresponding preset audio signals respectively. Whether the values of the data at the same frequency point are the same or the like, but the invention is not limited thereto.

第2A圖依據本發明之一實施例之當第一音訊資料及第二音訊資料彼此相同時,兩者的頻率響應波形示意圖。第2B圖依據本發明之一實施例之當第一音訊資料及第二音訊資料彼此不同時,兩者的頻率響應波形示意圖。第2C圖依據本發明之一實施例之分別由二音訊接收模組對應產生的二預設音訊資料,其頻率響應波形示意圖。 FIG. 2A is a schematic diagram showing frequency response waveforms of the first audio data and the second audio data when they are identical to each other according to an embodiment of the present invention. FIG. 2B is a schematic diagram showing the frequency response waveforms of the first audio data and the second audio data when they are different from each other according to an embodiment of the present invention. FIG. 2C is a schematic diagram of frequency response waveforms of two preset audio data respectively generated by two audio receiving modules according to an embodiment of the present invention.

請同時參照第1圖及第2A圖所示,補償模組130更可包括至少一等化器(圖未示)。補償模組130判斷第一音訊資料及第二音訊資料是否相同;當第一音訊資料及第二音訊資料於實質上相同時,意即補償模組130判斷第一音訊資料及第二音訊資料之頻率響應波形在同一個頻率點D1所得到的值於實質上相同,則進一步地,補償模組130判斷第一音訊資料及/或第二音訊資料分別與聲音資料是否相同,於判斷第一音訊資料及/或第二音訊資料分別與聲音資料於實質上不同時,意即第一音訊資料與聲音資料及/或第二音訊資料與聲音資料之頻率響應波形分別在同一個頻率點D1所得到的值於實質上不相同,則電子裝置100的聲音模組110可能有老化現象或是出現異常,因此補償模組130提供第一音訊補償資料至聲音模組110,以對聲音模組110進行補償,提升聲音模組110的聲音品質,更可使聲音模組110達到出廠前的聲音品質。當補償模組130提供第一音訊補償資料至聲音模組110時,則聲音模組110輸出下一聲音資料。以再次藉由分析下一聲音資料檢測是否聲音模組110已補償至出廠前的聲音品質。於實施例中,補償模組130更藉由等化器依第一音訊補償資料補償聲音模組110。 The compensation module 130 may further include at least one equalizer (not shown). The compensation module 130 determines whether the first audio data and the second audio data are the same. When the first audio data and the second audio data are substantially the same, the compensation module 130 determines the first audio data and the second audio data. The frequency response waveform is substantially the same at the same frequency point D1. Further, the compensation module 130 determines whether the first audio data and/or the second audio data are respectively the same as the sound data, and determines the first audio. When the data and/or the second audio data are substantially different from the sound data, that is, the frequency response waveforms of the first audio data and the sound data and/or the second audio data and the sound data are respectively obtained at the same frequency point D1. The value of the sound module 110 of the electronic device 100 may be aging or abnormal. Therefore, the compensation module 130 provides the first audio compensation data to the sound module 110 for performing the sound module 110. The compensation improves the sound quality of the sound module 110, and the sound module 110 can also achieve the sound quality before leaving the factory. When the compensation module 130 provides the first audio compensation data to the sound module 110, the sound module 110 outputs the next sound data. Again, by analyzing the next sound data, it is detected whether the sound module 110 has compensated to the sound quality before leaving the factory. In the embodiment, the compensation module 130 further compensates the sound module 110 according to the first audio compensation data by the equalizer.

當補償模組130判斷第一音訊資料及第二音訊資料 於實質上相同時,且補償模組130更判斷第一音訊資料及/或第二音訊資料分別與聲音資料於實質上相同,意即第一音訊資料與聲音資料及/或第二音訊資料與聲音資料之頻率響應波形分別在同一個頻率點D1所得到的值於實質上相同,則電子裝置100的聲音模組110可能無老化現象,而此時電子裝置100可終止檢測模式。 When the compensation module 130 determines the first audio data and the second audio data When substantially the same, the compensation module 130 further determines that the first audio data and/or the second audio data are substantially identical to the sound data, that is, the first audio data and the sound data and/or the second audio data. If the frequency response waveforms of the sound data are substantially the same at the same frequency point D1, the sound module 110 of the electronic device 100 may have no aging phenomenon, and at this time, the electronic device 100 may terminate the detection mode.

請同時參照第1圖及第2B圖所示,當第一音訊資料及第二音訊資料於實質上不同時,意即,補償模組130判斷第一音訊資料及第二音訊資料之頻率響應波形在同一個頻率點D2所得到的值於實質上彼此不同,則進一步地,補償模組130分別判斷第一音訊資料及第二音訊資料與其對應的一預設音訊資料是否相同。意即,補償模組130判斷第一音訊資料與其對應的預設音訊資料是否相同,同樣地,判斷第二音訊資料與其對應的預設音訊資料是否相同。當第一音訊資料及第二音訊資料其中之一,或兩者皆與其對應的預設音訊資料於實質上不相同時,則電子裝置100的音訊接收模組121、122可能有老化現象或有異常,則補償模組130提供一第二音訊補償資料至音訊接收模組121、122,使音訊接收模組121、122進行補償,以提升音訊接收模組121、122的聲音品質,更可以達到出廠前的聲音品質。當補償模組130提供第二音訊補償資料至音訊接收模組121、122時,則聲音模組110輸出下一聲音資料。以再次藉由分析下一聲音資料檢測是否音訊接收模組121、122已補償至出廠前的聲音品質。於實施例中,補償模組130更藉由等化器依第二音訊補償資料分別補償音訊接收模組121、122。 Please refer to FIG. 1 and FIG. 2B simultaneously, when the first audio data and the second audio data are substantially different, that is, the compensation module 130 determines the frequency response waveform of the first audio data and the second audio data. The values obtained by the same frequency point D2 are substantially different from each other. Further, the compensation module 130 determines whether the first audio data and the second audio data are identical to a corresponding preset audio data. That is, the compensation module 130 determines whether the first audio data is identical to the corresponding preset audio data, and similarly determines whether the second audio data is identical to the corresponding preset audio data. When one of the first audio data and the second audio data is substantially different from the corresponding preset audio data, the audio receiving modules 121 and 122 of the electronic device 100 may have an aging phenomenon or In an abnormal manner, the compensation module 130 provides a second audio compensation data to the audio receiving modules 121 and 122 to compensate the audio receiving modules 121 and 122 to improve the sound quality of the audio receiving modules 121 and 122. Sound quality before leaving the factory. When the compensation module 130 provides the second audio compensation data to the audio receiving modules 121 and 122, the sound module 110 outputs the next sound data. By detecting the next sound data again, it is detected whether the audio receiving modules 121, 122 have compensated to the sound quality before leaving the factory. In the embodiment, the compensation module 130 compensates the audio receiving modules 121 and 122 respectively according to the second audio compensation data by the equalizer.

本實施例中,舉例而言,若於補償模組130判斷第一音訊資料與其對應的預設音訊資料於實質上不相同時,則補償模組130提供對應第一音訊資料的第二音訊補償資料至與第一音訊資料對應的音訊接收模組121,使與第一音訊資料對應的音訊接收模組能進行補償。同樣地,若於判斷為第二音訊資料與其對應的預設音訊資料於實質上不相同時,則提供與第二音訊資料相對應的第二音訊補償資料至與其對應的音訊接收模組122。若第一音訊資料及第二音訊資料皆分別與其對應的預設音訊資料於實質上不 相同時,同時提供分別與第一音訊資料及第二音訊資料的第二音訊補償資料至分別對應的音訊接收模組121、122。 In this embodiment, for example, if the compensation module 130 determines that the first audio data is substantially different from the corresponding preset audio data, the compensation module 130 provides the second audio compensation corresponding to the first audio data. The data is sent to the audio receiving module 121 corresponding to the first audio data, so that the audio receiving module corresponding to the first audio data can be compensated. Similarly, if it is determined that the second audio data is substantially different from the corresponding preset audio data, the second audio compensation data corresponding to the second audio data is provided to the corresponding audio receiving module 122. If the first audio data and the second audio data are respectively corresponding to the preset audio data, When the same, the second audio compensation data corresponding to the first audio data and the second audio data are respectively provided to the corresponding audio receiving modules 121 and 122.

另一實施例,不論第一音訊資料及第二音訊資料,只要第一音訊資料及第二音訊資料其中之一與其對應的預設音訊資料不相同,意即,不論第一音訊資料與其對應的預設音訊資料於實質上不同,或第二音訊資料與其對應的預設音訊資料於實質上不同,或第一音訊資料及第二音訊資料皆與其對應的預設音訊資料於實質上不同,補償模組130同時分別提供與第一音訊資料及第二音訊資料對應的第二音訊補償資料至其分別對應的音訊接收模組121、122。 In another embodiment, regardless of the first audio data and the second audio data, one of the first audio data and the second audio data is different from the corresponding preset audio data, that is, regardless of the first audio data corresponding thereto. The preset audio data is substantially different, or the second audio data is substantially different from the corresponding preset audio data, or the first audio data and the second audio data are substantially different from the corresponding preset audio data, and the compensation is The module 130 simultaneously provides the second audio compensation data corresponding to the first audio data and the second audio data to the corresponding audio receiving modules 121 and 122 respectively.

再一實施例,補償模組130更可只提供一個預設音訊資料分別與第一音訊資料及第二音訊資料進行判斷,補償模組130更可只提供一個第二音訊補償資料至各個音訊接收模組121、122進行補償。於實施例中,音訊接收模組121、122更可為相同款式及同一時間製造出廠、使用,其可能的老化情形相同,但本發明不以此為限。 In another embodiment, the compensation module 130 can provide only one preset audio data and the first audio data and the second audio data, and the compensation module 130 can provide only one second audio compensation data to each audio receiving. The modules 121, 122 compensate. In the embodiment, the audio receiving modules 121 and 122 can be manufactured and used in the same style and at the same time, and the possible aging conditions are the same, but the invention is not limited thereto.

於另一實施例,請再參照第1圖所示,當第一音訊資料及第二音訊資料於實質上彼此相同時,且補償模組130分別判斷第一音訊資料及第二音訊資料與其對應的一預設音訊資料彼此相同,則電子裝置100終止檢測模式,舉例而言,電子裝置100可使聲音模組110終止輸出聲音資料或音訊接收模組終止接收聲音資料,意即電子裝置100終止針對聲音模組110或音訊接收模組121、122進行檢測、偵測老化及補償。 In another embodiment, please refer to FIG. 1 again, when the first audio data and the second audio data are substantially identical to each other, and the compensation module 130 respectively determines that the first audio data and the second audio data correspond to each other. The electronic device 100 terminates the detection mode. For example, the electronic device 100 can terminate the output of the sound data by the sound module 110 or the audio receiving module terminates receiving the sound data, that is, the electronic device 100 terminates. Detection, detection aging and compensation are performed for the sound module 110 or the audio receiving modules 121 and 122.

電子裝置100藉由判斷第一音訊資料及第二音訊資料是否相同,及判斷第一音訊資料及第二音訊資料與聲音資料是否相同,及分別判斷第一音訊資料及第二音訊資料與其相對應的預設音訊資料是否相同,來加以偵測聲音模組110及音訊接收模組121、122是否有老化現象,並利用補償模組130提供第一音訊補償資料及第二音訊補償資料來對聲音模組110及音訊接收模組121、122進行補償,因此可提升聲音模組110及音訊接收模組121、122 的聲音品質,更可使聲音模組110及音訊接收模組121、122分別達到出廠前的聲音品質。 The electronic device 100 determines whether the first audio data and the second audio data are the same, and determines whether the first audio data and the second audio data are the same as the sound data, and respectively determines that the first audio data and the second audio data correspond to each other. Whether the preset audio data is the same, to detect whether the sound module 110 and the audio receiving modules 121 and 122 have an aging phenomenon, and use the compensation module 130 to provide the first audio compensation data and the second audio compensation data to the sound. The module 110 and the audio receiving modules 121 and 122 compensate, so that the sound module 110 and the audio receiving modules 121 and 122 can be upgraded. The sound quality further enables the sound module 110 and the audio receiving modules 121 and 122 to achieve the sound quality before leaving the factory.

請參照第2C圖所示,於另一實施例,電子裝置100更包括一出廠模式,當電子裝置100在出廠模式時,聲音模組110輸出一初始聲音資料,各音訊接收模組121、122分別依初始聲音資料對應產生預設音訊資料。於實施上,補償模組130更可紀錄預設音訊資料及初始聲音資料。本實施例中,各音訊接收模組121、122分別對應產生預設音訊資料,亦可以其中之一音訊接收模組121、122對應產生一預設音訊資料供所有音訊接收模組121、122對應使用,在此則以各音訊接收模組121、122分別產生相對應的預設音訊資料為例,但本發明不以此為限。 Referring to FIG. 2C , in another embodiment, the electronic device 100 further includes a factory mode. When the electronic device 100 is in the factory mode, the sound module 110 outputs an initial sound data, and each of the audio receiving modules 121 and 122 The preset audio data is generated correspondingly according to the initial sound data. In implementation, the compensation module 130 can record the preset audio data and the initial sound data. In this embodiment, each of the audio receiving modules 121 and 122 respectively generates preset audio data, and one of the audio receiving modules 121 and 122 correspondingly generates a preset audio data for all the audio receiving modules 121 and 122. For example, the corresponding audio data is generated by the audio receiving modules 121 and 122 respectively, but the invention is not limited thereto.

於一實施例,補償模組130更可依初始聲音資料及聲音資料進行分析及計算以得到第一音訊補償資料,補償模組130更可依預設音訊資料、第一音訊資料及第二音訊資料進行分析及計算以得到第二音訊補償資料。於另一實施例,補償模組130亦可依初始聲音資料以得到第一音訊補償資料以對聲音模組110進行補償,補償模組130亦可依預設音訊資料以得到第二音訊補償資料以對各音訊接收模組121、122進行補償。再一實施例,初始聲音資料亦可以是第一音訊補償資料,預設音訊資料可以是第二音訊補償資料。但本發明不以此為限。 In an embodiment, the compensation module 130 can further analyze and calculate the initial sound data and the sound data to obtain the first audio compensation data, and the compensation module 130 can further depend on the preset audio data, the first audio data, and the second audio. The data is analyzed and calculated to obtain second audio compensation data. In another embodiment, the compensation module 130 can also obtain the first audio compensation data according to the initial sound data to compensate the sound module 110, and the compensation module 130 can also obtain the second audio compensation data according to the preset audio data. The respective audio receiving modules 121, 122 are compensated. In another embodiment, the initial sound data may also be the first audio compensation data, and the preset audio data may be the second audio compensation data. However, the invention is not limited thereto.

第3圖依據本發明之另一實施例之系統架構圖。請參照第3圖所示,第3圖的電子裝置200與第1圖的電子裝置100,相同的部件沿用相同的符號。主要差別在於:第3圖的電子裝置200具有三個音訊接收模組121、122、123,意即,三個音訊接收模組121、122、123接收聲音資料,並分別依據聲音資料對應產生第一音訊資料、第二音訊資料及一第三音訊資料。於實施上,第一音訊資料、第二音訊資料及第三音訊資料更可以分別為一頻率響應波形,但本發明並不以此為限。補償模組130判斷第一音訊資料、第二音訊資料、第三音訊資料是否相同,及判斷三者分別與聲音資料是否相同,及分別判斷三者與預設音訊資料是否相同,使電子 裝置200藉以檢測或偵測三個音訊接收模組121、122、123及聲音模組110是否老化。第3圖的電子裝置200與第1圖的電子裝置100的檢測意即檢測模式及出廠模式之判斷及補償方式於實質上大致相同,只是在此是以第一音訊資料、第二音訊資料、第三音訊資料進行判斷及以相對應產生的第一音訊補償資料對聲音模組110進行補償,及/或以至少一第二音訊補償資料分別對音訊接收模組121、122、123進行補償,故於此不再贅述。 Figure 3 is a system architecture diagram in accordance with another embodiment of the present invention. Referring to FIG. 3, the same components as those of the electronic device 200 of FIG. 3 and the electronic device 100 of FIG. 1 are denoted by the same reference numerals. The main difference is that the electronic device 200 of FIG. 3 has three audio receiving modules 121, 122, and 123, that is, three audio receiving modules 121, 122, and 123 receive sound data, and generate corresponding data according to the sound data. An audio material, a second audio material and a third audio material. In practice, the first audio data, the second audio data, and the third audio data may each be a frequency response waveform, but the invention is not limited thereto. The compensation module 130 determines whether the first audio data, the second audio data, and the third audio data are the same, and determines whether the three are the same as the sound data, and respectively determines whether the three are the same as the preset audio data, so that the electronic The device 200 detects or detects whether the three audio receiving modules 121, 122, 123 and the sound module 110 are aged. The electronic device 200 of FIG. 3 and the electronic device 100 of FIG. 1 mean that the detection mode and the detection mode of the detection mode and the factory mode are substantially the same, but the first audio data and the second audio data are used here. The third audio data is judged and the sound module 110 is compensated by the corresponding first audio compensation data, and/or the audio receiving modules 121, 122, and 123 are respectively compensated by the at least one second audio compensation data. Therefore, it will not be repeated here.

於一實施例,電子裝置200更可以包括複數個音訊接收模組(圖未示),其檢測模式及出廠模式之判斷及補償方式於實質上大致與第1圖的電子裝置100相同,故於此不再贅述。 In an embodiment, the electronic device 200 may further include a plurality of audio receiving modules (not shown). The detection mode and the compensation mode of the detection mode and the factory mode are substantially the same as those of the electronic device 100 of FIG. This will not be repeated here.

第4圖依據本發明之另一實施例之系統架構圖。請參照第4圖所示,第4圖的電子裝置300與第1圖的電子裝置100,相同的部件沿用相同的符號。主要差別在於:第4圖的電子裝置300更包括一控制模組150、一鏡頭模組160及一儲存模組170。儲存模組170紀錄及儲存來自聲音模組110輸出的預設音訊資料及來自音訊接收模組121、122輸出的初始聲音資料,當補償模組130進行判斷時,則由儲存模組170提供所需資料,例如:預設音訊資料及初始聲音資料等,以提供至補償模組130使用。於實施上可藉由控制模組150則每隔一段時段產生提示訊息,或控制補償模組130進行各種判斷方法或模式,更能依使用者需求,使電子裝置300進入檢測模式或出廠模式等,控制模組150亦可控制鏡頭模組160進行影像擷取,控制聲音模組110輸出聲音資料至外部或控制音訊接收模組121、122接收外部來的聲音資料等。但本發明不以此為限。 Figure 4 is a system architecture diagram in accordance with another embodiment of the present invention. Referring to Fig. 4, the same components of the electronic device 300 of Fig. 4 and the electronic device 100 of Fig. 1 are denoted by the same reference numerals. The main difference is that the electronic device 300 of FIG. 4 further includes a control module 150, a lens module 160, and a storage module 170. The storage module 170 records and stores the preset audio data output from the sound module 110 and the initial sound data output from the audio receiving modules 121 and 122. When the compensation module 130 determines, the storage module 170 provides the storage module 170. Information such as preset audio data and initial sound data is provided for use by the compensation module 130. In the implementation, the control module 150 can generate a prompt message every other period of time, or control the compensation module 130 to perform various determination methods or modes, and can further enable the electronic device 300 to enter the detection mode or the factory mode according to the user's needs. The control module 150 can also control the lens module 160 to perform image capture, and control the sound module 110 to output sound data to the outside or control the audio receiving modules 121 and 122 to receive external sound data. However, the invention is not limited thereto.

請同時參照第1圖及第5圖。第5圖依據本發明之一實施例之電子裝置的音訊補償方法之步驟流程圖。以下更以流程圖詳細說明電子裝置100之各項元件的運作方式。然而,第5圖之流程步驟並不局限應用於第1圖之電子裝置100。第1圖之電子裝置100也不侷限應用於第5圖之流程步驟。 Please refer to both Figure 1 and Figure 5. Figure 5 is a flow chart showing the steps of an audio compensation method for an electronic device according to an embodiment of the present invention. The operation of each component of the electronic device 100 will be described in detail below with reference to a flowchart. However, the flow steps of FIG. 5 are not limited to the electronic device 100 of FIG. The electronic device 100 of Fig. 1 is also not limited to the flow steps of Fig. 5.

在步驟S11中,接收一輸入資料,依輸入資料產生一啟動資料,依啟動資料進入一檢測模式中。電子裝置100的輸入模 組140接收輸入資料,於實施上,使用者藉由輸入模組140以啟動進入檢測模式中。 In step S11, an input data is received, and a startup data is generated according to the input data, and enters a detection mode according to the startup data. Input mode of the electronic device 100 The group 140 receives the input data. In practice, the user enters the detection mode by inputting the module 140.

在步驟S12中,提供一聲音資料,依聲音資料分別對應產生一第一音訊資料及一第二音訊資料。聲音模組110依啟動資料產生並輸出一聲音資料,而音訊接收模組121、122在接收聲音資料後,依聲音資料對應產生第一音訊資料及第二音訊資料。 In step S12, a sound data is provided, and a first audio data and a second audio data are respectively generated according to the sound data. The sound module 110 generates and outputs a sound data according to the startup data, and after receiving the sound data, the audio receiving module 121, 122 generates the first audio data and the second audio data according to the sound data.

在步驟S13中,判斷第一音訊資料及第二音訊資料是否相同。若是,則進行步驟S14,若否,進行步驟S16。補償模組130接收第一音訊資料及第二音訊資料,並對第一音訊資料及第二音訊資料進行判斷,判斷第一音訊資料及第二音訊資料是否相同。若是,意即當補償模組130判斷若第一音訊資料及第二音訊資料於實質上彼此相同,則再進行一判斷步驟,即步驟S14。若否,意即當補償模組130判斷若第一音訊資料及第二音訊資料於實質上彼此不同,則再進行另一判斷步驟,即步驟S16。本實施例中,當補償模組130判斷若第一音訊資料及第二音訊資料於實質上彼此不同,意即音訊接收模組121、122可能有老化現象產生,因此需進行步驟S16,即藉由補償模組130對可能有老化的音訊接收模組121、122進行補償。於實施例中,判斷第一音訊資料及第二音訊資料是否相同的方法,可以是判斷兩者的頻率響應波形是否相同,或判斷兩者的頻率響應波形在同一個頻率點上的值是否相同等,但本發明不以此為限。 In step S13, it is determined whether the first audio material and the second audio data are the same. If yes, proceed to step S14, and if no, proceed to step S16. The compensation module 130 receives the first audio data and the second audio data, and determines the first audio data and the second audio data to determine whether the first audio data and the second audio data are the same. If yes, that is, when the compensation module 130 determines that the first audio data and the second audio data are substantially identical to each other, then a determining step, step S14, is performed. If not, it means that when the compensation module 130 determines that the first audio data and the second audio data are substantially different from each other, another determination step, step S16, is performed. In this embodiment, when the compensation module 130 determines that the first audio data and the second audio data are substantially different from each other, that is, the audio receiving modules 121 and 122 may have an aging phenomenon, step S16 is required, that is, The compensation module 130 compensates for the aging receiving components 121, 122. In the embodiment, the method for determining whether the first audio data and the second audio data are the same may be determining whether the frequency response waveforms of the two are the same, or determining whether the frequency response waveforms of the two are the same at the same frequency point. Etc., but the invention is not limited thereto.

在步驟S14中,判斷第一音訊資料及/或第二音訊資料分別與聲音資料是否相同。若是,即第一音訊資料及/或第二音訊資料分別與聲音資料彼此相同,則進行步驟S17。若否,即第一音訊資料及/或第二音訊資料分別與聲音資料不同,則進行步驟S15。 In step S14, it is determined whether the first audio data and/or the second audio data are respectively the same as the sound data. If yes, that is, the first audio data and/or the second audio data are identical to the sound data, respectively, then step S17 is performed. If no, that is, the first audio data and/or the second audio data are different from the sound data respectively, step S15 is performed.

於實施例中,電子裝置100藉由補償模組130判斷第一音訊資料、第二音訊資料及聲音資料是否相同,以偵測電子裝置100的聲音模組110是否有老化現象。而若補償模組130判斷第一音訊資料及/或第二音訊資料分別與聲音資料於實質上不相同,表 示聲音模組110有老化或異常等現象產生,則進行步驟S15。而若補償模組130判斷第一音訊資料及/或第二音訊資料分別與聲音資料於實質上彼此相同,表示聲音模組110無老化或異常等現象產生,則進行步驟S17,即終止檢測模式。本實施例中判斷方法可以是判斷第一音訊資料及/或第二音訊資料分別與聲音資料的波形是否相同,或判斷在頻率響應波形上的同一頻率點之值是否相同,但本發明不以此為限。 In the embodiment, the electronic device 100 determines whether the first audio data, the second audio data, and the sound data are the same by the compensation module 130 to detect whether the sound module 110 of the electronic device 100 is aging. And if the compensation module 130 determines that the first audio data and/or the second audio data are substantially different from the sound data, If the sound module 110 is aging or abnormal, the process proceeds to step S15. If the compensation module 130 determines that the first audio data and/or the second audio data are substantially identical to the sound data, respectively, indicating that the sound module 110 has no aging or abnormality, the process proceeds to step S17, that is, the detection mode is terminated. . The determining method in this embodiment may be determining whether the first audio data and/or the second audio data are respectively the same as the waveform of the sound data, or determining whether the values of the same frequency point on the frequency response waveform are the same, but the present invention does not This is limited.

在步驟S15中,提供一第一音訊補償資料,並回到步驟S12。意即,當電子裝置100藉由補償模組130判斷第一音訊資料、第二音訊資料及聲音資料彼此不同時,則可藉由第一音訊補償資料對聲音模組110進行補償以提升聲音品質。並於提供第一音訊補償資料後,進行步驟S12。即再令聲音模組110提供下一聲音資料,以再次對聲音模組110及/或音訊接收模組121、122進行檢測,以使聲音模組110及/或音訊接收模組121、122補償至可達到出廠前的聲音品質。 In step S15, a first audio compensation material is provided, and the process returns to step S12. That is, when the electronic device 100 determines that the first audio data, the second audio data, and the sound data are different from each other by the compensation module 130, the sound module 110 can be compensated by the first audio compensation data to improve the sound quality. . After the first audio compensation data is provided, step S12 is performed. The sound module 110 is further provided with the next sound data to detect the sound module 110 and/or the audio receiving modules 121 and 122 again to compensate the sound module 110 and/or the audio receiving modules 121 and 122. To the sound quality before leaving the factory.

在步驟S16中,分別判斷第一音訊資料及第二音訊資料與其對應之一預設音訊資料是否相同。若第一音訊資料及第二音訊資料與其對應之預設音訊資料相同,則進行步驟S17。若第一音訊資料及第二音訊資料與其對應之預設音訊資料不同,則進行步驟S18。當補償模組130判斷第一音訊資料及第二音訊資料於實質上彼此不同時,補償模組130更分別判斷第一音訊資料及第二音訊資料與其對應之一預設音訊資料是否相同。當判斷為第一音訊資料及第二音訊資料與其對應之預設音訊資料相同,則音訊接收模組121、122無任何老化或異常等現象,因此可不需要對音訊接收模組121、122進行補償,則進行步驟S17。當補償模組130判斷第一音訊資料及第二音訊資料與其對應之預設音訊資料於實質上不同,則表示偵測到音訊接收模組121、122可能有老化或異常等現象產生,因此音訊接收模組121、122需要進行補償,則進行步驟S18。 In step S16, it is determined whether the first audio data and the second audio data are identical to one of the corresponding preset audio data. If the first audio data and the second audio data are the same as the corresponding preset audio data, proceed to step S17. If the first audio data and the second audio data are different from the corresponding preset audio data, step S18 is performed. When the compensation module 130 determines that the first audio data and the second audio data are substantially different from each other, the compensation module 130 further determines whether the first audio data and the second audio data are identical to one of the corresponding preset audio data. When it is determined that the first audio data and the second audio data are the same as the corresponding preset audio data, the audio receiving modules 121 and 122 do not have any aging or abnormality, so that the audio receiving modules 121 and 122 do not need to be compensated. Then, step S17 is performed. When the compensation module 130 determines that the first audio data and the second audio data are substantially different from the corresponding preset audio data, it indicates that the audio receiving modules 121 and 122 are detected to be aging or abnormal, and thus the audio information is generated. If the receiving modules 121 and 122 need to perform compensation, step S18 is performed.

在步驟S17中,終止檢測模式。意即,音訊接收模組 121、122經檢測後無老化等現象及/或聲音模組110經檢測後無老化等現象,因此亦不需要進行補償。 In step S17, the detection mode is terminated. Meaning, the audio receiving module 121, 122 After the detection, there is no aging phenomenon and/or the sound module 110 has no aging after being detected, and therefore no compensation is needed.

在步驟S18中,提供一第二音訊補償資料,並回到步驟S12。意即,有偵測到音訊接收模組121、122可能有老化現象,因此補償模組提供第二音訊補償資料供音訊接收模組121、122進行補償。 In step S18, a second audio compensation material is provided, and the process returns to step S12. That is, it is detected that the audio receiving modules 121, 122 may have an aging phenomenon, and therefore the compensation module provides the second audio compensation data for the audio receiving modules 121, 122 to compensate.

請同時參照第1圖及第6圖。第6圖依據本發明之一實施例之電子裝置的出廠模式之步驟流程圖。以下更以流程圖詳細說明電子裝置之各項元件的運作方式。然而,第6圖之流程步驟並不局限應用於第1圖之電子裝置100。第1圖之電子裝置100也不侷限應用於第6圖之流程步驟。 Please refer to both Figure 1 and Figure 6. Figure 6 is a flow chart showing the steps of the factory mode of the electronic device according to an embodiment of the present invention. The operation of the various components of the electronic device will be described in detail below with a flow chart. However, the flow steps of FIG. 6 are not limited to the electronic device 100 of FIG. The electronic device 100 of Fig. 1 is also not limited to the process steps of Fig. 6.

在步驟S21中,進入一出廠模式。意即,電子裝置100進入出廠模式。於實施上,當電子裝置100於出廠前需進入出廠模式,以進行檢測並紀錄相同資料及/或數值,在電子裝置100出廠後,每隔一段時間進行檢測時,可以在偵測出相關模組有老化現象或異常時,藉由出廠前紀錄的資料及/或數值使相對應的模組能回復或恢復至出廠前的品質。 In step S21, a factory mode is entered. That is, the electronic device 100 enters the factory mode. In practice, when the electronic device 100 needs to enter the factory mode before leaving the factory to detect and record the same data and/or value, after the electronic device 100 is shipped from the factory, when the detection is performed at intervals, the relevant mode can be detected. When the group has aging or abnormality, the corresponding module can be restored or restored to the quality before leaving the factory by the data and/or value recorded before leaving the factory.

在步驟S22中,提供一初始聲音資料。聲音模組110提供初始聲音資料。初始聲音資料於實施上,可以是一音訊資料、一掃頻音檔,亦可以是頻率響應波形呈現。 In step S22, an initial sound material is provided. The sound module 110 provides initial sound data. The initial sound data may be implemented as an audio data, a swept audio file, or a frequency response waveform.

在步驟S23中,分別依初始聲音資料對應產生預設音訊資料。電子裝置100的音訊接收模組分別依初始聲音資料對應產生至少一預設音訊資料。意即,舉例而言,預設音訊資料之數量於實質上與音訊接收模組121、122的數量相同。也可以是音訊接收模組121、122同時對應一預設音訊資料,在此則以電子裝置100的二音訊接收模組121、122分別有產生對應的二預設音訊資料為例。但本發明不以此為限。 In step S23, preset audio data is generated correspondingly according to the initial sound data. The audio receiving module of the electronic device 100 generates at least one preset audio data according to the initial sound data. That is, for example, the number of preset audio materials is substantially the same as the number of audio receiving modules 121, 122. For example, the audio receiving modules 121 and 122 respectively correspond to a preset audio data. The two audio receiving modules 121 and 122 of the electronic device 100 respectively generate corresponding two preset audio data. However, the invention is not limited thereto.

在步驟S24中,記錄初始聲音資料及預設音訊資料。本實施例中,可藉由補償模組130記錄初始聲音資料及預設音訊資料。另一實施例,電子裝置300可藉由儲存模組170記錄初始聲音 資料及預設音訊資料,並提供給補償模組130使用。在出廠後,進行檢測時,即進入檢測模式後,可藉由分析聲音資料產生第一音訊補償資料對聲音模組110進行補償,分析預設音訊資料、第一音訊資料及第二音訊資料以產生第二音訊補償資料對音訊接收模組121、122進行補償。或補償模組130依初始聲音資料為第一音訊補償資料對聲音模組110進行補償及/或依預設音訊資料為第二音訊補償資料對音訊接收模組121、122進行補償。另一實施例,補償模組130可僅分析初始聲音資料以供相關參數來產生第一音訊補償資料對聲音模組110進行補償及/或藉由僅分析預設音訊資料以供相關參數來產生第二音訊補償資料對音訊接收模組121、122進行補償。但本發明不以此為限。 In step S24, the initial sound data and the preset audio data are recorded. In this embodiment, the initial sound data and the preset audio data can be recorded by the compensation module 130. In another embodiment, the electronic device 300 can record the initial sound by using the storage module 170. The data and the preset audio data are provided to the compensation module 130 for use. After the detection, after entering the detection mode, the first audio compensation data can be generated by analyzing the sound data to compensate the sound module 110, and the preset audio data, the first audio data and the second audio data are analyzed. The second audio compensation data is generated to compensate the audio receiving modules 121 and 122. The compensation module 130 compensates the audio module 110 for the first audio compensation data according to the initial sound data and/or compensates the audio receiving modules 121 and 122 for the second audio compensation data according to the preset audio data. In another embodiment, the compensation module 130 may analyze only the initial sound data for the relevant parameters to generate the first audio compensation data to compensate the sound module 110 and/or to analyze only the preset audio data for the relevant parameters. The second audio compensation data compensates the audio receiving modules 121 and 122. However, the invention is not limited thereto.

綜上所述,藉由聲音模組110提供聲音資料,音訊接收模組121、122依聲音資料分別產生第一音訊資料及第二音訊資料,補償模組130判斷第一音訊資料及第二音訊資料是否相同,及/或判斷第一音訊資料及第二音訊資料分別與聲音資料是否相同,及/或分別判斷第一音訊資料及第二音訊資料與預設音訊資料是否相同,以偵測各聲學模組,例如:聲音模組110、音訊接收模組121、122等是否有老化現象,更於偵側出老化現象時,對聲學模組即聲音模組110、音訊接收模組121、122等進行補償,以提升聲音品質,更達到出廠前的聲音品質。 In summary, the audio module 110 provides sound data, and the audio receiving modules 121 and 122 respectively generate the first audio data and the second audio data according to the sound data, and the compensation module 130 determines the first audio data and the second audio information. Whether the information is the same and/or whether the first audio material and the second audio data are identical to the sound data, and/or whether the first audio data and the second audio data are identical to the preset audio data, respectively. The acoustic module, for example, the sound module 110, the audio receiving module 121, 122, etc., have an aging phenomenon, and when the aging phenomenon is detected, the acoustic module, that is, the sound module 110, the audio receiving module 121, 122 Compensate to improve the sound quality and achieve the sound quality before leaving the factory.

綜上所述,雖然本發明已以較佳實施例揭露如上,然其並非用以限定本發明。本發明所屬技術領域中具有通常知識者,在不脫離本發明之精神和範圍內,當可作各種之更動與潤飾。因此,本發明之保護範圍當視後附之申請專利範圍所界定者為準。 In conclusion, the present invention has been disclosed in the above preferred embodiments, and is not intended to limit the present invention. A person skilled in the art can make various changes and modifications without departing from the spirit and scope of the invention. Therefore, the scope of the invention is defined by the scope of the appended claims.

Claims (10)

一種具音訊補償機制的電子裝置,包括:一聲音模組,輸出一聲音資料;至少二音訊接收模組,分別依該聲音資料對應產生一第一音訊資料及一第二音訊資料;以及一補償模組,於該第一音訊資料與該第二音訊資料彼此相同時,且判斷該第一音訊資料及/或該第二音訊資料與該聲音資料不同時,提供一第一音訊補償資料至該聲音模組;或於該第一音訊資料及該第二音訊資料彼此不同時,且分別判斷該第一音訊資料及該第二音訊資料與其對應之一預設音訊資料不同時,提供一第二音訊補償資料至該些音訊接收模組。 An electronic device with an audio compensation mechanism includes: an audio module for outputting a sound data; and at least two audio receiving modules respectively generating a first audio data and a second audio data according to the sound data; and a compensation And providing a first audio compensation data to the first audio data and/or the second audio data when the first audio data and the second audio data are different from each other a sound module; or when the first audio data and the second audio data are different from each other, and respectively determining that the first audio data and the second audio data are different from a corresponding one of the preset audio data, providing a second The audio compensation data is sent to the audio receiving modules. 如請求項1所述之電子裝置,其中於該補償模組提供該第一音訊補償資料至該聲音模組時,該聲音模組輸出下一該聲音資料至該些音訊接收模組。 The electronic device of claim 1, wherein when the compensation module provides the first audio compensation data to the sound module, the sound module outputs the next sound data to the audio receiving modules. 如請求項1所述之電子裝置,其中於該補償模組提供該第二音訊補償資料至該些音訊接收模組時,該聲音模組輸出下一該聲音資料至該些音訊接收模組。 The electronic device of claim 1, wherein when the compensation module provides the second audio compensation data to the audio receiving modules, the sound module outputs the next sound data to the audio receiving modules. 如請求項1所述之電子裝置,其中更包括一出廠模式,該聲音模組輸出一初始聲音資料,該些音訊接收模組分別依該初始聲音資料對應產生該預設音訊資料,該補償模組紀錄該初始聲音資料及該預設音訊資料。 The electronic device of claim 1, further comprising a factory mode, wherein the sound module outputs an initial sound data, and the audio receiving modules respectively generate the preset audio data according to the initial sound data, the compensation mode The group records the initial sound data and the preset audio data. 如請求項1所述之電子裝置,其中更包括一輸入模組,接收一輸入資料並對應產生一啟動資料,該聲音模組更依據該啟動資料以輸出該聲音資料。 The electronic device of claim 1, further comprising an input module, receiving an input data and correspondingly generating a startup data, wherein the sound module further outputs the sound data according to the activation data. 如請求項1所述之電子裝置,其中於相同的該第一音訊資料及該第二音訊資料分別與其對應之該預設音訊資料相同時,該些音訊接收模組終止接收該聲音資料及/或該聲音模組終止輸出該聲音資料。 The electronic device of claim 1, wherein when the same first audio data and the second audio data are respectively identical to the corresponding preset audio data, the audio receiving modules terminate receiving the sound data and/or Or the sound module terminates outputting the sound data. 如請求項1所述之電子裝置,其中於相同的該第一音訊資料及該第二音訊資料分別與聲音資料相同時,該些音訊接收模組終 止接收該聲音資料及/或該聲音模組終止輸出該聲音資料。 The electronic device of claim 1, wherein the audio receiving module ends when the same first audio data and the second audio data are respectively the same as the sound data Receiving the sound data and/or the sound module terminates outputting the sound data. 一種音訊補償方法,包括:提供一聲音資料;依據該聲音資料分別對應產生一第一音訊資料及一第二音訊資料;判斷該第一音訊資料及該第二音訊資料是否相同;如是,判斷該第一音訊資料及/或該第二音訊資料分別與該聲音資料彼此不同時,提供一第一音訊補償資料,其中該第一音訊補償資料係傳送至一聲音模組以對其補償;以及如否,分別判斷該第一音訊資料及該第二音訊資料與其對應之一預設音訊資料不同,提供一第二音訊補償資料,其中該第二音訊補償資料係傳送至一音訊接收模組以對其補償。 An audio compensation method includes: providing a sound data; respectively generating a first audio data and a second audio data according to the sound data; determining whether the first audio data and the second audio data are the same; if yes, determining the Providing a first audio compensation data when the first audio data and/or the second audio data are different from the sound data, wherein the first audio compensation data is transmitted to a sound module to compensate; and And determining that the first audio data and the second audio data are different from the corresponding one of the preset audio data, and providing a second audio compensation data, wherein the second audio compensation data is transmitted to an audio receiving module to Its compensation. 如請求項8所述之音訊補償方法,其中於提供該第一音訊補償資料時或提供該第二音訊補償資料時,令提供下一該聲音資料。 The audio compensation method of claim 8, wherein when the first audio compensation data is provided or the second audio compensation data is provided, the next sound data is provided. 如請求項9所述之音訊補償方法,其中更包括如下步驟:進入一出廠模式;提供一初始聲音資料;以及分別依該初始聲音資料對應產生並傳送一預設音訊資料。 The audio compensation method of claim 9, further comprising the steps of: entering a factory mode; providing an initial sound data; and generating and transmitting a predetermined audio data correspondingly according to the initial sound data.
TW106122842A 2017-07-07 2017-07-07 Electronic apparatus with audio compensating mechanism and audio compensating method thereof TWI654599B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW106122842A TWI654599B (en) 2017-07-07 2017-07-07 Electronic apparatus with audio compensating mechanism and audio compensating method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW106122842A TWI654599B (en) 2017-07-07 2017-07-07 Electronic apparatus with audio compensating mechanism and audio compensating method thereof

Publications (2)

Publication Number Publication Date
TW201907393A TW201907393A (en) 2019-02-16
TWI654599B true TWI654599B (en) 2019-03-21

Family

ID=66213287

Family Applications (1)

Application Number Title Priority Date Filing Date
TW106122842A TWI654599B (en) 2017-07-07 2017-07-07 Electronic apparatus with audio compensating mechanism and audio compensating method thereof

Country Status (1)

Country Link
TW (1) TWI654599B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201640493A (en) 2015-02-13 2016-11-16 諾爾斯電子公司 Audio buffer catch-up apparatus and method with two microphones
TW201719636A (en) 2015-10-16 2017-06-01 艾孚諾亞公司 Calibration and stabilization of an active noise cancelation system
CN104303519B (en) 2012-04-02 2017-06-09 伯斯有限公司 Unstability in reponse system is detected and avoided
TWI587294B (en) 2015-07-06 2017-06-11 中達電子零組件(吳江)有限公司 Detection method of abnormal sound of apparatus and detection device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104303519B (en) 2012-04-02 2017-06-09 伯斯有限公司 Unstability in reponse system is detected and avoided
TW201640493A (en) 2015-02-13 2016-11-16 諾爾斯電子公司 Audio buffer catch-up apparatus and method with two microphones
TWI587294B (en) 2015-07-06 2017-06-11 中達電子零組件(吳江)有限公司 Detection method of abnormal sound of apparatus and detection device
TW201719636A (en) 2015-10-16 2017-06-01 艾孚諾亞公司 Calibration and stabilization of an active noise cancelation system

Also Published As

Publication number Publication date
TW201907393A (en) 2019-02-16

Similar Documents

Publication Publication Date Title
JP7035048B2 (en) Loudspeaker position estimation system and method
EP2817980B1 (en) Audio reproduction systems and methods
US10180981B2 (en) Synchronous audio playback method, apparatus and system
CN109379613B (en) Audio and video synchronization adjustment method, television, computer readable storage medium and system
US11151981B2 (en) Audio quality of speech in sound systems
JP2007259391A (en) Audio system, mobile information processing device, audio device, and acoustic field correction method
TWI654599B (en) Electronic apparatus with audio compensating mechanism and audio compensating method thereof
JP2009260718A (en) Image reproduction system and image reproduction processing program
CN108574914B (en) Method and device for adjusting multicast playback file of sound box and receiving end
JP2013135320A (en) Frequency characteristic adjustment system and frequency characteristic adjustment method
US20080124049A1 (en) Method for eliminating noise of a motor
JP2013176002A (en) Electronic camera
JP2018074220A (en) Voice processing device
JP6555395B2 (en) In-vehicle device, in-vehicle device control method and program
WO2004023801A1 (en) Information processing device and program
JP5370701B2 (en) Karaoke equipment
EP3506660B1 (en) Method for calibrating an audio reproduction system and corresponding audio reproduction system
TW201409464A (en) Disc reproducing apparatus and communication control method of disc reproducing apparatus
TW201946474A (en) Video recording method
WO2020066660A1 (en) Information processing method, information processing device and program
WO2021029294A1 (en) Data creation method and data creation program
Harker et al. Rethinking the box: Approaches to the reality of electronic music performance
Hodges In the Loop
JP2018078459A (en) Imaging apparatus
US20210012787A1 (en) Detection and restoration of distorted signals of blocked microphones