Audio processing system with function of automatic gain control and method thereof
Granted 13 Sep 2011 · 2 office actions
Current assignee: HannStar Display Corporation · originally Foxconn Technology Group
Law firm: Law firm · Log in to unlock
Attorney: Attorney · Log in to unlock
Inventors: Kuan-Hong Hsieh, Wen-Chuan Lian, Xiao-Guang Li, Wen-Sheng Tsai · Examiner: Vivian Chin · AU 2614 · TC 2600
Life of the application
13 dated eventsAbstract
The present invention relates to an audio processing system with function of automatic gain control and method thereof. The method includes steps of: receiving a playing command to play an audio file; reading a genre type of the audio file from a tag of the audio file; reading a genre gain value of the genre type from a gain setting table stored in a storage unit; decoding the audio file and generating digital audio signals; converting the digital audio signals to analog audio signals; and signaling a gain amplifier to amplify the analog audio signals by the genre gain value, thereby sounds corresponding to the analog audio signals amplified is proper to a listener\'s hearing.
Description
5 parts›BACKGROUND OF THE INVENTION
1. Field of the Invention
The present invention relates to an audio processing system with function of automatic gain control and method thereof, especially to an audio processing system with function of automatic gain control according to a genre type of an audio file and method thereof.
2. Description of Related Art
Studies show that an increased pace of living makes people more intense. Therefore, enjoying music becomes one of many relaxing activities for people. Apparently, the relaxing activity of enjoying music is seen everywhere whether during work, commuting, or resting.
According to an international standard, each audio file includes a tag for storing characteristic information of the audio file. For example, an MP3 file has a tag, namely an ID3, which stores title, artist, album, genre type, and other aspect of the MP3 file. With respect to the genre type, it is used for indicating a style of the audio file, for example, country, dance, disco, rock, jazz, metal, and so on. Audio signals of different genre types have different beat and/or tempos, thereby after being amplified by an identical gain value, the audio signals of different genre types have different audio energies. In order that a listener may enjoy music most comfortably, audio signals of audio files need to be amplified by the gain amplifier with different gain values. However, audio players available in the market can't automatically adjust a default gain value of the gain amplifier. So the listener needs to manually adjust the default gain value of the gain amplifier, an annoying task that should be avoided.
Therefore, a heretofore unaddressed need exists in the industry to overcome the aforementioned deficiencies and inadequacies.
›SUMMARY OF THE INVENTION
In order to solve said problems, the present invention provides an audio processing system with function of automatic gain control and method thereof. The audio processing system automatically adjusts a current gain value of the gain amplifier according to a genre type of an audio file, thereby audio energy of audio signals amplified by the gain amplifier is proper to a user's hearing.
The audio processing system with a function of automatic gain control, includes a storage unit, a processing unit, a decoding unit, a digital/analog converter and a gain managing unit. The storage unit stores a plurality of audio files and a gain setting table. The gain setting lists a plurality of genre types with a genre gain value of the genre type. The processing unit fetches an audio file from the storage unit after receiving a playing command to play the audio file. The decoding unit decodes the audio file and generates digital audio signals. The digital/analog converter converts the digital audio signals to analog audio signals. The gain managing unit includes an identifying module, an obtaining module, a gain adjusting module and an updating module. The identifying module reads a genre type of the audio file fetched from a tag of the audio file. The obtaining module reads a genre gain value of the genre type from the gain setting table. The gain adjusting module signals a gain amplifier to amplify the analog audio signals received from the digital/analog converter by the genre gain value read. The updating module updates the default gain value with the genre gain value.
The audio processing system with a function of automatic gain control, includes a storage unit, a processing unit, a decoding unit, a digital/analog converter and a gain managing unit. The storage unit stores a plurality of audio files and a gain setting table. The gain setting lists a plurality of genre types with a genre gain value of the genre type. The processing unit fetches an audio file from the storage unit after receiving a playing command to play the audio file. The decoding unit decodes the audio file and generates digital audio signals. The digital/analog converter converts the digital audio signals to analog audio signals. The processing unit includes an identifying module, an obtaining module, a gain adjusting module and an updating module. The identifying module reads a genre type of the audio file fetched from a tag of the audio file. The obtaining module reads a genre gain value of the genre type from the gain setting table. The gain adjusting module signals a gain amplifier to amplify the analog audio signals received from the digital/analog converter by the genre gain value read. The updating module updates the default gain value with the genre gain value.
The automatic gain control method of an audio processing system includes the steps of: receiving a playing command to play an audio file; reading a genre type of the audio file from a tag of the audio file; reading a genre gain value of the genre type from a gain setting table stored in a storage unit; decoding the audio file and generating digital audio signals; converting the digital audio signals to analog audio signals; and signaling a gain amplifier to amplify the analog audio signals by the genre gain value.
Other systems, methods, features, and advantages will be or become apparent to one with skill in the art upon examination of the following drawings and detailed description. It is intended that all such additional systems, methods, features, and advantages be included within this description, be within the scope of the present invention, and be protected by the accompanying claims.
›BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 is a block diagram of a hardware infrastructure of an audio processing system in accordance with a preferred embodiment of the present invention;
FIG. 2 is a schematic diagram of main function modules of a gain managing unit of FIG. 1 ;
FIG. 3 is a flowchart of a preferred automatic gain control method by utilizing the audio processing system of FIG. 1 ;
FIG. 4 is a flowchart of a preferred method of regenerating a genre gain value of a genre type by utilizing the audio processing system of FIG. 1 ;
FIG. 5 is a block diagram of a hardware infrastructure of an audio processing system in accordance with an alternative preferred embodiment of the present invention; and
FIG. 6 is a schematic diagram of main function modules of a processing unit of FIG. 5 .
›DETAILED DESCRIPTION OF THE INVENTION · 1 of 2
The automatic gain control function of the present invention can be applied in a car stereo system or portable electrical devices such as an MP3 player, an electronic book, a mobile telephone, and so on. The following detailed descriptions of preferred embodiments are made with reference to the attached drawings.
FIG. 1 is a block diagram of a hardware infrastructure of the audio processing system 10 in accordance with a preferred embodiment of the present invention. The audio processing system 10 includes a processing unit 11 , a storage unit 12 , a decoding unit 13 , a digital/analog (D/A) converter 14 , a gain amplifier 15 , a sound output device 16 , and a command input unit 18 .
The storage unit 12 stores a plurality of audio files, a default gain value, a decoding program, and a gain setting table. The gain setting table lists (or has) a plurality of genre types, with a corresponding genre gain value for each of the genre types. The storage unit 12 can be a flash storage, a hard disk, and the like. The processing unit 11 controls components of the system 10 . The processing unit 11 can be a digital signal processor (DSP), a central processing unit (CPU), and the like.
The command input unit 18 generates control commands after receiving operational inputs. The control commands include a playing command to play an audio file, and an adjusting command to adjust the default gain value stored in the storage unit 12 . After receiving the playing command, the processing unit 11 fetches the audio file to be played from the storage unit 12 .
The decoding unit 13 invokes the decoding program stored in the storage unit 12 , decodes the audio file fetched by the processing unit 11 , generates digital audio signals and sends the digital audio signals to the D/A converter 14 . The D/A converter 14 converts the digital audio signals generated by the decoding unit 13 to analog audio signals.
The gain amplifier 15 amplifies the analog audio signals converted by the D/A converter 14 according to the default gain value stored in the storage unit 12 . The sound output device 16 produces sounds corresponding to the analog audio signals amplified. The sound output device 16 can be an earphone or a speaker.
The audio processing system 10 further includes a gain managing unit 17 integrated with the processing unit 11 . Referring to FIG. 2 , the gain managing unit 17 includes an identifying module 170 , an obtaining module 171 , an adding module 172 , a gain adjusting module 173 , a calculating module 174 , and an updating module 175 .
FIG. 3 is a flowchart of a preferred automatic gain control method by utilizing the audio processing system 10 of FIG. 1 . Referring to FIG. 2 , the processing unit 11 signals a requesting command to the gain managing unit 17 while fetching an audio file to play, in step S 30 , the identifying module 170 reads the genre type of the audio file from the tag of the audio file.
In step S 31 , the obtaining module 171 reads the gain setting table stored in the storage unit 12 . In step S 32 , the obtaining module 171 detects whether the gain setting table lists the genre type of the audio file. If the gain setting table does not list the genre type, in step S 36 , the adding module 172 inserts the genre type into the gain setting table, and then the procedure goes to step S 37 .
In step S 32 , if the gain setting table lists the genre type, in step S 33 , the obtaining module 171 determines whether the gain setting table have a genre gain value of the genre type.
If the gain setting table does not list the genre gain value of the genre type, in step S 37 , the obtaining module 171 reads the default gain value stored in the storage unit 12 . In step S 38 , the adding module 172 inserts the default gain value into the gain setting table as the genre gain value of the genre type, and then the procedure goes to step S 35 .
In step S 33 , if the gain setting table lists the genre gain value of the genre type, in step S 34 , the obtaining module 171 reads the genre gain value of the genre type. In step S 35 , the gain adjusting module 173 signals the gain amplifier 15 to amplify the analog audio signals received from the D/A converter 14 by the genre gain value.
In step S 39 , the updating module 175 updates the default gain value with the genre gain value of the genre type. The step S 30 to step S 39 is performed recursively until the audio signal processing system 10 is turned-off.
FIG. 4 is a flowchart of a preferred method of updating the genre gain value of the genre type by utilizing the audio processing system 10 of FIG. 1 . Referring to FIG. 2 , in step S 40 , the gain managing unit receives the adjusting command to adjust the default gain value. In step S 41 , the gain adjusting module 173 adjusts the default gain value stored in the storage unit 12 to an adjusted gain value, and signals the gain amplifier 15 to amplify the analog audio signals received from the D/A converter 14 by the adjusted gain value. In step S 42 , the updating module 175 updates the default gain value stored in the storage unit 12 with the adjusted gain value.
In step S 43 , the identifying module 170 reads the genre type of an audio file being played from the tag of the audio file. In step S 44 , the obtaining module 171 reads the genre gain value of the genre type from the gain setting table.
In step S 45 , the calculating module 174 assigns a weight value respectively to the genre gain value and the adjusted gain value, multiplies the genre gain value and the adjusted gain value by the corresponding weight value assigned, thereby obtaining two products, and sums the two products to obtain an integrated gain value.
In step S 46 , the updating module 175 updates the genre gain value of the genre type in the gain setting table with the integrated gain value. In an alternative embodiment, the updating module 175 directly updates the genre gain value of the genre type in the gain setting table with the adjusted gain value.
›DETAILED DESCRIPTION OF THE INVENTION · 2 of 2
FIG. 5 is a block diagram of a hardware infrastructure of an audio processing system 100 in accordance with an alternative embodiment of the present invention. The audio processing system 100 of the alternative embodiment is the same as that of the preferred embodiment, except that the gain managing unit 17 is configured in the processing unit 51 .
Therefore, referring to FIG. 6 , in this alternative embodiment, the processing unit 51 further has the function as well as the gain managing unit 17 does in FIG. 1 . That is, the processing unit 51 has an identifying module 510 , an obtaining module 511 , an adding module 512 , a gain adjusting module 513 , a calculating module 514 , and an updating module 515 respectively performing the same functions as the identifying module 170 , an obtaining module 171 , an adding module 172 , a gain adjustment 173 , a calculating module 174 , and an updating module 175 of the gain managing unit 17 .
It is understood that the invention may be embodied in other forms without departing from the spirit thereof. Thus, the present examples and embodiments are to be considered in all respects as illustrative and not restrictive, and the invention is not to be limited to the details given herein.
Claims as granted
9 claimsLog in to read the claims of this application.
Log in to unlockClassifications
5 codes- G06F17/00
- H03G3/00
Claim changes
SoonSee which claims were amended, added or cancelled during examination, with every added and removed word marked.
The published claims of this application are not paired with the granted ones in what we hold.
File wrapper
See the full prosecution history — every USPTO and applicant action on this file, in order.
Log in to unlockDocuments
Log in to open the documents of this file: the application as filed, every office action and response, the notice of allowance.
Log in to unlockChain of title
See the full assignment history — every owner this patent has passed through, with recordation dates and reel/frame numbers.
Log in to unlock