CN103986997A - Method and device for adjusting filtering parameters of audio output circuit and mobile terminal - Google Patents

Method and device for adjusting filtering parameters of audio output circuit and mobile terminal Download PDF

Info

Publication number
CN103986997A
CN103986997A CN201410231076.5A CN201410231076A CN103986997A CN 103986997 A CN103986997 A CN 103986997A CN 201410231076 A CN201410231076 A CN 201410231076A CN 103986997 A CN103986997 A CN 103986997A
Authority
CN
China
Prior art keywords
frequency
audio signal
audio
cut
amplitude
Prior art date
Legal status (The legal status 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 status listed.)
Granted
Application number
CN201410231076.5A
Other languages
Chinese (zh)
Other versions
CN103986997B (en
Inventor
李琳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen ZTE Mobile Telecom Co Ltd
Original Assignee
Shenzhen ZTE Mobile Telecom Co Ltd
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 Shenzhen ZTE Mobile Telecom Co Ltd filed Critical Shenzhen ZTE Mobile Telecom Co Ltd
Priority to CN201410231076.5A priority Critical patent/CN103986997B/en
Publication of CN103986997A publication Critical patent/CN103986997A/en
Application granted granted Critical
Publication of CN103986997B publication Critical patent/CN103986997B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention belongs to the field of mobile communication, and provides a method and device for adjusting filtering parameters of an audio output circuit and a mobile terminal. The method includes the steps that a first audio module sends first audio signals; a second audio module collects the first audio signals to form second audio signals; the first audio signals and the second audio signals are compared to determine the cut-off frequency; according to the cut-off frequency, the filtering parameters of the audio output circuit are set. The cut-off frequency is determined by comparing the first audio signals and the second audio signals, and the filtering parameters of the audio output circuit are set according to the cut-off frequency, so that the audio signals after passing through a filter are automatically processed and matched with a sound production component, and the problems that in the prior art, the audio signals can not be matched with the sound production component, and manual adjusting efficiency is low are solved.

Description

A kind of adjusting audio frequency output loop filtering parameter method, device and mobile terminal
Technical field
The invention belongs to moving communicating field, relate in particular to a kind of adjusting audio frequency output loop filtering parameter method, device and mobile terminal.
Background technology
In the R&D process of mobile terminal, due to sounding parts performance limitations such as receiver or loudspeaker, must the parameter of baseband processor audio frequency output loop filter be regulated according to the characteristic of sounding parts, reach the audio signal frequency response and sounding parts match of output.In research and development, production process, according to above-mentioned method, regulate, bring the bad problem of inefficiency and matching effect, comprising: 1, research staff need to debug repeatedly, audio signal can be matched with sounding parts after above-mentioned filter; 2, in process of production, when sounding parts or sound chamber effect and R&D process are when inconsistent, the filter that solidifies terrible filtering parameter cannot meet the demand of sounding parts, or because audio signal output low frequency energy is too much, burns out loudspeaker; Or can only partly bring into play the function of sounding parts; 3, mobile terminal adopts different manufacturers assembling parts more, and audio signal frequency response is also very common with the unmatched situation of sounding parts.
Summary of the invention
In view of this, the invention provides a kind of adjusting audio frequency output loop filtering parameter method, device and mobile terminal, to solve the audio signal that prior art exists, can not mate with microphone device, and the not high problem of manual debugging efficiency.
The present invention is achieved in that a kind of adjusting audio frequency output loop filtering parameter method, and the method comprises the following steps:
The first audio-frequency module sends the first audio signal;
The second audio-frequency module is collected described the first audio signal, forms the second audio signal;
More described the first audio signal and described the second audio signal, determine cut-off frequency;
According to described cut-off frequency, audio frequency output loop filtering parameter is set.
Further, the second audio-frequency module is collected described the first audio signal, forms the second audio signal and also comprises before:
To described the first audio signal filter out background noise.
Further, compare the first audio signal and the second audio signal, determine that cut-off frequency is specially:
Compare when same frequency the amplitude of the amplitude of the first audio signal and the second audio signal;
When the amplitude of the second audio signal during to predetermined threshold value, determines that described same frequency is cut-off frequency with respect to the amplitude fading of the first audio signal.
Further, relatively the first audio signal and the second audio signal, determine that cut-off frequency adopts the mode of frequency sweep.
Further, compare the first audio signal and the second audio signal, determine that cut-off frequency is specially:
According to preset weights N, determine respectively the first cut-off frequency to the N cut-off frequency, described the first cut-off frequency to the N cut-off frequency is weighted to the average cut-off frequency of determining.
Another object of the present invention is to provide a kind of adjusting audio frequency output loop filtering parameter device, this device comprises:
Audio frequency sending module, for sending the first audio signal;
Audio frequency receiver module, for collecting described the first audio signal, forms the second audio signal;
Audio analysis module, for more described the first audio signal and described the second audio signal, determines cut-off frequency;
Audio frequency Executive Module, for according to described cut-off frequency, arranges audio frequency output loop filtering parameter.
Further, this device also comprises:
Noise treatment module, for to described the first audio signal wiping out background noise.
Further, audio analysis module specifically for:
Compare when same frequency the amplitude of the amplitude of the first audio signal and the second audio signal;
When the amplitude of described the second audio signal during to predetermined threshold value, determines that described same frequency is cut-off frequency with respect to the amplitude fading of described the first audio signal.
Further, audio analysis module specifically for:
According to preset weights N, determine respectively the first cut-off frequency to the N cut-off frequency, described the first cut-off frequency to the N cut-off frequency is weighted to the average cut-off frequency of determining.
Another object of the present invention is to provide a kind of mobile terminal, this mobile terminal comprises above-mentioned adjusting audio frequency output loop filtering parameter device.
Adjusting audio frequency output loop filtering parameter method provided by the invention, device and mobile terminal, by the comparison to the first audio signal and the second audio signal, determine cut-off frequency, then according to this cut-off frequency, audio frequency output loop filtering parameter is set, make audio signal after device, can automatically process and match with sounding parts after filtering, the audio signal that has solved prior art existence can not be mated with microphone device, and the not high problem of manual debugging efficiency.
Accompanying drawing explanation
Fig. 1 is the realization flow figure of adjusting audio frequency output loop filtering parameter method provided by the invention;
Fig. 2 is the modular structure figure of adjusting audio frequency output loop filtering parameter device provided by the invention.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and the embodiments, the present invention is further elaborated.Should be appreciated that embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
As shown in Figure 1, a kind of flow process that regulates audio frequency output loop filtering parameter method provided by the invention, details are as follows:
In step S101, the first audio-frequency module sends the first audio signal.
In this article, " first " and " second " be order of representation relation not, only for distinguishing different audio-frequency modules or audio signal.In embodiments of the present invention, the first audio-frequency module can be comprised of audio process, audio frequency transmission path, sounding electro-acoustic element and sound chamber, sounding electro-acoustic element can be loudspeaker, also can be receiver, may be also by wired or be wirelessly connected to the external equipment of audio frequency of mobile terminal sendaisle.
In step S102, the second audio-frequency module is collected described the first audio signal, forms the second audio signal.
In embodiments of the present invention, the second audio-frequency module can be comprised of audio process, microphone and audio frequency receive path.It should be noted that, the first audio-frequency module sends the first audio signal, but the first audio signal owing to having in transmission path or receiving path, signal disturbs, the existence of signal attenuation, and the second audio signal that the second audio-frequency module is collected formation is not identical with the first audio signal.
In another embodiment of the present invention, can be to the first audio signal filter out background noise before step S102.
In step S103, relatively the first audio signal and the second audio signal, determine cut-off frequency.
In embodiments of the present invention, compare the first audio signal and the second audio signal, determine that the method by frequency is specially: during relatively at same frequency, the amplitude of the amplitude of the first audio signal and the second audio signal; When the amplitude of the second audio signal during to predetermined threshold value, determines that described same frequency is cut-off frequency with respect to the amplitude fading of the first audio signal.For example default 3db is the predetermined threshold value that the second audio signal decays with respect to the first audio signal, and the frequency when occurring that the second audio signal decays to this critical point of 3db with respect to the first audio signal is cut-off frequency.Certainly determine that the method by frequency can also have other method.
Further, determine that cut-off frequency can realize by the mode of frequency sweep, for example, from 1Khz frequency sweep down progressively, the amplitude that occurs the second audio signal when sweeping to 800Khz is with respect to the amplitude fading of the first audio signal to this critical point of 3db, and 800Khz is now exactly cut-off frequency.
In order to determine more accurately, also can adopt cut-off frequency and repeatedly obtain cut-off frequency, the mode of then cut-off frequency repeatedly obtaining being averaged is determined cut-off frequency.Implementation is particularly: according to preset weights N, determine respectively the first cut-off frequency to the N cut-off frequency, to first, by frequency to the N, by frequency, be weighted the average cut-off frequency of determining.It should be noted that, N is greater than 1 positive integer here, by presetting, determines; Here need repeatedly to test, the first cut-off frequency refers to the rear definite cut-off frequency of test for the first time, and content measurement comprises for the first time: the first audio-frequency module sends the first audio signal; The second audio-frequency module receives the second audio signal; Relatively the first audio signal and the second audio signal, determine the first cut-off frequency.Repeatedly carry out N test, obtain respectively the first cut-off frequency to the N cut-off frequency, then, to the first cut-off frequency to the N cut-off frequency summation average, finally determine cut-off frequency.
In step S104, according to cut-off frequency, audio frequency output loop filtering parameter is set.
It should be noted that, according to cut-off frequency, audio frequency output loop filtering parameter being set in specific implementation process, can making the frequency parameter in audio frequency output loop filtering parameter be set to cut-off frequency, can be also in the scope of cut-off frequency, expand or dwindle default scope.
Further it should be noted that, the method that realization arranges audio frequency output loop filtering parameter can be automated system operation after starting shooting for the first time, can be also that each start is all carried out, and can also be that the module that each operation is relevant to audio frequency is just carried out.
Further it should be noted that, the first audio signal in step S101, can be to adopt special-purpose audio frequency source of sound, can be also the audio frequency source of sound in user's use procedure; Regulate the process of signal generation, reception, analysis and the setting audio parameter of audio loop parameter, can be to have started at the independent setting option of mobile phone, also can be to complete after production process or assembling, or user be while using audio loop to play, and dynamically completes.
As shown in Figure 2, the invention provides a kind of adjusting audio frequency output loop filtering parameter device, comprising: audio frequency sending module 21, audio frequency receiver module 22, audio analysis module 23 and audio frequency Executive Module 24.
Audio frequency sending module 21, for sending the first audio signal.
Audio frequency receiver module 22, for collecting described the first audio signal, forms the second audio signal.
Audio analysis module 23, for comparing the first audio signal and the second audio signal, determines cut-off frequency.
Further, audio analysis module 23 specifically for: relatively when the same frequency, the amplitude of the amplitude of the first audio signal and the second audio signal; When the amplitude of described the second audio signal during to predetermined threshold value, determines that described same frequency is cut-off frequency with respect to the amplitude fading of described the first audio signal.
Further, audio analysis module 23 adopts the mode of frequency sweep.
Further, audio analysis module 23 specifically for: according to preset weights N, determine respectively the first cut-off frequency to the N cut-off frequency, described the first cut-off frequency to the N cut-off frequency be weighted to the average cut-off frequency of determining.
Audio frequency Executive Module 24, for according to cut-off frequency, arranges audio frequency output loop filtering parameter.
Further, this adjusting audio frequency output loop filtering parameter device can also comprise noise treatment module, for to described the first audio signal wiping out background noise.
The present invention also provides a kind of mobile terminal, comprises above-mentioned adjusting audio frequency output loop filtering parameter device.
In a word, the present invention is by the comparison of the first audio signal and the second audio signal, determine cut-off frequency, then according to this cut-off frequency, audio frequency output loop filtering parameter is set, make audio signal after device, can automatically process and match with sounding parts after filtering, the audio signal that has solved prior art existence can not be mated with microphone device, and the not high problem of manual debugging efficiency.
One of ordinary skill in the art will appreciate that all or part of step realizing in above-mentioned execution mode is can control relevant hardware by program to complete, described program can be in being stored in computer read/write memory medium, described storage medium, as ROM/RAM, disk, CD etc.
The foregoing is only better embodiment of the present invention, not in order to limit the present invention, all any modifications of doing within the spirit and principles in the present invention, be equal to and replace and improvement etc., within all should being included in protection scope of the present invention.

Claims (10)

1. regulate an audio frequency output loop filtering parameter method, it is characterized in that, comprise the following steps:
The first audio-frequency module sends the first audio signal;
The second audio-frequency module is collected described the first audio signal, forms the second audio signal;
More described the first audio signal and described the second audio signal, determine cut-off frequency;
According to described cut-off frequency, audio frequency output loop filtering parameter is set.
2. the method for claim 1, is characterized in that, described the second audio-frequency module is collected described the first audio signal, forms the second audio signal and also comprises before:
To described the first audio signal filter out background noise.
3. the method for claim 1, is characterized in that, described the first audio signal and described the second audio signal determine that cut-off frequency is specially:
Compare when same frequency the amplitude of the amplitude of the first audio signal and the second audio signal;
When the amplitude of described the second audio signal during to predetermined threshold value, determines that described same frequency is cut-off frequency with respect to the amplitude fading of described the first audio signal.
4. as claim requires the method as described in 1 or 3, it is characterized in that described the first audio signal and described the second audio signal determine that cut-off frequency adopts the mode of frequency sweep.
5. the method for claim 1, is characterized in that, described the first audio signal and described the second audio signal determine that cut-off frequency is specially:
According to preset weights N, determine respectively the first cut-off frequency to the N cut-off frequency, described the first cut-off frequency to the N cut-off frequency is weighted to the average cut-off frequency of determining.
6. regulate an audio frequency output loop filtering parameter device, it is characterized in that, described device comprises:
Audio frequency sending module, for sending the first audio signal;
Audio frequency receiver module, for collecting described the first audio signal, forms the second audio signal;
Audio analysis module, for more described the first audio signal and described the second audio signal, determines cut-off frequency;
Audio frequency Executive Module, for according to described cut-off frequency, arranges audio frequency output loop filtering parameter.
7. device as claimed in claim 6, is characterized in that, described device also comprises:
Noise treatment module, for to described the first audio signal wiping out background noise.
8. device as claimed in claim 6, is characterized in that, described audio analysis module specifically for:
Compare when same frequency the amplitude of the amplitude of the first audio signal and the second audio signal;
When the amplitude of described the second audio signal during to predetermined threshold value, determines that described same frequency is cut-off frequency with respect to the amplitude fading of described the first audio signal.
9. device as claimed in claim 6, is characterized in that, described audio analysis module specifically for:
According to preset weights N, determine respectively the first cut-off frequency to the N cut-off frequency, described the first cut-off frequency to the N cut-off frequency is weighted to the average cut-off frequency of determining.
10. a mobile terminal, is characterized in that, described mobile terminal comprises the adjusting audio frequency output loop filtering parameter device described in claim 6 to 10 any one.
CN201410231076.5A 2014-05-28 2014-05-28 A kind of adjustment audio frequency output loop filtering parameter method, device and mobile terminal Active CN103986997B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410231076.5A CN103986997B (en) 2014-05-28 2014-05-28 A kind of adjustment audio frequency output loop filtering parameter method, device and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410231076.5A CN103986997B (en) 2014-05-28 2014-05-28 A kind of adjustment audio frequency output loop filtering parameter method, device and mobile terminal

Publications (2)

Publication Number Publication Date
CN103986997A true CN103986997A (en) 2014-08-13
CN103986997B CN103986997B (en) 2016-04-06

Family

ID=51278802

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410231076.5A Active CN103986997B (en) 2014-05-28 2014-05-28 A kind of adjustment audio frequency output loop filtering parameter method, device and mobile terminal

Country Status (1)

Country Link
CN (1) CN103986997B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016184138A1 (en) * 2015-10-23 2016-11-24 中兴通讯股份有限公司 Method, mobile terminal and computer storage medium for adjusting audio parameters

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101968963A (en) * 2010-10-26 2011-02-09 安徽大学 Audio signal compressing and sampling system
CN102341852A (en) * 2009-01-06 2012-02-01 斯凯普有限公司 Filtering speech
CN103390403A (en) * 2013-06-19 2013-11-13 北京百度网讯科技有限公司 Extraction method and device for mel frequency cepstrum coefficient (MFCC) characteristics

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102341852A (en) * 2009-01-06 2012-02-01 斯凯普有限公司 Filtering speech
CN101968963A (en) * 2010-10-26 2011-02-09 安徽大学 Audio signal compressing and sampling system
CN103390403A (en) * 2013-06-19 2013-11-13 北京百度网讯科技有限公司 Extraction method and device for mel frequency cepstrum coefficient (MFCC) characteristics

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016184138A1 (en) * 2015-10-23 2016-11-24 中兴通讯股份有限公司 Method, mobile terminal and computer storage medium for adjusting audio parameters
CN106612482A (en) * 2015-10-23 2017-05-03 中兴通讯股份有限公司 Method for adjusting audio parameter and mobile terminal
CN106612482B (en) * 2015-10-23 2020-06-19 中兴通讯股份有限公司 Method for adjusting audio parameters and mobile terminal

Also Published As

Publication number Publication date
CN103986997B (en) 2016-04-06

Similar Documents

Publication Publication Date Title
CN104010147B (en) Automatically adjust the method and audio playing apparatus of audio frequency broadcast system volume
WO2017185342A1 (en) Method and apparatus for determining voice input anomaly, terminal, and storage medium
CN104661153A (en) Earphone sound effect compensation method and device as well as earphone
CN106714017B (en) A kind of method, apparatus, terminal and earphone adjusting earphone sound field
CN104640054A (en) Earphone/loudspeaker testing method and system for mobile terminal
CN108093327B (en) A kind of method, apparatus and electronic equipment for examining earphone to wear consistency
CN105376668A (en) Headset noise reduction method and device
CN103685677A (en) Audio processing method and device, and terminal equipment
CN104581539A (en) Method for controlling audio playing of mobile terminal and mobile terminal
CN109493883A (en) A kind of audio time-delay calculation method and apparatus of smart machine and its smart machine
CN104144237B (en) Communication terminal audio frequency production line test method and test device
CN104092802A (en) Method and system for de-noising audio signal
CA2680542A1 (en) System and method for improving audio signals for the hearing impaired
CN104243652A (en) Audio self-test method of communication terminals
WO2017201868A1 (en) Method, apparatus and terminal for adjusting speech gain
CN104104762A (en) Efficient audio test method of communication terminal
CN109121035A (en) Earphone abnormality eliminating method, earphone, system and storage medium
US20150195662A1 (en) Method and apparatus for audio testing
CN108600915B (en) Audio output method and device, harmonic distortion filtering equipment and terminal
CN102136273A (en) Audio processing device and method of electronic equipment
CN115691543A (en) Adaptive equalization method and system for acoustic system
CN103987000A (en) Audio frequency correction method and terminal
CN105679350A (en) Audio playing method and device
CN103986997B (en) A kind of adjustment audio frequency output loop filtering parameter method, device and mobile terminal
CN108432216A (en) The method, apparatus and electronic equipment of volume adjustment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
CB02 Change of applicant information

Address after: A District No. 9018 Han innovation building in Nanshan District high tech Zone in Shenzhen city of Guangdong Province, North Central Avenue, 518000 floor 10

Applicant after: Nubian Technologies Ltd.

Address before: A District No. 9018 Han innovation building in Nanshan District high tech Zone in Shenzhen city of Guangdong Province, North Central Avenue, 518000 floor 10

Applicant before: Shenzhen ZTE Mobile Tech Co., Ltd.

COR Change of bibliographic data
GR01 Patent grant