Summary of the invention
The embodiment of the invention provides a kind of gain bandwidth regulating circuit, gain bandwidth processing method and the terminal that can regulate the size of sound quality or descant amount according to user's request.
To achieve these goals, the embodiment of the invention provides following technical scheme:
A kind of gain bandwidth regulating circuit comprises processor, audio frequency amplifier and loud speaker, the gain bandwidth controller, wherein:
Described processor is used to obtain audio files, handles described audio files, and sends described audio files to audio frequency amplifier, and sends corresponding control information according to user's selection information or incoming information to the gain bandwidth controller; Described selection information or incoming information according to the user comprises to gain bandwidth controller transmission corresponding control information: if the user need play audio files as music file, according to user's selection, send the control information that increases this audio files frequency to the gain bandwidth controller; If desired this audio files is play as the tinkle of bells, then processor sends the control information that reduces this audio files frequency to the gain bandwidth controller;
Described gain bandwidth controller is connected between described processor and the described audio frequency amplifier, is used to receive the control information that described processor sends, and controls described audio frequency amplifier according to described control information described audio files is gained and bandwidth adjustment;
Described audio frequency amplifier inserts described processor, is used for the audio files that receiving processor sends, and according to the control of gain bandwidth controller audio files is gained and bandwidth adjustment, and sends described audio files to loud speaker;
Described loud speaker inserts described audio frequency amplifier, is used for receiving and playing described audio files.
A kind of gain bandwidth processing method comprises above-mentioned gain bandwidth regulating circuit, comprising:
Processor obtains audio files;
Processor sends described audio files to audio frequency amplifier;
Processor sends corresponding control information according to user's selection information or incoming information to the gain bandwidth controller; Described selection information or incoming information according to the user comprises to gain bandwidth controller transmission corresponding control information: if the user need play audio files as music file, according to user's selection, send the control information that increases this audio files frequency to the gain bandwidth controller; If desired this audio files is play as the tinkle of bells, then processor sends the control information that reduces this audio files frequency to the gain bandwidth controller;
The gain bandwidth controller is according to the bandwidth and the gain of described control information control audio amplifier;
Audio frequency amplifier carries out sending to loud speaker after audio frequency is regulated according to the control of described bandwidth and gain with audio files and plays.
A kind of terminal comprises processor, audio frequency amplifier, gain bandwidth controller and loud speaker, wherein:
Described processor is used to obtain audio files, handles described audio files, and sends described audio files to audio frequency amplifier, and sends corresponding control information according to user's selection information or incoming information to the gain bandwidth controller; Described selection information or incoming information according to the user comprises to gain bandwidth controller transmission corresponding control information: if the user need play audio files as music file, according to user's selection, send the control information that increases this audio files frequency to the gain bandwidth controller; If desired this audio files is play as the tinkle of bells, then processor sends the control information that reduces this audio files frequency to the gain bandwidth controller;
Described gain bandwidth controller is connected between described processor and the described audio frequency amplifier, is used to receive the control information that described processor sends, and controls described audio frequency amplifier according to described control information described audio files is gained and bandwidth adjustment;
Described audio frequency amplifier inserts described processor, is used for the audio files that receiving processor sends, and according to the control of gain bandwidth controller audio files is gained and bandwidth adjustment, and sends described audio files to loud speaker;
Described loud speaker inserts described audio frequency amplifier, is used for receiving and playing described audio files.
From technique scheme as can be seen, the gain bandwidth regulating circuit that the embodiment of the invention provides, gain bandwidth processing method and terminal are passed through gain bandwidth controller control audio amplifier according to demand, with the frequency of control audio files, can regulate the size of sound quality or descant amount according to user's request.
Embodiment
In audio playing circuit, the gain bandwidth product of audio frequency amplifier is certain, gain bandwidth product is the product of sound multiplication factor and amplification frequency, gain bandwidth product as an audio frequency amplifier is 5MHZ, if the frequency of the A audio file that amplifies is 20KHZ, so, the sound multiplication factor of this A audio file is 5MHZ/20KHZ=250 to the maximum, and same audio frequency amplifier, if when the B audio file of 4KHZ amplified, maximum amplification can only be 5MHZ/4KHZ=1250, and therefore, the multiple that the B audio file is exaggerated has improved 5 times than A audio file.Principle in same circuit, utilizes the increase frequency can increase sound quality as can be known thus, and utilizing increases the size that the sound multiplication factor can change sound descant amount.For this reason, the embodiment of the invention provides a kind of gain bandwidth controller, and the multiplication factor of control sound is the frequency that increases sound with decision, to increase sound quality, still reduces sound frequency, improves the size of sound descant amount.
Technical scheme is for a better understanding of the present invention described embodiment provided by the invention in detail below in conjunction with accompanying drawing.
As shown in Figure 1, this gain bandwidth regulating circuit specifically comprises processor 10, gain bandwidth controller 11, audio frequency amplifier 12 and loud speaker 13, wherein:
Processor 10 is used to obtain audio files, handles this audio files, and sends audio files to audio frequency amplifier 12, and sends corresponding control information according to the demand of determining to gain bandwidth controller 11;
Gain bandwidth controller 11 is connected between processor 10 and the audio frequency amplifier 12, is used for the control information that receiving processor 10 sends, and carries out audio frequency according to 12 pairs of audio files of this control information control audio amplifier and regulates; Audio files is played back by software transfer, and the different software that is arranged in this gain bandwidth regulating circuit is realized different effects.The software that has has realized that with the function of audio files as the music file broadcast what the software that has was realized is the function that audio files is play as the tinkle of bells.Be specially: processor 10 obtains audio files, according to being this audio files will be play as music file or the demand of playing as the tinkle of bells sends control information to gain bandwidth controller 11.This demand is to determine according to user's selection information or incoming information.Select to need playing music as the user, the instruction of then sending playing music to processor 10, processor 10 sends the control information of playing music to gain controller 11 according to this instruction; If incoming information needs to play the tinkle of bells, according to this incoming information, processor 10 definite these audio files need be play as the tinkle of bells, then send the control information of playing the tinkle of bells to gain controller 11.
As shown in Figure 3, this gain bandwidth controller 11 comprises: resistance R 1 and resistance R 2 series connection, one termination of capacitor C 1 is gone into the end between resistance R 2 and the resistance R 1, the other end of resistance R 2 inserts the anode of operational amplifier U1, and the other end of resistance R 2 is by capacitor C 2 ground connection, the negative terminal of operational amplifier U1 is by resistance R 3 ground connection, and resistance R 4 is connected between the output of the negative terminal of operational amplifier U1 and operational amplifier U1, and the other end of capacitor C 1 inserts the output of operational amplifier U1.
Audio frequency amplifier 12 inserts processor 10, be used for the audio files that receiving processor 10 sends, the control information that receiving gain strip width controller 11 sends, and according to the control of gain bandwidth controller 11 audio files is carried out audio frequency and regulate, and send audio files to loud speaker 13;
Loud speaker 13 accessing to audio amplifiers 12 are used for receiving and the file that plays sound.
When if the user need play audio files as music file, selection according to the user, processor 10 sends the control information that increases this audio files frequency to gain bandwidth controller 11, audio frequency amplifier 12 is according to the frequency (promptly regulating this audio files is the low gain low bandwidth) of this control information increase audio files, to increase the sound quality that loud speaker 13 is play; When if desired this audio files being play as the tinkle of bells, then processor 10 sends the control information that reduces this audio files frequency to gain bandwidth controller 11, audio frequency amplifier 12 reduces the frequency (promptly regulating this tinkle of bells is the high-gain high bandwidth) of audio files, to increase the wave volume that loud speaker 13 is play.
Further, this gain bandwidth regulating circuit also comprises memory 14, and connection processing device 10 is used for the stored sound file, and sends audio files to processor 10.
The control information control audio amplifier 12 of the user's request that the gain bandwidth controller 11 of the gain bandwidth regulating circuit that the embodiment of the invention provides sends according to processor 10, so that the frequency of 12 pairs of audio files of audio frequency amplifier is regulated, can have adjusting sound quality and volume under the constant situation of gain bandwidth product now according to user's selection information or incoming information.
Accordingly, the embodiment of the invention also provides a kind of gain bandwidth processing method, comprises above-mentioned gain control circuit, and this gain bandwidth processing method specifically comprises step as shown in Figure 2:
101, processor obtains audio files;
102, processor sends audio files to audio frequency amplifier;
103, processor sends corresponding control information according to user's selection information or incoming information to the gain bandwidth controller; This corresponding control information comprises the control information of the low frequency high-gain of determining according to demand (high-bandwidth high-gain) or the control information of high-frequency low gain (low bandwidth low gain).
104, the gain bandwidth controller is according to control information control audio Amplifier Gain, as: when audio files is during as the tinkle of bells, the control audio amplifier is narrow frequency, and high-gain obtains very big volume; As if being when doing music when audio files, the control audio amplifier is a broadband, and low gain obtains very high tonequality;
105, audio frequency amplifier carries out sending to loud speaker after audio frequency is regulated according to control with audio files and plays.
The embodiment of the invention also provides a kind of terminal, and as shown in Figure 4, this terminal comprises processor 41, audio frequency amplifier 42, gain bandwidth controller 43 and loud speaker 44, wherein:
Described processor 41 is used to obtain audio files, handles this audio files, and sends described audio files to audio frequency amplifier 42, and sends corresponding control information according to user's selection information or incoming information to the gain bandwidth controller;
Described gain bandwidth controller 43 is connected between described processor 41 and the described audio frequency amplifier 42, is used for the control information that receiving processor 41 sends, and carries out gain bandwidth according to 42 pairs of described audio files of this control information control audio amplifier and regulates;
Audio frequency amplifier 42 inserts described processor 41, is used for the audio files that receiving processor 41 sends, and according to the control of gain bandwidth controller 42 audio files is carried out gain bandwidth and regulate, and sends this audio files to loud speaker 44;
Loud speaker 44 accessing to audio amplifiers 42 are used for receiving and playing described audio files
The gain bandwidth regulating circuit that the foregoing description provides, gain bandwidth processing method and terminal are made different control according to the different demands of user to audio frequency amplifier by the gain bandwidth controller, control strengthens the size of sound quality or sound descant amount, satisfies user's demand.
More than a kind of gain bandwidth regulating circuit, gain bandwidth processing method and terminal that the embodiment of the invention provided are described in detail, for one of ordinary skill in the art, thought according to the embodiment of the invention, part in specific embodiments and applications all can change, in sum, this description should not be construed as limitation of the present invention.