TWI407769B - Method for controlling audio gain of a mobile phone and mobile phone capable of controlling audio gain thereof - Google Patents

Method for controlling audio gain of a mobile phone and mobile phone capable of controlling audio gain thereof Download PDF

Info

Publication number
TWI407769B
TWI407769B TW97149373A TW97149373A TWI407769B TW I407769 B TWI407769 B TW I407769B TW 97149373 A TW97149373 A TW 97149373A TW 97149373 A TW97149373 A TW 97149373A TW I407769 B TWI407769 B TW I407769B
Authority
TW
Taiwan
Prior art keywords
format
automatic gain
file
specific
determination result
Prior art date
Application number
TW97149373A
Other languages
Chinese (zh)
Other versions
TW201026013A (en
Inventor
Po Chang Ho
Chen Yu Wang
Wei Tun Lan
Original Assignee
Htc Corp
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 Htc Corp filed Critical Htc Corp
Priority to TW97149373A priority Critical patent/TWI407769B/en
Publication of TW201026013A publication Critical patent/TW201026013A/en
Application granted granted Critical
Publication of TWI407769B publication Critical patent/TWI407769B/en

Links

Landscapes

  • Circuit For Audible Band Transducer (AREA)
  • Control Of Amplification And Gain Control (AREA)
  • Telephone Function (AREA)

Abstract

A method for controlling audio gain of a mobile phone includes the steps of determining whether the mobile phone is in a speaker mode, determining whether a present playback file is a designated format to generate a judgment result when the mobile phone is in the speaker mode, determining whether to start an automatic gain control function for adjusting the audio gain of the present playback file according to the judgment result. When the present playback file is a first designated audio format or a first designated video format, start the automatic gain control function.

Description

控制行動電話之音量增益之方法以及可控制音量增益之行動電話Method of controlling the volume gain of a mobile phone and a mobile phone capable of controlling volume gain

本發明係有關於控制行動電話之音量增益之方法以及可控制音量增益之行動電話,尤指一種在行動電話係處於喇叭模式下時,判斷一目前播放檔案是否為一特定格式來決定是否啟動一自動增益控制功能之方法與行動電話。The invention relates to a method for controlling the volume gain of a mobile phone and a mobile phone capable of controlling the volume gain, in particular, when the mobile phone system is in the speaker mode, determining whether a current play file is in a specific format to determine whether to activate a phone. Automatic gain control function method and mobile phone.

在無線通訊網路蓬勃發展的現代資訊社會,行動電話已成為社會大眾最為普遍使用的通訊工具之一。行動電話能讓使用者隨時隨地進行無線通訊,方便地進行語音的溝通。且目前行動電話所提供的應用愈來愈廣泛,使用者可利用行動電話來實現像是觀看電影、播放音樂、收看新聞、錄影錄音等多媒體功能。In the modern information society where the wireless communication network is booming, mobile phones have become one of the most commonly used communication tools for the public. Mobile phones allow users to communicate wirelessly anytime, anywhere, and easily communicate voice. At present, mobile phones provide more and more applications, and users can use mobile phones to realize multimedia functions such as watching movies, playing music, watching news, recording and recording.

由於行動電話的體積通常很小,所以喇叭的尺寸大小通常會受限於有限的空間而不會太大,如此一來,也會造成行動電話的播放音量連帶地受到限制。且不同音訊檔案來源具有不同的音量大小以及不同的動態分布範圍,所以行動電話的喇叭很難符合所有的要求。因此,當行動電話所播放的檔案來源音量太小時,喇叭的輸出很難被聽見,這種情形在吵雜的環境中更為嚴重。Since the size of a mobile phone is usually small, the size of the speaker is usually limited to a limited space and is not too large, which also causes the playback volume of the mobile phone to be limited. Different audio file sources have different volume levels and different dynamic distribution ranges, so the speaker of the mobile phone is difficult to meet all the requirements. Therefore, when the volume of the file source played by the mobile phone is too small, the output of the speaker is hard to be heard, which is more serious in noisy environments.

因此,本發明的目的之一在於提出一種控制一行動電話之音量增益之方法以及可控制音量增益之行動電話,以解決上述之問題。Accordingly, it is an object of the present invention to provide a method of controlling the volume gain of a mobile phone and a mobile phone capable of controlling the volume gain to solve the above problems.

本發明係揭露一種控制一行動電話之音量增益之方法。該方法包含:判斷該行動電話是否處於喇叭模式下;於判斷行動電話係處於喇叭模式下時,判斷一目前播放檔案是否為一特定格式以產生一判斷結果;以及依據該判斷結果來決定是否啟動一自動增益控制功能,以調整該目前播放檔案之音量增益。當該目前播放檔案係為第一特定視訊格式(例如wmv格式、mp4格式、avi格式、3gp格式、3g2格式與m4v格式)或者第一特定音訊格式(例如wav格式、mp3格式與mid格式)時,才啟動自動增益控制功能。The present invention discloses a method of controlling the volume gain of a mobile phone. The method includes: determining whether the mobile phone is in the speaker mode; determining whether the current play file is in a specific format to generate a determination result when determining that the mobile phone is in the speaker mode; and determining whether to activate according to the determination result An automatic gain control function to adjust the volume gain of the currently playing file. When the current play file is the first specific video format (eg, wmv format, mp4 format, avi format, 3gp format, 3g2 format, and m4v format) or the first specific audio format (eg, wav format, mp3 format, and mid format) The automatic gain control function is activated.

本發明另揭露一種可控制音量增益之行動電話。行動電話包含音訊編解碼單元、運算放大單元、聲音輸出裝置、偵測與判斷單元以及微處理單元。音訊編解碼單元係用來處理一目前播放檔案。運算放大單元係耦接於音訊編解碼單元,其包含自動增益控制器以及放大器,其中自動增益控制器係用來調整該目前播放檔案之音量增益,而放大器係耦接於自動增益控制器,用來放大該目前播放檔案之音量增益至一固定倍數。聲音輸出裝置係耦接於運算放大單元,當行動電話係處於喇叭模式下時,行動電話使用聲音輸出裝置來播放該目前播放檔案。偵測與判斷單元係用來於行動電話係處於喇叭模式下時,判斷該目前播放檔案是否為一特定格式以產生一判斷結果。微處理單元係耦接於音訊編解碼單元、運算放大單元與偵測與判斷單元,用來依據該判斷結果來決定是否啟動自動增益控制器之一自動增益控制功能。The invention further discloses a mobile phone capable of controlling volume gain. The mobile phone includes an audio codec unit, an operation amplification unit, a sound output device, a detection and determination unit, and a micro processing unit. The audio codec unit is used to process a currently playing file. The operation amplifying unit is coupled to the audio codec unit, and includes an automatic gain controller and an amplifier, wherein the automatic gain controller is used to adjust the volume gain of the currently playing file, and the amplifier is coupled to the automatic gain controller. To zoom in on the volume gain of the currently playing file to a fixed multiple. The sound output device is coupled to the operational amplification unit. When the mobile phone is in the speaker mode, the mobile phone uses the sound output device to play the current play file. The detecting and determining unit is configured to determine whether the current playing file is in a specific format when the mobile phone system is in the speaker mode to generate a determination result. The micro processing unit is coupled to the audio codec unit, the operational amplification unit, and the detection and determination unit, and is configured to determine whether to activate an automatic gain control function of the automatic gain controller according to the determination result.

請參考第1圖,第1圖為本發明可控制音量增益之行動電話100之第一實施例的示意圖。如第1圖所示,行動電話100包含(但不侷限於)微處理單元110、偵測與判斷單元120、音訊編解碼單元130、運算放大單元140以及聲音輸出裝置170。音訊編解碼單元130係耦接於微處理單元110,用來處理一目前播放檔案PF1。而運算放大單元140係耦接於音訊編解碼單元130,其包含自動增益控制器150以及放大器160,其中自動增益控制器150係用來調整目前播放檔案PF1之音量增益以產生目前播放檔案PF2,而放大器160係耦接於自動增益控制器150,用來放大目前播放檔案PF2之音量增益至一固定倍數以產生目前播放檔案PF3。偵測與判斷單元120則係用來於行動電話係處於喇叭模式(speaker mode)下時,判斷目前播放檔案PF1是否為一特定格式來產生判斷結果DR1。微處理單元110係耦接於音訊編解碼單元130、運算放大單元140以及偵測與判斷單元120,用來依據判斷結果DR1來產生控制訊號SC給自動增益控制器150,以決定是否啟動自動增益控制器150之自動增益控制功能。其中,聲音輸出裝置170係可為一喇叭。關於微處理單元110如何依據目前播放檔案PF1的檔案格式來決定是否啟動自動增益控制器150之自動增益控制功能的相關運作,將於下列實施例中再詳加說明。Please refer to FIG. 1. FIG. 1 is a schematic diagram of a first embodiment of a mobile phone 100 capable of controlling volume gain according to the present invention. As shown in FIG. 1, the mobile phone 100 includes, but is not limited to, a micro processing unit 110, a detection and determination unit 120, an audio codec unit 130, an operational amplification unit 140, and a sound output device 170. The audio codec unit 130 is coupled to the micro processing unit 110 for processing a current play file PF1. The operation amplifying unit 140 is coupled to the audio codec unit 130, and includes an automatic gain controller 150 and an amplifier 160. The automatic gain controller 150 is configured to adjust the volume gain of the currently playing file PF1 to generate the current play file PF2. The amplifier 160 is coupled to the automatic gain controller 150 for amplifying the volume gain of the currently playing file PF2 to a fixed multiple to generate the current play file PF3. The detecting and determining unit 120 is configured to determine whether the current playing file PF1 is in a specific format to generate the determination result DR1 when the mobile phone system is in the speaker mode. The micro-processing unit 110 is coupled to the audio codec unit 130, the operational amplification unit 140, and the detection and determination unit 120 for generating the control signal SC to the automatic gain controller 150 according to the determination result DR1 to determine whether to start the automatic gain. The automatic gain control function of the controller 150. The sound output device 170 can be a speaker. How the micro processing unit 110 determines whether to activate the automatic gain control function of the automatic gain controller 150 according to the file format of the currently playing file PF1 will be described in detail in the following embodiments.

於本實施例中,偵測與判斷單元120以及音訊編解碼單元130係設置於微處理單元110之外部,但本發明並不侷限於此。於其他實施例中,偵測與判斷單元120以及音訊編解碼單元130亦可設置於微處理單元110之內部。請參考第2圖,第2圖為本發明可控制音量增益之行動電話200之第二實施例的示意圖。於第2圖中,行動電話200之架構係與第1圖所示之行動電話100類似,兩者不同之處在於行動電話200之偵測與判斷單元220以及音訊編解碼單元230係設置於微處理單元210之內部。換言之,偵測與判斷單元220以及音訊編解碼單元230以及微處理單元210係設置於同一積體電路上,此亦隸屬於本發明所涵蓋之範圍。In the present embodiment, the detection and determination unit 120 and the audio codec unit 130 are disposed outside the micro processing unit 110, but the present invention is not limited thereto. In other embodiments, the detection and determination unit 120 and the audio codec unit 130 may also be disposed inside the micro processing unit 110. Please refer to FIG. 2, which is a schematic diagram of a second embodiment of a mobile phone 200 capable of controlling volume gain according to the present invention. In FIG. 2, the architecture of the mobile phone 200 is similar to that of the mobile phone 100 shown in FIG. 1, and the difference is that the detection and determination unit 220 of the mobile phone 200 and the audio codec unit 230 are set in the microphone. The interior of the processing unit 210. In other words, the detection and determination unit 220 and the audio codec unit 230 and the micro processing unit 210 are disposed on the same integrated circuit, which is also within the scope of the present invention.

請參考第3圖,第3圖為說明不同格式之播放檔案的音量分布特性之示意圖。於第3圖中,左邊代表的是特定格式之檔案的音量分布特性,而右邊代表的是非特定格式之檔案的音量分布特性。此處所謂之「特定格式」又可細分為兩種-第一特定視訊格式以及第一特定音訊格式,其中第一特定視訊格式係包含wmv格式、mp4格式、avi格式、3gp格式、3g2格式或者m4v格式,而第一特定音訊格式則包含wav格式、mp3格式或者mid格式,這些特定格式常見於電影播放檔案、新聞播放檔案或者衛星導航檔案的語音部分之中。由第3圖可以得知,特定格式之檔案的動態分布範圍較廣,而平均音量則落在-27dB處;而非特定格式之檔案(像是一般的音樂播放檔案)的動態分布範圍較小,且平均音量係落在-10dB處,較特定格式之檔案的平均音量高出許多倍(-10dB>-27dB)。此時,若是行動電話使用相同的喇叭來播放上述之特定格式以及非特定格式的檔案,會發現電影播放檔案、新聞播放檔案或者衛星導航檔案的語音部分常會顯得很小聲且不容易聽的清楚,而一般的音樂播放檔案則不會出現這些問題。為了解決此問題,則本發明提出行動電話100、200,其可依據目前播放檔案PF1的檔案格式來決定是否啟動自動增益控制器150之自動增益控制功能。Please refer to Figure 3, which is a schematic diagram showing the volume distribution characteristics of playback files in different formats. In Fig. 3, the left side represents the volume distribution characteristics of a file of a specific format, and the right side represents the volume distribution characteristic of a file of a non-specific format. The "specific format" referred to herein can be further divided into two types - a first specific video format and a first specific audio format, wherein the first specific video format includes wmv format, mp4 format, avi format, 3gp format, 3g2 format or The m4v format, while the first specific audio format includes the wav format, the mp3 format, or the mid format, which are commonly found in the voice portion of a movie play file, a news play file, or a satellite navigation file. As can be seen from Figure 3, the dynamic distribution of files in a specific format is wider, and the average volume falls at -27 dB; the dynamic distribution of files that are not in a specific format (such as a general music play file) is small. And the average volume falls at -10dB, which is many times higher than the average volume of a particular format file (-10dB>-27dB). At this time, if the mobile phone uses the same speaker to play the above-mentioned specific format and non-specific format files, it will be found that the voice part of the movie play file, news play file or satellite navigation file often appears very small and not easy to hear clearly. And the general music play files will not have these problems. In order to solve this problem, the present invention proposes a mobile phone 100, 200, which can decide whether to activate the automatic gain control function of the automatic gain controller 150 according to the file format of the currently playing file PF1.

請參考第4圖,第4圖為本發明控制一行動電話之音量增益之方法之一操作範例的流程圖,其包含以下的步驟(下列步驟並非限定要依據第4圖所示之順序來執行,可做適當調變獲得所要結果):步驟402:開始。Please refer to FIG. 4, which is a flow chart of an operation example of a method for controlling the volume gain of a mobile phone according to the present invention, which includes the following steps (the following steps are not limited to be performed according to the sequence shown in FIG. , you can do the appropriate modulation to get the desired result): Step 402: Start.

步驟404:判斷行動電話是否處於喇叭模式下。當行動電話係處於喇叭模式下時,執行步驟406;否則,執行步驟410。Step 404: Determine whether the mobile phone is in the speaker mode. When the mobile phone is in the speaker mode, step 406 is performed; otherwise, step 410 is performed.

步驟406:判斷目前播放檔案是否為一特定格式以產生一判斷結果。當判斷結果顯示該目前播放檔案係為該特定格式時,執行步驟408;否則,執行步驟410。Step 406: Determine whether the currently playing file is in a specific format to generate a judgment result. When the result of the judgment indicates that the current play file is in the specific format, step 408 is performed; otherwise, step 410 is performed.

步驟408:啟動自動增益控制功能。Step 408: Start the automatic gain control function.

步驟410:不啟動自動增益控制功能。Step 410: The automatic gain control function is not activated.

關於第4圖所示之各步驟請搭配第1圖或者第2圖所示之各元件,即可了解各元件之間如何運作,而為了說明書內容簡潔起見,故第4圖中各步驟的操作便不再贅述。值得注意的是,步驟404、406係由偵測與判斷單元120、220來執行之,而步驟408、410則係由微處理單元110、210來執行之。For each step shown in Figure 4, please refer to the components shown in Figure 1 or Figure 2 to understand how each component operates. For the sake of brevity of the description, the steps in Figure 4 are The operation will not be described again. It should be noted that steps 404, 406 are performed by the detection and determination unit 120, 220, and steps 408, 410 are performed by the micro processing units 110, 210.

請參考第5圖,第5圖(包含有圖5A以及圖5B)為本發明控制一行動電話之音量增益之方法之另一操作範例的流程圖。如圖5A所示,其包含(但不侷限於)以下的步驟:步驟402:開始。Please refer to FIG. 5, which is a flowchart of another operation example of the method for controlling the volume gain of a mobile phone according to the present invention. As shown in FIG. 5A, it includes, but is not limited to, the following steps: Step 402: Start.

步驟404:判斷行動電話是否處於喇叭模式下。當行動電話係處於喇叭模式下時,執行步驟510;否則,執行步驟410。Step 404: Determine whether the mobile phone is in the speaker mode. When the mobile phone is in the speaker mode, step 510 is performed; otherwise, step 410 is performed.

步驟510:判斷該目前播放檔案是否為第一特定視訊格式以產生第一判斷結果。當目前播放檔案係為第一特定視訊格式時,執行步驟408;否則,執行步驟512。Step 510: Determine whether the current play file is the first specific video format to generate a first determination result. When the currently playing file is the first specific video format, step 408 is performed; otherwise, step 512 is performed.

步驟512:判斷該目前播放檔案是否為第一特定音訊格式以產生第二判斷結果。當目前播放檔案係為第一特定音訊格式時,執行步驟408;否則,執行步驟410。Step 512: Determine whether the current play file is the first specific audio format to generate a second determination result. When the currently playing file is in the first specific audio format, step 408 is performed; otherwise, step 410 is performed.

步驟408:啟動自動增益控制功能。Step 408: Start the automatic gain control function.

步驟410:不啟動自動增益控制功能。Step 410: The automatic gain control function is not activated.

如圖5B所示,其包含(但不侷限於)以下的步驟:步驟402:開始。As shown in FIG. 5B, it includes, but is not limited to, the following steps: Step 402: Start.

步驟404:判斷行動電話是否處於喇叭模式下。當行動電話係處於喇叭模式下時,執行步驟520;否則,執行步驟410。Step 404: Determine whether the mobile phone is in the speaker mode. When the mobile phone is in the speaker mode, step 520 is performed; otherwise, step 410 is performed.

步驟520:判斷該目前播放檔案是否為第一特定音訊格式以產生第一判斷結果。當目前播放檔案係為第一特定音訊格式時,執行步驟408;否則,執行步驟522。Step 520: Determine whether the current play file is the first specific audio format to generate a first determination result. When the currently playing file is in the first specific audio format, step 408 is performed; otherwise, step 522 is performed.

步驟522:判斷該目前播放檔案是否為第一特定視訊格式以產生第二判斷結果。當目前播放檔案係為第一特定視訊格式時,執行步驟408;否則,執行步驟410。Step 522: Determine whether the current play file is the first specific video format to generate a second determination result. When the currently playing file is the first specific video format, step 408 is performed; otherwise, step 410 is performed.

步驟408:啟動自動增益控制功能。Step 408: Start the automatic gain control function.

步驟410:不啟動自動增益控制功能。Step 410: The automatic gain control function is not activated.

請注意,圖5A以及圖5B所示的步驟與第4圖的步驟類似,其係分別為第4圖的變化實施例。於圖5A中,與第4圖的步驟不同之處在於圖5A的流程係將第4圖的步驟406再細分成兩個步驟(亦即步驟510~512);同樣地,於圖5B中,與第4圖的步驟不同之處在於圖5B的流程將第4圖的步驟406再細分成兩個步驟(亦即步驟520~522)。值得注意的是,判斷目前播放檔案是否為第一特定視訊格式或者第一特定音訊格式的步驟順序,並非本發明之限制條件。Note that the steps shown in FIGS. 5A and 5B are similar to the steps in FIG. 4, which are respectively modified embodiments of FIG. In FIG. 5A, the difference from the step of FIG. 4 is that the flow of FIG. 5A subdivides the step 406 of FIG. 4 into two steps (ie, steps 510-512); likewise, in FIG. 5B, The difference from the step of FIG. 4 is that the flow of FIG. 5B subdivides step 406 of FIG. 4 into two steps (ie, steps 520-522). It should be noted that the order of the steps for judging whether the currently playing file is the first specific video format or the first specific audio format is not a limitation of the present invention.

請注意,上述各流程之步驟僅為本發明所舉可行的實施例,並非限制本發明的限制條件,且在不違背本發明之精神的情況下,此方法可另包含其它的中間步驟或者可將幾個步驟合併成單一步驟,以做適當之變化。It should be noted that the steps of the above various processes are merely examples of the present invention, and are not intended to limit the present invention, and the method may further include other intermediate steps or may be omitted without departing from the spirit of the present invention. Combine several steps into a single step to make the appropriate changes.

以上所述的實施例僅用來說明本發明之技術特徵,並非用來侷限本發明之範疇。由上可知,本發明提供一種可控制音量增益之行動電話以及控制行動電話之音量增益之方法。由於不同音訊檔案來源具有不同的音量大小以及不同的動態分布範圍,所以行動電話的喇叭很難符合所有的要求。因此,本發明所揭露之行動電話透過判斷目前播放檔案的檔案格式來決定是否啟動自動增益控制器的自動增益控制功能。當播放一般的音樂檔案(亦即上述非特定格式之檔案)時,由於其動態分布範圍較小且平均音量較大,所以微處理單元無須啟動自動增益控制器的自動增益控制功能;而當播放電影播放檔案、新聞播放檔案或者衛星導航檔案(亦即上述之特定格式之檔案)的語音部分時,由於其動態分布範圍較大且平均音量較小,所以微處理單元必須啟動自動增益控制功能來最佳化目前播放檔案的音量增益。如此一來,本發明所揭露之行動電話不會有聽不到喇叭的輸出等問題出現。此外,上述之自動增益控制器150以及放大器160係可採用同一個晶片,並不需要增加額外的擺放空間。The embodiments described above are only intended to illustrate the technical features of the present invention and are not intended to limit the scope of the present invention. As can be seen from the above, the present invention provides a mobile phone capable of controlling volume gain and a method of controlling the volume gain of a mobile phone. Since different audio file sources have different volume levels and different dynamic distribution ranges, it is difficult for the speaker of the mobile phone to meet all the requirements. Therefore, the mobile phone disclosed in the present invention determines whether to activate the automatic gain control function of the automatic gain controller by determining the file format of the currently playing file. When playing a general music file (that is, the above-mentioned non-specific format file), since the dynamic distribution range is small and the average volume is large, the micro processing unit does not need to activate the automatic gain control function of the automatic gain controller; When the voice part of a movie play file, a news play file or a satellite navigation file (that is, the file of a specific format mentioned above) is large, the micro processing unit must start the automatic gain control function because of its large dynamic distribution range and small average volume. Optimize the volume gain of the currently playing file. As a result, the mobile phone disclosed in the present invention does not have problems such as the output of the speaker. In addition, the automatic gain controller 150 and the amplifier 160 described above can use the same wafer without adding additional space for placement.

以上所述僅為本發明之較佳實施例,凡依本發明申請專利範圍所做之均等變化與修飾,皆應屬本發明之涵蓋範圍。The above are only the preferred embodiments of the present invention, and all changes and modifications made to the scope of the present invention should be within the scope of the present invention.

100、200...行動電話100, 200. . . mobile phone

110、210...微處理單元110, 210. . . Micro processing unit

120、220...偵測與判斷單元120, 220. . . Detection and judgment unit

130、230...音訊編解碼單元130, 230. . . Audio codec unit

140...運算放大單元140. . . Operational amplification unit

150...自動增益控制器150. . . Automatic gain controller

160...放大器160. . . Amplifier

170...聲音輸出裝置170. . . Sound output device

PF1、PF2、PF3...目前播放檔案PF1, PF2, PF3. . . Currently playing the file

DR1...判斷結果DR1. . . critical result

SC...控制訊號SC. . . Control signal

402~410、510~512、520~522...步驟402-410, 510-512, 520-522. . . step

第1圖為本發明可控制音量增益之行動電話之第一實施例的示意圖。1 is a schematic diagram of a first embodiment of a mobile phone capable of controlling volume gain according to the present invention.

第2圖為本發明可控制音量增益之行動電話之第二實施例的示意圖。2 is a schematic diagram of a second embodiment of a mobile phone capable of controlling volume gain according to the present invention.

第3圖為說明不同格式之播放檔案的音量分布特性之示意圖。Figure 3 is a schematic diagram showing the volume distribution characteristics of playback files in different formats.

第4圖為本發明控制一行動電話之音量增益之方法之一操作範例的流程圖。Figure 4 is a flow chart showing an example of the operation of one method of controlling the volume gain of a mobile phone according to the present invention.

第5圖(包含有圖5A以及圖5B)為本發明控制一行動電話之音量增益之方法之另一操作範例的流程圖。Figure 5 (comprising Figures 5A and 5B) is a flow chart showing another example of the operation of the method of controlling the volume gain of a mobile phone.

100...行動電話100. . . mobile phone

110...微處理單元110. . . Micro processing unit

120...偵測與判斷單元120. . . Detection and judgment unit

130...音訊編解碼單元130. . . Audio codec unit

140...運算放大單元140. . . Operational amplification unit

150...自動增益控制器150. . . Automatic gain controller

160...放大器160. . . Amplifier

170...聲音輸出裝置170. . . Sound output device

PF1、PF2、PF3...目前播放檔案PF1, PF2, PF3. . . Currently playing the file

DR1...判斷結果DR1. . . critical result

SC...控制訊號SC. . . Control signal

Claims (18)

一種控制一行動電話之音量增益之方法,包含有:判斷該行動電話是否處於一喇叭模式下;於判斷該行動電話係處於該喇叭模式下時,判斷一目前播放檔案是否為一特定格式以產生一判斷結果;以及依據該判斷結果來決定是否啟動一自動增益控制功能,以調整該目前播放檔案之音量增益。A method for controlling a volume gain of a mobile phone, comprising: determining whether the mobile phone is in a speaker mode; determining whether the current play file is in a specific format to determine whether the mobile phone is in the speaker mode Determining a result; and determining whether to activate an automatic gain control function according to the determination result to adjust a volume gain of the currently playing file. 如申請專利範圍第1項所述之方法,其中依據該判斷結果來決定是否啟動該自動增益控制功能之步驟係包含:於該判斷結果顯示該目前播放檔案係為該特定格式時,啟動該自動增益控制功能;以及於該判斷結果顯示該目前播放檔案係並非為該特定格式時,不啟動該自動增益控制功能。The method of claim 1, wherein the step of determining whether to activate the automatic gain control function according to the determination result comprises: starting the automatic display file when the current playback file is in the specific format; The gain control function; and when the judgment result indicates that the current play file is not in the specific format, the automatic gain control function is not activated. 如申請專利範圍第1項所述之方法,其中判斷該目前播放檔案是否為該特定格式之步驟係包含:判斷該目前播放檔案是否為一第一特定視訊格式以產生一第一判斷結果;以及依據該第一判斷結果來決定是否啟動該自動增益控制功能之步驟係包含:當該第一判斷結果顯示該目前播放檔案係為該第一特定視訊格式時,啟動該自動增益控制功能。The method of claim 1, wherein the step of determining whether the current play file is the specific format comprises: determining whether the current play file is a first specific video format to generate a first determination result; The step of determining whether to activate the automatic gain control function according to the first determination result comprises: when the first determination result indicates that the current play file is the first specific video format, the automatic gain control function is activated. 如申請專利範圍第3項所述之方法,其中判斷該目前播放檔案是否為該特定格式之步驟另包含:於該第一判斷結果顯示該目前播放檔案並非為該第一特定視訊格式時,判斷該目前播放檔案是否為一第一特定音訊格式以產生一第二判斷結果;以及依據該第二判斷結果來決定是否啟動該自動增益控制功能之步驟另包含:當該第二判斷結果顯示該目前播放檔案係為該第一特定音訊格式時,啟動該自動增益控制功能;以及當該第二判斷結果顯示該目前播放檔案並非為該第一特定音訊格式時,不啟動該自動增益控制功能。The method of claim 3, wherein the step of determining whether the current play file is the specific format further comprises: determining, when the first judgment result indicates that the current play file is not the first specific video format, Whether the current play file is a first specific audio format to generate a second determination result; and determining whether to activate the automatic gain control function according to the second determination result further includes: when the second determination result displays the current When the play file is in the first specific audio format, the automatic gain control function is activated; and when the second determination result indicates that the current play file is not the first specific audio format, the automatic gain control function is not activated. 如申請專利範圍第4項所述之方法,其中該第一特定視訊格式係為wmv格式、mp4格式、avi格式、3gp格式、3g2格式與m4v格式中之一,以及該第一特定音訊格式係為wav格式、mp3格式與mid格式中之一。The method of claim 4, wherein the first specific video format is one of a wmv format, an mp4 format, an avi format, a 3gp format, a 3g2 format, and an m4v format, and the first specific audio format system It is one of wav format, mp3 format and mid format. 如申請專利範圍第1項所述之方法,其中判斷該目前播放檔案是否為該特定格式之步驟係包含:判斷該目前播放檔案是否為一第一特定音訊格式以產生一第一判斷結果;以及依據該第一判斷結果來決定是否啟動該自動增益控制功能之步驟係包含:當該第一判斷結果顯示該目前播放檔案係為該第一特定音訊格式時,啟動該自動增益控制功能。The method of claim 1, wherein the step of determining whether the current play file is the specific format comprises: determining whether the current play file is a first specific audio format to generate a first determination result; The step of determining whether to activate the automatic gain control function according to the first determination result comprises: when the first determination result indicates that the current play file is the first specific audio format, the automatic gain control function is activated. 如申請專利範圍第6項所述之方法,其中判斷該目前播放檔案是否為該特定格式之步驟另包含:於該第一判斷結果顯示該目前播放檔案並非為該第一特定音訊格式時,判斷該目前播放檔案是否為一第一特定視訊格式以產生一第二判斷結果;以及依據該第二判斷結果來決定是否啟動該自動增益控制功能之步驟另包含:當該第二判斷結果顯示該目前播放檔案係為該第一特定視訊格式時,啟動該自動增益控制功能;以及當該第二判斷結果顯示該目前播放檔案並非為該第一特定視訊格式時,不啟動該自動增益控制功能。The method of claim 6, wherein the step of determining whether the current play file is the specific format further comprises: determining, when the first judgment result indicates that the current play file is not the first specific audio format, Whether the current playback file is a first specific video format to generate a second determination result; and determining whether to activate the automatic gain control function according to the second determination result further includes: when the second determination result displays the current When the play file is the first specific video format, the automatic gain control function is activated; and when the second determination result indicates that the current play file is not the first specific video format, the automatic gain control function is not activated. 如申請專利範圍第7項所述之方法,其中該第一特定視訊格式係為wmv格式、mp4格式、avi格式、3gp格式、3g2格式與m4v格式中之一,以及該第一特定音訊格式係為wav格式、mp3格式與mid格式中之一。The method of claim 7, wherein the first specific video format is one of a wmv format, an mp4 format, an avi format, a 3gp format, a 3g2 format, and an m4v format, and the first specific audio format system It is one of wav format, mp3 format and mid format. 一種可控制音量增益之行動電話,包含有;一音訊編解碼單元,用來處理一目前播放檔案;一運算放大單元,耦接於該音訊編解碼單元,包含有:一自動增益控制器,用來調整該目前播放檔案之音量增益;以及一放大器,耦接於該自動增益控制器,用來放大該目前播放檔案之音量增益至一固定倍數;一聲音輸出裝置,耦接於該運算放大單元,其中當該行動電話係處於一喇叭模式下時,該行動電話使用該聲音輸出裝置來播放該目前播放檔案;一偵測與判斷單元,用來於該行動電話係處於該喇叭模式下時,判斷該目前播放檔案是否為一特定格式以產生一判斷結果;以及一微處理單元,耦接於該音訊編解碼單元、該運算放大單元以及該偵測與判斷單元,用來依據該判斷結果來產生一控制訊號以決定是否啟動該自動增益控制器之一自動增益控制功能。A mobile phone capable of controlling volume gain includes: an audio codec unit for processing a current play file; an operational amplifier unit coupled to the audio codec unit, comprising: an automatic gain controller, Adjusting the volume gain of the current playback file; and an amplifier coupled to the automatic gain controller for amplifying the volume gain of the current playback file to a fixed multiple; an audio output device coupled to the operational amplification unit When the mobile phone is in a speaker mode, the mobile phone uses the voice output device to play the current play file; and a detecting and determining unit is configured to use the mobile phone system in the speaker mode. Determining whether the current playback file is in a specific format to generate a determination result; and a micro processing unit coupled to the audio codec unit, the operational amplification unit, and the detection and determination unit for using the determination result A control signal is generated to determine whether to activate an automatic gain control function of the automatic gain controller. 如申請專利範圍第9項所述之行動電話,其中該聲音輸出裝置係為一喇叭。The mobile phone of claim 9, wherein the sound output device is a speaker. 如申請專利範圍第9項所述之行動電話,其中該微處理單元、該音訊編解碼器以及該偵測與判斷單元係設置於同一積體電路上。The mobile phone according to claim 9, wherein the micro processing unit, the audio codec, and the detecting and determining unit are disposed on the same integrated circuit. 如申請專利範圍第9項所述之行動電話,其中該微處理單元於該判斷結果顯示該目前播放檔案係為該特定格式時,啟動該自動增益控制器之該自動增益控制功能;並於該判斷結果顯示該目前播放檔案係並非為該特定格式時,不啟動該自動增益控制器之該自動增益控制功能。The mobile phone according to claim 9 , wherein the micro processing unit starts the automatic gain control function of the automatic gain controller when the judgment result indicates that the current play file is in the specific format; When the judgment result indicates that the current playback file is not in the specific format, the automatic gain control function of the automatic gain controller is not activated. 如申請專利範圍第9項所述之行動電話,其中該偵測與判斷單元係用來判斷該目前播放檔案是否為一第一特定視訊格式以產生一第一判斷結果;以及該微處理單元係用來於該第一判斷結果顯示該目前播放檔案係為該第一特定視訊格式時,啟動該自動增益控制器之該自動增益控制功能。The mobile phone of claim 9, wherein the detecting and determining unit is configured to determine whether the current playing file is a first specific video format to generate a first determination result; and the micro processing unit is And the automatic gain control function of the automatic gain controller is activated when the first determination result indicates that the current playback file is the first specific video format. 如申請專利範圍第13項所述之行動電話,其中該偵測與判斷單元另用來於該判斷結果判斷該目前播放檔案並非為該第一特定視訊格式時,判斷該目前播放檔案是否為一第一特定音訊格式以產生一第二判斷結果;以及該微處理單元另用來於該第二判斷結果顯示該目前播放檔案係為該第一特定音訊格式時,啟動該自動增益控制器之該自動增益控制功能;並於該第二判斷結果顯示該目前播放檔案並非為該第一特定音訊格式時,不啟動該自動增益控制器之該自動增益控制功能。The mobile phone according to claim 13 , wherein the detecting and determining unit is further configured to determine, according to the determining result, that the current playing file is not the first specific video format, determining whether the current playing file is a The first specific audio format is used to generate a second determination result; and the micro processing unit is further configured to activate the automatic gain controller when the second determination result indicates that the current playback file is the first specific audio format The automatic gain control function; and when the second determination result indicates that the current play file is not the first specific audio format, the automatic gain control function of the automatic gain controller is not activated. 如申請專利範圍第14項所述之行動電話,其中該第一特定視訊格式係為wmv格式、mp4格式、avi格式、3gp格式、3g2格式與m4v格式中之一,以及該第一特定音訊格式係為wav格式、mp3格式與mid格式中之一。The mobile phone according to claim 14, wherein the first specific video format is one of a wmv format, an mp4 format, an avi format, a 3gp format, a 3g2 format, and an m4v format, and the first specific audio format. It is one of wav format, mp3 format and mid format. 如申請專利範圍第9項所述之行動電話,其中該偵測與判斷單元係用來判斷該目前播放檔案是否為一第一特定音訊格式以產生一第一判斷結果;以及該微處理單元係用來於該第一判斷結果顯示該目前播放檔案係為該第一特定音訊格式時,啟動該自動增益控制器之該自動增益控制功能。The mobile phone of claim 9, wherein the detecting and determining unit is configured to determine whether the current playing file is a first specific audio format to generate a first determination result; and the micro processing unit is The automatic gain control function of the automatic gain controller is activated when the first determination result indicates that the current playback file is the first specific audio format. 如申請專利範圍第16項所述之行動電話,其中該偵測與判斷單元另用來於該第一判斷結果判斷該目前播放檔案並非為該第一特定音訊格式時,判斷該目前播放檔案是否為一第一特定視訊格式以產生一第二判斷結果;以及該微處理單元另用來於該第二判斷結果顯示該目前播放檔案係為該第一特定視訊格式時,啟動該自動增益控制器之該自動增益控制功能;並於該第二判斷結果顯示該目前播放檔案並非為該第一特定視訊格式時,不啟動該自動增益控制器之該自動增益控制功能。The mobile phone according to claim 16 , wherein the detecting and determining unit is further configured to determine, according to the first determining result, that the current playing file is not the first specific audio format, determining whether the current playing file is a first specific video format to generate a second determination result; and the micro processing unit is further configured to activate the automatic gain controller when the second determination result indicates that the current playback file is the first specific video format The automatic gain control function; and when the second determination result indicates that the current play file is not the first specific video format, the automatic gain control function of the automatic gain controller is not activated. 如申請專利範圍第17項所述之行動電話,其中該第一特定視訊格式係為wmv格式、mp4格式、avi格式、3gp格式、3g2格式與m4v格式中之一,以及該第一特定音訊格式係為wav格式、mp3格式與mid格式中之一。The mobile phone according to claim 17, wherein the first specific video format is one of a wmv format, an mp4 format, an avi format, a 3gp format, a 3g2 format, and an m4v format, and the first specific audio format. It is one of wav format, mp3 format and mid format.
TW97149373A 2008-12-18 2008-12-18 Method for controlling audio gain of a mobile phone and mobile phone capable of controlling audio gain thereof TWI407769B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW97149373A TWI407769B (en) 2008-12-18 2008-12-18 Method for controlling audio gain of a mobile phone and mobile phone capable of controlling audio gain thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW97149373A TWI407769B (en) 2008-12-18 2008-12-18 Method for controlling audio gain of a mobile phone and mobile phone capable of controlling audio gain thereof

Publications (2)

Publication Number Publication Date
TW201026013A TW201026013A (en) 2010-07-01
TWI407769B true TWI407769B (en) 2013-09-01

Family

ID=44852791

Family Applications (1)

Application Number Title Priority Date Filing Date
TW97149373A TWI407769B (en) 2008-12-18 2008-12-18 Method for controlling audio gain of a mobile phone and mobile phone capable of controlling audio gain thereof

Country Status (1)

Country Link
TW (1) TWI407769B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20010049566A1 (en) * 2000-05-12 2001-12-06 Samsung Electronics Co., Ltd. Apparatus and method for controlling audio output in a mobile terminal
TWI253283B (en) * 2004-12-17 2006-04-11 Inventec Appliances Corp Volume adjustment device and method thereof
US20070053528A1 (en) * 2005-09-07 2007-03-08 Samsung Electronics Co., Ltd. Method and apparatus for automatic volume control in an audio player of a mobile communication terminal
TW200820601A (en) * 2006-10-31 2008-05-01 Inventec Multimedia & Telecom System and method to adjust the volume
CN101267189A (en) * 2008-04-16 2008-09-17 深圳华为通信技术有限公司 Automatic volume adjusting device, method and mobile terminal
WO2008134689A1 (en) * 2007-04-30 2008-11-06 Qualcomm Incorporated Automatic volume and dynamic range adjustment for mobile audio devices

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20010049566A1 (en) * 2000-05-12 2001-12-06 Samsung Electronics Co., Ltd. Apparatus and method for controlling audio output in a mobile terminal
TWI253283B (en) * 2004-12-17 2006-04-11 Inventec Appliances Corp Volume adjustment device and method thereof
US20070053528A1 (en) * 2005-09-07 2007-03-08 Samsung Electronics Co., Ltd. Method and apparatus for automatic volume control in an audio player of a mobile communication terminal
TW200820601A (en) * 2006-10-31 2008-05-01 Inventec Multimedia & Telecom System and method to adjust the volume
WO2008134689A1 (en) * 2007-04-30 2008-11-06 Qualcomm Incorporated Automatic volume and dynamic range adjustment for mobile audio devices
CN101267189A (en) * 2008-04-16 2008-09-17 深圳华为通信技术有限公司 Automatic volume adjusting device, method and mobile terminal

Also Published As

Publication number Publication date
TW201026013A (en) 2010-07-01

Similar Documents

Publication Publication Date Title
US8457321B2 (en) Adaptive audio output
US8165321B2 (en) Intelligent clip mixing
US7706551B2 (en) Dynamic volume control
US20100158275A1 (en) Method and apparatus for automatic volume adjustment
KR20090083066A (en) Method and apparatus for controlling audio volume
US20130101125A1 (en) Acoustic Shock Prevention Apparatus
US20170011748A1 (en) Method and system of audio power reduction and thermal mitigation using psychoacoustic techniques
US8908878B2 (en) Arrangements in a device for use with a service involving play out of media and related methods
JP6050584B2 (en) Apparatus and method for providing etiquette call mode for portable terminal and portable terminal
US20150365061A1 (en) System and method for modifying an audio signal
EP1771039A2 (en) Audio control system
JP4706666B2 (en) Volume control device and computer program
TWI407769B (en) Method for controlling audio gain of a mobile phone and mobile phone capable of controlling audio gain thereof
CN106293607B (en) Method and system for automatically switching audio output modes
WO2011027437A1 (en) Voice reproduction device and voice reproduction method
CN101815114B (en) Method for controlling acoustic gain and mobile phone capable of controlling acoustic gain
WO2021120247A1 (en) Hearing compensation method and device, and computer readable storage medium
JP2003125481A (en) Voice reproducer
US20090116667A1 (en) Method and Apparatus for Volume Adjustment
US20070217632A1 (en) Sound-source signal processing module
KR102626003B1 (en) Dynamic audio upmixer parameters for simulating natural spatial changes
CN101170301A (en) Volume adjusting method and device
JP5513907B2 (en) AUTOMATIC LEVEL CONTROL CIRCUIT AND AUDIO DIGITAL SIGNAL PROCESSOR, ELECTRONIC DEVICE, AND VARIABLE GAIN AMPLIFIER GAIN CONTROL METHOD USING THE SAME
JP2007318625A (en) Group call system
CN109144457B (en) Audio playing device and audio control circuit thereof