CN109658952A - A kind of acoustic signal processing method, equipment and storage medium - Google Patents
A kind of acoustic signal processing method, equipment and storage medium Download PDFInfo
- Publication number
- CN109658952A CN109658952A CN201811527955.7A CN201811527955A CN109658952A CN 109658952 A CN109658952 A CN 109658952A CN 201811527955 A CN201811527955 A CN 201811527955A CN 109658952 A CN109658952 A CN 109658952A
- Authority
- CN
- China
- Prior art keywords
- audio
- amplitude
- frequency
- player device
- frequence player
- 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
Links
- 238000003860 storage Methods 0.000 title claims abstract description 14
- 238000003672 processing method Methods 0.000 title claims abstract description 11
- 230000005236 sound signal Effects 0.000 claims abstract description 129
- 230000009467 reduction Effects 0.000 claims abstract description 87
- 238000000034 method Methods 0.000 claims abstract description 35
- 238000009826 distribution Methods 0.000 claims abstract description 27
- 230000010355 oscillation Effects 0.000 claims description 58
- 230000003321 amplification Effects 0.000 claims description 23
- 238000003199 nucleic acid amplification method Methods 0.000 claims description 23
- 238000012360 testing method Methods 0.000 claims description 17
- 230000001133 acceleration Effects 0.000 claims description 13
- 238000006073 displacement reaction Methods 0.000 claims description 8
- 238000001514 detection method Methods 0.000 claims description 3
- 238000011038 discontinuous diafiltration by volume reduction Methods 0.000 claims description 2
- 230000002159 abnormal effect Effects 0.000 abstract description 14
- 230000001603 reducing effect Effects 0.000 abstract description 7
- 230000008569 process Effects 0.000 description 15
- 238000010586 diagram Methods 0.000 description 14
- 238000004891 communication Methods 0.000 description 10
- 238000012545 processing Methods 0.000 description 10
- 238000004590 computer program Methods 0.000 description 8
- 238000005516 engineering process Methods 0.000 description 8
- 230000006870 function Effects 0.000 description 5
- 238000004519 manufacturing process Methods 0.000 description 5
- 230000006872 improvement Effects 0.000 description 3
- 230000003139 buffering effect Effects 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 239000006260 foam Substances 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 238000013459 approach Methods 0.000 description 1
- 230000000712 assembly Effects 0.000 description 1
- 238000000429 assembly Methods 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000003631 expected effect Effects 0.000 description 1
- 239000004744 fabric Substances 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000001228 spectrum Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L21/00—Speech or voice signal processing techniques to produce another audible or non-audible signal, e.g. visual or tactile, in order to modify its quality or its intelligibility
- G10L21/02—Speech enhancement, e.g. noise reduction or echo cancellation
- G10L21/0316—Speech enhancement, e.g. noise reduction or echo cancellation by changing the amplitude
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L21/00—Speech or voice signal processing techniques to produce another audible or non-audible signal, e.g. visual or tactile, in order to modify its quality or its intelligibility
- G10L21/02—Speech enhancement, e.g. noise reduction or echo cancellation
- G10L21/0316—Speech enhancement, e.g. noise reduction or echo cancellation by changing the amplitude
- G10L21/0324—Details of processing therefor
- G10L21/034—Automatic adjustment
Landscapes
- Engineering & Computer Science (AREA)
- Computational Linguistics (AREA)
- Quality & Reliability (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- Acoustics & Sound (AREA)
- Multimedia (AREA)
- Tone Control, Compression And Expansion, Limiting Amplitude (AREA)
- Circuit For Audible Band Transducer (AREA)
Abstract
The embodiment of the present application provides a kind of acoustic signal processing method, equipment and storage medium, wherein the described method includes: obtaining the frequency distribution range for the audio signal that audio-frequence player device will play;If there is the target frequency to match with the resonant frequency of the audio-frequence player device in the frequency distribution range determines the corresponding amplitude reduction amount of the target frequency according to the corresponding relationship of resonant frequency and amplitude reduction amount;According to the corresponding amplitude reduction amount of the target frequency, range value of the audio signal on the target frequency is adjusted;It is worth audio signal adjusted by the audio-frequence player device output amplitude.In the embodiment of the present application, can be by reducing the range value on the target frequency for leading to resonance in audio signal, and amplitude audio signal adjusted is broadcasted, to reduce the abnormal sound that audio-frequence player device is generated due to resonance when audio signal is broadcasted.
Description
Technical field
This application involves sound processing techniques fields more particularly to a kind of acoustic signal processing method, equipment and storage to be situated between
Matter.
Background technique
Currently, audio broadcast message class product on the market is when playing audio, when the frequency of audio is played just at audio
When in the resonance frequency range of class product, it will lead to audio broadcast message class product and generate the abnormal sounds such as tremolo, this will affect user experience.
For example, resonance, which will lead to speaker, generates a large amount of abnormal sounds.
In the prior art, the physical structures such as foam gasket are generallyd use by way of buffering, to reduce audio broadcast message class
The abnormal sound of product.But the production technology of this mode is complicated, and production cost is higher.
Summary of the invention
The many aspects of the application provide a kind of acoustic signal processing method, equipment and memory mechanism, to reduce due to
It resonates and causes the abnormal sound generated in audio-frequence player device.
The embodiment of the present application provides a kind of acoustic signal processing method, comprising:
Obtain the frequency distribution range for the audio signal that audio-frequence player device will play;
If there is the target frequency to match with the resonant frequency of the audio-frequence player device in the frequency distribution range,
Then according to the corresponding relationship of resonant frequency and amplitude reduction amount, the corresponding amplitude reduction amount of the target frequency is determined;
According to the corresponding amplitude reduction amount of the target frequency, width of the audio signal on the target frequency is adjusted
Angle value;
It is worth audio signal adjusted by the audio-frequence player device output amplitude.
The embodiment of the present application also provides a kind of audio-frequence player device, including processor and loudspeaker;
The processor is used to obtain the frequency distribution range for the audio signal that audio-frequence player device will play;If described
There is the target frequency to match with the resonant frequency of the audio-frequence player device in frequency distribution range, then according to resonant frequency
With the corresponding relationship of amplitude reduction amount, the corresponding amplitude reduction amount of the target frequency is determined;It is corresponding according to the target frequency
Amplitude reduction amount, adjust range value of the audio signal on the target frequency;
The loudspeaker is worth audio signal adjusted for output amplitude.
The embodiment of the present application also provides a kind of computer readable storage medium for storing computer instruction, when the computer
When instruction is executed by one or more processors, one or more of processors is caused to execute Audio Signal Processing side above-mentioned
Method.
In the embodiment of the present application, before audio signal broadcast, according to the frequency distribution range of audio signal, sound is determined
Whether the broadcast of frequency signal, which will lead to audio-frequence player device, is resonated, and is played when the broadcast for determining audio signal will lead to audio
When equipment resonates, the range value on the target frequency for leading to resonance in audio signal is reduced, and it is adjusted to broadcast amplitude
Audio signal, so as to reduce the abnormal sound that audio-frequence player device is generated due to resonance when audio signal is broadcasted.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present application, constitutes part of this application, this Shen
Illustrative embodiments and their description please are not constituted an undue limitation on the present application for explaining the application.In the accompanying drawings:
Fig. 1 is a kind of flow diagram for acoustic signal processing method that one embodiment of the application provides;
Fig. 2 is a kind of structural schematic diagram for audio-frequence player device that another embodiment of the application provides;
Fig. 3 is the structural schematic diagram for another audio-frequence player device that another embodiment of the application provides;
Fig. 4 is the structural schematic diagram for another audio-frequence player device that another embodiment of the application provides.
Specific embodiment
To keep the purposes, technical schemes and advantages of the application clearer, below in conjunction with the application specific embodiment and
Technical scheme is clearly and completely described in corresponding attached drawing.Obviously, described embodiment is only the application one
Section Example, instead of all the embodiments.Based on the embodiment in the application, those of ordinary skill in the art are not doing
Every other embodiment obtained under the premise of creative work out, shall fall in the protection scope of this application.
In the prior art, the physical structures such as foam gasket are generallyd use by way of buffering, to reduce audio broadcast message class
The abnormal sound of product.But the production technology of this mode is complicated, and production cost is higher.In some embodiments of the present application:
Before audio signal is broadcasted, according to the frequency distribution range of audio signal, determine whether the broadcast of audio signal will lead to audio
Playback equipment resonates, and when the broadcast for determining audio signal, which will lead to audio-frequence player device, resonates, reduces audio letter
Lead to the range value on the target frequency of resonance in number, and broadcast amplitude audio signal adjusted, so as to reduce audio letter
The abnormal sound that is generated due to resonance of audio-frequence player device when number broadcasting.
Below in conjunction with attached drawing, the technical scheme provided by various embodiments of the present application will be described in detail.
Fig. 1 is the flow diagram for the acoustic signal processing method that one embodiment of the application provides.As shown in Figure 1, the party
Method includes:
100, the frequency distribution range for the audio signal that audio-frequence player device will play is obtained;
If 101, there is the target frequency to match with the resonant frequency of audio-frequence player device, root in frequency distribution range
According to the corresponding relationship of resonant frequency and amplitude reduction amount, the corresponding amplitude reduction amount of target frequency is determined;
102, according to the corresponding amplitude reduction amount of target frequency, range value of the audio signal on target frequency is adjusted;
103, audio signal adjusted is worth by audio-frequence player device output amplitude.
Acoustic signal processing method provided in this embodiment can be applied to the various audio-frequence player devices that need to be improved due to altogether
It shakes and generates in the scene of abnormal sound, the present embodiment is not construed as limiting this.Wherein, it is mechanical, electrical to can be speaker, ear for audio-frequence player device
Depending on machine etc., the present embodiment is also not construed as limiting this.In addition, the audio signal in the present embodiment can be music signal, voice
Signal etc., the present embodiment are also not construed as limiting this.
In the present embodiment, the frequency distribution range for the audio signal that audio-frequence player device will play can be obtained.Wherein, sound
The audio signal that frequency playback equipment will play can be the corresponding audio signal of snatch of music in a song, be also possible to
The corresponding audio signal of word in one section of voice, the present embodiment are not construed as limiting the specification of audio signal.
In addition, the time gap of audio signal and currently processed moment that the present embodiment will play audio-frequence player device
Also it is not construed as limiting, as long as completing amplitude adjusted before audio signal broadcast.For example, for a song, sound
The process that frequency playback equipment plays the song has time duration, therefore, if at the currently processed moment, audio-frequence player device is broadcast
What is put is the snatch of music on the 5s of the song, then can be as audio-frequence player device using the snatch of music of the 6s of the song
By the audio signal of broadcasting.Certainly, the snatch of music of the 7s of the song can also will be played as audio-frequence player device
Audio signal.The audio signal that the snatch of music of 8~10s of the song can will be also played as audio-frequence player device.
Wherein, in the present embodiment, the frequency for the audio signal that audio-frequence player device will play can be obtained from number of ways
Distribution.For example, processing can be carried out to the audio signal before being transported to audio-frequence player device from audio signal
Other processing equipments in download the frequency distribution range of the audio signal.In another example sound can be transported to by audio signal
Analysis to the audio signal during frequency playback equipment and the balanced device EQ compensation before not being played etc., obtains audio letter
Number frequency distribution range.Certainly, the frequency for the audio signal that audio-frequence player device will play can be also obtained from other approach
Distribution, the present embodiment are not construed as limiting this.
According to the frequency distribution range for the audio signal that the audio-frequence player device got will play, which can be believed
Number frequency distribution range matched with the resonant frequency of audio-frequence player device, if the frequency distribution range of the audio signal
Middle to there is the target frequency to match with the resonant frequency of audio-frequence player device, then characterize when the audio signal is broadcasted will lead to
Audio-frequence player device resonates.In some practical applications, frequency range is can be used in the resonant frequency of audio-frequence player device
Form characterizes.Accordingly, the frequency distribution range and audio that can determine whether the audio signal that audio-frequence player device will play play
The resonance frequency range of equipment whether there is intersection, to determine target frequency.
It, can be according to the resonant frequency and amplitude reduction of preconfigured audio-frequence player device based on the target frequency determined
The corresponding relationship of amount determines the corresponding amplitude reduction amount of target frequency.Wherein, the corresponding amplitude reduction amount of target frequency refers to
To the reduction degree of range value of the audio signal on target frequency.
According to the amplitude reduction amount determined, range value of the audio signal on target frequency can be reduced, thus passing through
When audio-frequence player device output amplitude is worth audio signal adjusted, audio-frequence player device can be reduced and vibrate width on target frequency
The amplification of degree.
In addition, can be broadcast according to the range value of default in the present embodiment for the audio signal there is no target frequency
Out.
In the present embodiment, before audio signal broadcast, according to the frequency distribution range of audio signal, audio signal is determined
Broadcast whether will lead to audio-frequence player device and resonate, when the broadcast for determining audio signal will lead to audio-frequence player device hair
When raw resonance, the range value on the target frequency for leading to resonance in audio signal is reduced, and broadcasts amplitude audio letter adjusted
Number, so as to reduce the abnormal sound that audio-frequence player device is generated due to resonance when audio signal is broadcasted.
In above-mentioned or following embodiments, audio-frequence player device can detect when output amplitude is worth audio signal adjusted
Oscillation Amplitude;If Oscillation Amplitude is unsatisfactory for the corresponding Oscillation Amplitude tolerance condition of target frequency, resonant frequency and width are improved
Spend amplitude reduction amount corresponding with target frequency in the corresponding relationship of reduction amount.
In the present embodiment, when audio-frequence player device output amplitude is worth audio signal adjusted, it can detect audio and play
The Oscillation Amplitude of equipment.In a practical application, the Oscillation Amplitude of acceleration transducer detection audio-frequence player device can be used:
It can detect vibration displacement of the audio-frequence player device when output amplitude is worth audio signal adjusted using acceleration sensor;According to
Vibration displacement of the audio-frequence player device when output amplitude is worth audio signal adjusted calculates audio-frequence player device in output width
Oscillation Amplitude when angle value audio signal adjusted.Wherein, acceleration transducer can be deployed in and contact with audio-frequence player device
Position, it is, of course, also possible to be other positions, be not limited thereto for example, can be deployed on the bottom wall of audio-frequence player device.
In addition, acceleration transducer, which can be used, becomes capacitance acceleration transducer or piezoelectric acceleration transducer etc., herein
It is not construed as limiting.
Based on the Oscillation Amplitude of the audio-frequence player device detected, it can determine whether the Oscillation Amplitude meets target frequency pair
The Oscillation Amplitude tolerance condition answered.Wherein, the Oscillation Amplitude tolerance condition of target device can be preset, the process of default settings
It will be described in detail below.Hold when the Oscillation Amplitude of the audio-frequence player device detected is unsatisfactory for the corresponding Oscillation Amplitude of target frequency
When bearing condition, characterize according to resonant frequency amplitude reduction amount corresponding with target frequency in the corresponding relationship of amplitude reduction amount into
When the amplitude adjusted of row audio signal, expected effect can not be obtained.Accordingly, in the present embodiment, resonant frequency and width can be improved
Spend amplitude reduction amount corresponding with target frequency in the corresponding relationship of reduction amount.
Amplitude reduction amount purpose corresponding with target frequency in resonant frequency and the corresponding relationship of amplitude reduction amount is improved to exist
In the treatment effect for the subsequent audio signal of audio signal that further improvement audio-frequence player device will play.This is mainly examined
The every initial parameter for considering different sound-source signals may be different.For example, for same song, never with being obtained in sound source
Initial spectrum corresponding to the sound-source signal of the song arrived may be different, this causes, in different sound-source signals, for same
Target frequency use same magnitude reduction amount when, identical abnormal sound reducing effect can not be obtained, of course, it is also possible to there are it is other because
Element leads to different abnormal sound reducing effects.Therefore, in the present embodiment, resonant frequency and amplitude reduction amount can be adjusted by dynamic
Amplitude reduction amount corresponding with target frequency in corresponding relationship continues to optimize the suitable of amplitude Adjusted Option and corresponding sound-source signal
With degree, and then obtain better treatment effect.
For example, if audio-frequence player device is playing a song, for a segment of audio signal in this song song into
When row processing, according to the corresponding relationship of resonant frequency and amplitude reduction amount, determine that the corresponding amplitude reduction amount of target frequency is
5DB, and exported after range value of the audio signal on target frequency is reduced 5DB.If inspection when exporting the section audio signal
The Oscillation Amplitude for measuring audio-frequence player device is unsatisfactory for the corresponding amplitude tolerance condition of target frequency, then can be by resonant frequency and width
It spends amplitude reduction amount corresponding with target frequency in the corresponding relationship of reduction amount and rises to 6DB.Accordingly, there is audio letter again when subsequent
Number frequency distribution range in include target frequency when, can according to 6DB this heavier amplitude reduction dynamics to this class audio frequency believe
It number is handled, and the Oscillation Amplitude of audio-frequence player device can be continued to test, if Oscillation Amplitude is still unsatisfactory for target frequency pair
The Oscillation Amplitude tolerance condition answered, then can continue to improve in the corresponding relationship of resonant frequency and amplitude reduction amount with target frequency pair
The amplitude reduction amount answered.
Accordingly, amplitude reduction amount corresponding with target frequency is one in resonant frequency and the corresponding relationship of amplitude reduction amount
The value that dynamic updates, it ensure that the amplitude adjustment process for the audio signal that audio-frequence player device will play is an accuracy
The process of continuous improvement.Wherein, can staged improve in the corresponding relationship of resonant frequency and amplitude reduction amount with target frequency pair
The amplitude reduction amount answered, to faster, more accurately determine the most suitable amplitude reduction amount of target frequency.
In addition, in the present embodiment, it can be according to the power amplification multiple of default for the music signal there is no target audio
It is handled.Correspondingly, if there are target frequencies in its preceding audio signal, when power amplification multiple being caused to be lowered,
Then power amplification multiple can be reverted into default value after playing its preceding audio signal, to put according to the power of default
Big multiple handles the audio signal.
It, can be before audio signal be sent into power amplifier, according to target frequency pair in above-mentioned or following embodiments
The amplitude reduction amount answered reduces the power amplification multiple of the power amplifier of audio-frequence player device, to reduce audio signal each
Range value in frequency, each frequency include target frequency.
In the present embodiment, there are target frequency and the corresponding amplitude reduction of target frequency is determined in determining audio signal
It, can be according to the amplification factor of the power amplifier for the amplitude reduction amount setting audio-frequence player device determined after amount.By by function
The amplification factor of rate amplifier reduces the reduction to realize range value of the audio signal in each frequency.For example, if audio plays
The power amplification multiple of equipment default is N, then, can there are when target frequency in the audio signal that audio-frequence player device will play
It is equal by M, M < N, M and N is reduced to for the power amplification multiple of the audio signal according to the corresponding amplitude reduction amount of target frequency
For rational, handled in this way, range value of the audio signal in each frequency can be made to be lower than by the power amplification multiple of default
When range value, to realize the reduction of range value of the audio signal in each frequency.
Wherein, since the target frequency that audio signal includes may be multiple, and using a kind of system in the present embodiment
The scheme of one adjustment that is to say and carry out unified drop to the range value in all frequencies in audio signal including target frequency
It is low, it therefore, optionally,, can be according to each target frequency institute in the power amplification multiple for determining power amplifier in the present embodiment
Maximum value in corresponding amplitude reduction amount reduces power amplification multiple, this can guarantee each target frequency and can get preferable
Range value reducing effect.Certainly, the amplification factor that other principles determine power amplifier also can be used, for example, can be according to each mesh
The average value etc. of the corresponding amplitude reduction amount of frequency is marked, the present embodiment is not construed as limiting this.
In the present embodiment, by reducing the power amplification multiple of power amplifier, to reduce the volume of audio signal, thus
The reduction of range value of the audio signal on target frequency can be achieved.
In addition, it is worth noting that, it is above-mentioned by power amplifier come reduce target frequency range value in the way of be only
In the present embodiment, other implementations can be used also to reduce the range value of target frequency, example in a kind of optional implementation
Such as, EQ compensation rate etc. can be reduced, the present embodiment is not limited to this in EQ compensation process.
In above-mentioned or following embodiments, the corresponding relationship that can be pre-configured between resonant frequency and amplitude reduction amount.
, can be to audio-frequence player device input test signal in the present embodiment, and detect audio-frequence player device and playing test
The Oscillation Amplitude and vibration frequency of each playing time in signal process;From the vibration frequency of each playing time, vibration width is obtained
The amplification spent compared to its previous playing time is greater than at least one vibration frequency of preset threshold as audio-frequence player device
Resonant frequency;And condition is tolerated according to the corresponding Oscillation Amplitude of at least one resonant frequency, determine at least one resonance
The corresponding amplitude reduction amount of frequency, to generate the corresponding relationship of resonant frequency Yu amplitude reduction amount.
Wherein, test signal can be swept-frequency signal, can also be other types of audio signal, the present embodiment pair certainly
This is not construed as limiting.In the present embodiment, signal input audio playback equipment can will be tested, and this audio-frequence player device is being played into survey
Oscillation Amplitude and vibration frequency during trial signal, when the vibration in certain vibration frequencies has occurred in a certain playing time of discovery
When amplitude is uprushed, it may be determined that audio-frequence player device is resonated in the playing time, can will be occurred in the playing time accordingly
The vibration frequency that Oscillation Amplitude is uprushed is determined as the resonant frequency of audio-frequence player device.
Accordingly, can by detection audio-frequence player device play test signal process in each playing time Oscillation Amplitude and
Vibration frequency determines the resonant frequency of audio-frequence player device.In some practical applications, audio can be caused to broadcast according to detecting
At least one discrete vibration frequency that equipment sends resonance is put, determines the section of the corresponding resonant frequency of audio-frequence player device
Range.It correspondingly, can be by judging each frequency of audio signal that it will be played in audio-frequence player device use process
Whether the interval range of its resonant frequency is belonged to, to determine in audio signal with the presence or absence of target frequency.
Certainly, above-mentioned implementation is merely exemplary, and in the present embodiment, other implementations can be used also to determine sound
The resonant frequency of frequency playback equipment, the present embodiment are not limited to this.
On the basis of determining the resonant frequency of audio-frequence player device, it can further determine that out that each resonant frequency is respectively right
The amplitude reduction amount answered.
In the present embodiment, it can be directed to each resonant frequency, from the original of playing time of the test signal belonging to resonant frequency
Beginning volume starts, and staged reduces volume of the test signal under playing time, until detecting that audio-frequence player device is resonating
Oscillation Amplitude in frequency meets Oscillation Amplitude tolerance condition;Oscillation Amplitude is met to volume decrease when Oscillation Amplitude tolerance condition
Low amounts, as the corresponding amplitude reduction amount of resonant frequency.
Wherein, it can determine that the corresponding amplitude reduction amount of each resonant frequency according to for amplitude tolerance condition, vibrate
Amplitude tolerance condition can flexibly be set according to actual needs.For example, can be resonated according to human ear to audio-frequence player device
When the Bearing degree of abnormal sound that generates, by the difference of the Oscillation Amplitude detected on resonant frequency and the actual margin of audio signal
Value is no more than preset threshold as Oscillation Amplitude and tolerates condition.The reality of the Oscillation Amplitude and audio signal that are detected on resonant frequency
The difference of border amplitude can symbolize Oscillation Amplitude amplification caused by resonance, can also embody resonance and play to audio signal
The influence degree of generation.Therefore, the side of the volume of the playing time of resonant frequency in signal can be tested by stepwise adjusting
Formula or other means, to reduce Oscillation Amplitude amplification caused by resonance, reduces resonance to audio signal to reduce the difference
Play the influence degree generated.
Mode due to reducing the range value of volume or other reduction audio signals on resonant frequency all may be to audio
The influence of the sound quality of signal, therefore, amplitude reduction amount, which can be set in, meets Oscillation Amplitude tolerance condition just, without setting
It is too big, cause serious influence to avoid the sound quality on audio signal.
It should be noted that the executing subject of each step of above-described embodiment institute providing method may each be same equipment,
Alternatively, this method is also by distinct device as executing subject.For example, the executing subject of step 101 to step 103 can be equipment
A;For another example, step 101 and 102 executing subject can be equipment A, the executing subject of step 103 can be equipment B;Etc..
In addition, containing in some processes of the description in above-described embodiment and attached drawing according to particular order appearance
Multiple operations, but it should be clearly understood that these operations can not execute or parallel according to its sequence what appears in this article
It executes, serial number of operation such as 101,102 etc. is only used for distinguishing each different operation, and serial number itself does not represent any
Execute sequence.
Fig. 2 is a kind of structural schematic diagram for audio-frequence player device that another embodiment of the application provides.As shown in Fig. 2, should
Audio-frequence player device includes: processor 20 and loudspeaker 21.
Processor 20 is used to obtain the frequency distribution range for the audio signal that audio-frequence player device will play;If frequency point
There is the target frequency to match with the resonant frequency of audio-frequence player device in cloth range, then according to resonant frequency and amplitude reduction
The corresponding relationship of amount determines the corresponding amplitude reduction amount of target frequency;According to the corresponding amplitude reduction amount of target frequency, sound is adjusted
Range value of the frequency signal on target frequency;
Loudspeaker 21 is worth audio signal adjusted for output amplitude.
In the present embodiment, before audio signal broadcast, according to the frequency distribution range of audio signal, determine that audio is believed
Number broadcast whether will lead to audio-frequence player device and resonate, when the broadcast for determining audio signal will lead to audio-frequence player device
When resonating, the range value on the target frequency for leading to resonance in audio signal is reduced, and broadcast amplitude audio adjusted
Signal, so as to reduce the abnormal sound that audio-frequence player device is generated due to resonance when audio signal is broadcasted.
In an alternative embodiment, processor 20 is also used to:
Detect Oscillation Amplitude of the audio-frequence player device when output amplitude is worth audio signal adjusted;
If Oscillation Amplitude is unsatisfactory for the corresponding Oscillation Amplitude tolerance condition of target frequency, improves resonant frequency and amplitude drops
Amplitude reduction amount corresponding with target frequency in the corresponding relationship of low amounts.
Fig. 3 is the structural schematic diagram for another audio-frequence player device that another embodiment of the application provides, such as
Shown in Fig. 3, audio-frequence player device further includes acceleration transducer 24, acceleration transducer 24 and audio-frequence player device
Contact;
Acceleration transducer 24, for detecting vibration of the audio-frequence player device when output amplitude is worth audio signal adjusted
Dynamic displacement, and vibration displacement of the audio-frequence player device that will test when output amplitude is worth audio signal adjusted is sent to
Processor;
Processor 20, for the vibration position according to audio-frequence player device when output amplitude is worth audio signal adjusted
It moves, calculates Oscillation Amplitude of the audio-frequence player device when output amplitude is worth audio signal adjusted.
Fig. 4 is the structural schematic diagram for another audio-frequence player device that another embodiment of the application provides, as shown in figure 4,
Audio-frequence player device further includes power amplifier 25;
Processor 20 adjusts amplitude of the audio signal on target frequency according to the corresponding amplitude reduction amount of target frequency
When value, for according to the corresponding amplitude reduction amount of target frequency, reducing function before audio signal is sent into power amplifier 25
The power amplification multiple of rate amplifier 25;
Power amplifier 25, for carrying out power amplification to audio signal according to the power amplification multiple after reduction, with drop
Range value of the bass signal in each frequency, each frequency include target frequency.
In an alternative embodiment, processor 20 is according to the corresponding relationship between resonant frequency and amplitude reduction amount, really
Before the corresponding amplitude reduction amount of the frequency that sets the goal, it is also used to:
To audio-frequence player device input test signal, and detects audio-frequence player device and respectively broadcast in playing test signal process
Put the Oscillation Amplitude and vibration frequency at moment;
From the vibration frequency of each playing time, the amplification for obtaining Oscillation Amplitude compared to its previous playing time is greater than in advance
If resonant frequency of at least one vibration frequency of threshold value as audio-frequence player device;And
Condition is tolerated according to the corresponding Oscillation Amplitude of at least one resonant frequency, determines that at least one resonant frequency is each
Self-corresponding amplitude reduction amount, to generate the corresponding relationship of resonant frequency Yu amplitude reduction amount.
In an alternative embodiment, processor 20 is tolerated according to the corresponding Oscillation Amplitude of at least one resonant frequency
Condition is used for when determining the corresponding amplitude reduction amount of at least one resonant frequency:
For each resonant frequency, since the original sound volume of playing time of the test signal belonging to resonant frequency, rank
Ladder type reduces volume of the test signal under playing time, until detecting vibration width of the audio-frequence player device on resonant frequency
Degree meets Oscillation Amplitude tolerance condition;
Oscillation Amplitude is met to volume reduction amount when Oscillation Amplitude tolerance condition, as the corresponding amplitude drop of resonant frequency
Low amounts.
Further, as shown in Fig. 2, the audio-frequence player device further include: other groups of communication component 22, power supply module 23 etc.
Part.Members are only schematically provided in Fig. 2, are not meant to that audio-frequence player device only includes component shown in Fig. 2.
Wherein, wired or wireless side between equipment and other equipment where communication component 22 is configured to facilitate communication component
The communication of formula.Equipment where communication component can access the wireless network based on communication standard, such as WiFi, 2G or 3G or they
Combination.In one exemplary embodiment, communication component is received via broadcast channel from the wide of external broadcasting management system
Broadcast signal or broadcast related information.In one exemplary embodiment, communication component can be based on near-field communication (NFC) technology, penetrate
Frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology, bluetooth (BT) technology or other skills
Art is realized, to promote short range communication.
Wherein, power supply module 23, the various assemblies of equipment provide electric power where power supply module.Power supply module may include
Power-supply management system, one or more power supplys and other are related to electric power is generated, managed, and distributed for equipment where power supply module
The component of connection.
Correspondingly, the embodiment of the present application also provides a kind of computer readable storage medium for being stored with computer program, meter
Calculation machine program, which is performed, can be realized each step that can be executed by audio-frequence player device in above method embodiment.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program
Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention
Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the present invention, which can be used in one or more,
The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces
The form of product.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions
The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs
Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real
The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
In a typical configuration, calculating equipment includes one or more processors (CPU), input/output interface, net
Network interface and memory.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/or
The forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable medium
Example.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method
Or technology come realize information store.Information can be computer readable instructions, data structure, the module of program or other data.
The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory (SRAM), moves
State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable
Programmable read only memory (EEPROM), flash memory or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM),
Digital versatile disc (DVD) or other optical storage, magnetic cassettes, tape magnetic disk storage or other magnetic storage devices
Or any other non-transmission medium, can be used for storage can be accessed by a computing device information.As defined in this article, it calculates
Machine readable medium does not include temporary computer readable media (transitory media), such as the data-signal and carrier wave of modulation.
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludability
It include so that the process, method, commodity or the equipment that include a series of elements not only include those elements, but also to wrap
Include other elements that are not explicitly listed, or further include for this process, method, commodity or equipment intrinsic want
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including described want
There is also other identical elements in the process, method of element, commodity or equipment.
The above description is only an example of the present application, is not intended to limit this application.For those skilled in the art
For, various changes and changes are possible in this application.All any modifications made within the spirit and principles of the present application are equal
Replacement, improvement etc., should be included within the scope of the claims of this application.
Claims (10)
1. a kind of acoustic signal processing method characterized by comprising
Obtain the frequency distribution range for the audio signal that audio-frequence player device will play;
If there is the target frequency to match with the resonant frequency of the audio-frequence player device, root in the frequency distribution range
According to the corresponding relationship of resonant frequency and amplitude reduction amount, the corresponding amplitude reduction amount of the target frequency is determined;
According to the corresponding amplitude reduction amount of the target frequency, amplitude of the audio signal on the target frequency is adjusted
Value;
It is worth audio signal adjusted by the audio-frequence player device output amplitude.
2. the method according to claim 1, wherein further include:
Detect Oscillation Amplitude of the audio-frequence player device when output amplitude is worth audio signal adjusted;
If the Oscillation Amplitude is unsatisfactory for the corresponding Oscillation Amplitude tolerance condition of the target frequency, the resonant frequency is improved
And amplitude reduction amount corresponding with the target frequency in the corresponding relationship of amplitude reduction amount.
3. according to the method described in claim 2, it is characterized in that, the detection audio-frequence player device is in output amplitude value
Oscillation Amplitude when audio signal adjusted, comprising:
Vibration of the audio-frequence player device when output amplitude is worth audio signal adjusted is detected using acceleration transducer
Displacement;
According to vibration displacement of the audio-frequence player device when output amplitude is worth audio signal adjusted, the audio is calculated
Oscillation Amplitude of the playback equipment when output amplitude is worth audio signal adjusted.
4. the method according to claim 1, wherein described according to the corresponding amplitude reduction of the target frequency
Amount, adjusts range value of the audio signal on the target frequency, comprising:
Before the audio signal is sent into power amplifier, according to the corresponding amplitude reduction amount of the target frequency, reduce
The power amplification multiple of the power amplifier of the audio-frequence player device, to reduce amplitude of the audio signal in each frequency
Value, each frequency include target frequency.
5. the method according to claim 1, wherein according to corresponding between resonant frequency and amplitude reduction amount
Relationship, before determining the corresponding amplitude reduction amount of the target frequency, further includes:
To the audio-frequence player device input test signal, and detects the audio-frequence player device and playing the test signal mistake
The Oscillation Amplitude and vibration frequency of each playing time in journey;
From the vibration frequency of each playing time, Oscillation Amplitude is obtained compared to the amplification of its previous playing time and is greater than default threshold
Resonant frequency of at least one vibration frequency of value as the audio-frequence player device;And
Condition is tolerated according to the corresponding Oscillation Amplitude of at least one described resonant frequency, determines at least one described resonance frequency
The corresponding amplitude reduction amount of rate, to generate the corresponding relationship of resonant frequency Yu amplitude reduction amount.
6. according to the method described in claim 5, it is characterized in that, according to the corresponding vibration of at least one resonant frequency
Dynamic amplitude tolerates condition, determines the corresponding amplitude reduction amount of at least one described resonant frequency, comprising:
For each resonant frequency, opened from the original sound volume of test signal playing time belonging to the resonant frequency
Begin, staged reduces volume of the test signal under the playing time, until detecting that the audio-frequence player device exists
Oscillation Amplitude on the resonant frequency meets the Oscillation Amplitude tolerance condition;
Oscillation Amplitude is met to the volume reduction amount when Oscillation Amplitude tolerance condition, as the corresponding width of the resonant frequency
Spend reduction amount.
7. a kind of audio-frequence player device, which is characterized in that including processor and loudspeaker;
The processor is used to obtain the frequency distribution range for the audio signal that audio-frequence player device will play;If the frequency
There is the target frequency to match with the resonant frequency of the audio-frequence player device in distribution, then according to resonant frequency and width
The corresponding relationship for spending reduction amount, determines the corresponding amplitude reduction amount of the target frequency;According to the corresponding width of the target frequency
Reduction amount is spent, range value of the audio signal on the target frequency is adjusted;
The loudspeaker is worth audio signal adjusted for output amplitude.
8. equipment according to claim 7, which is characterized in that the processor is also used to:
Detect Oscillation Amplitude of the audio-frequence player device when output amplitude is worth audio signal adjusted;
If the Oscillation Amplitude is unsatisfactory for the corresponding Oscillation Amplitude tolerance condition of the target frequency, the resonant frequency is improved
And amplitude reduction amount corresponding with the target frequency in the corresponding relationship of amplitude reduction amount.
9. equipment according to claim 8, which is characterized in that it further include acceleration transducer, the acceleration transducer
It is contacted with the audio-frequence player device;
The acceleration transducer, for detecting the audio-frequence player device when output amplitude is worth audio signal adjusted
Vibration displacement, and vibration displacement of the audio-frequence player device that will test when output amplitude is worth audio signal adjusted
It is sent to the processor;
The processor, for the vibration position according to the audio-frequence player device when output amplitude is worth audio signal adjusted
It moves, calculates Oscillation Amplitude of the audio-frequence player device when output amplitude is worth audio signal adjusted.
10. a kind of computer readable storage medium for storing computer instruction, which is characterized in that when the computer instruction is by one
When a or multiple processors execute, one or more of processor perform claims is caused to require 1~6 described in any item audios
Signal processing method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811527955.7A CN109658952B (en) | 2018-12-13 | 2018-12-13 | Audio signal processing method, device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811527955.7A CN109658952B (en) | 2018-12-13 | 2018-12-13 | Audio signal processing method, device and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109658952A true CN109658952A (en) | 2019-04-19 |
CN109658952B CN109658952B (en) | 2020-10-09 |
Family
ID=66114457
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811527955.7A Active CN109658952B (en) | 2018-12-13 | 2018-12-13 | Audio signal processing method, device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109658952B (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111726728A (en) * | 2020-06-30 | 2020-09-29 | 联想(北京)有限公司 | Resonance suppression method and device |
CN111967105A (en) * | 2020-08-18 | 2020-11-20 | 上海华兴数字科技有限公司 | Resonance elimination method and device, readable storage medium and electronic equipment |
CN112133332A (en) * | 2020-09-23 | 2020-12-25 | 腾讯音乐娱乐科技(深圳)有限公司 | Method, device and equipment for playing audio |
CN112817227A (en) * | 2020-12-31 | 2021-05-18 | 联想(北京)有限公司 | Information processing method and electronic equipment |
CN113470632A (en) * | 2021-05-20 | 2021-10-01 | 江铃汽车股份有限公司 | Audio processing method and system for reducing resonance of door metal plate and loudspeaker |
CN113847689A (en) * | 2021-09-23 | 2021-12-28 | 佛山市顺德区美的电子科技有限公司 | Air conditioner resonance control method and device, air conditioner and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1065370A (en) * | 1991-03-27 | 1992-10-14 | 休斯航空公司 | Public address intelligibility system |
WO2005027570A1 (en) * | 2003-09-16 | 2005-03-24 | Koninklijke Philips Electronics N.V. | High efficiency audio transducer |
CN101297588A (en) * | 2005-10-24 | 2008-10-29 | 皇家飞利浦电子股份有限公司 | A device for and a method of audio data processing |
CN104183260A (en) * | 2014-07-29 | 2014-12-03 | 冯文强 | Aviation audio player and aviation alarm system |
CN108269578A (en) * | 2018-02-05 | 2018-07-10 | 百度在线网络技术(北京)有限公司 | For handling the method and apparatus of information |
-
2018
- 2018-12-13 CN CN201811527955.7A patent/CN109658952B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1065370A (en) * | 1991-03-27 | 1992-10-14 | 休斯航空公司 | Public address intelligibility system |
WO2005027570A1 (en) * | 2003-09-16 | 2005-03-24 | Koninklijke Philips Electronics N.V. | High efficiency audio transducer |
CN101297588A (en) * | 2005-10-24 | 2008-10-29 | 皇家飞利浦电子股份有限公司 | A device for and a method of audio data processing |
CN104183260A (en) * | 2014-07-29 | 2014-12-03 | 冯文强 | Aviation audio player and aviation alarm system |
CN108269578A (en) * | 2018-02-05 | 2018-07-10 | 百度在线网络技术(北京)有限公司 | For handling the method and apparatus of information |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111726728A (en) * | 2020-06-30 | 2020-09-29 | 联想(北京)有限公司 | Resonance suppression method and device |
CN111967105A (en) * | 2020-08-18 | 2020-11-20 | 上海华兴数字科技有限公司 | Resonance elimination method and device, readable storage medium and electronic equipment |
CN111967105B (en) * | 2020-08-18 | 2024-05-28 | 上海华兴数字科技有限公司 | Resonance elimination method and device, readable storage medium and electronic equipment |
CN112133332A (en) * | 2020-09-23 | 2020-12-25 | 腾讯音乐娱乐科技(深圳)有限公司 | Method, device and equipment for playing audio |
CN112817227A (en) * | 2020-12-31 | 2021-05-18 | 联想(北京)有限公司 | Information processing method and electronic equipment |
CN112817227B (en) * | 2020-12-31 | 2022-05-31 | 联想(北京)有限公司 | Information processing method and electronic equipment |
CN113470632A (en) * | 2021-05-20 | 2021-10-01 | 江铃汽车股份有限公司 | Audio processing method and system for reducing resonance of door metal plate and loudspeaker |
CN113847689A (en) * | 2021-09-23 | 2021-12-28 | 佛山市顺德区美的电子科技有限公司 | Air conditioner resonance control method and device, air conditioner and storage medium |
CN113847689B (en) * | 2021-09-23 | 2023-05-26 | 佛山市顺德区美的电子科技有限公司 | Air conditioner resonance control method and device, air conditioner and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN109658952B (en) | 2020-10-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109658952A (en) | A kind of acoustic signal processing method, equipment and storage medium | |
US10506347B2 (en) | Nonlinear control of vented box or passive radiator loudspeaker systems | |
CN105144746A (en) | Room and program responsive loudspeaker system | |
US10638245B2 (en) | Dynamic multi-speaker optimization | |
CN102638742A (en) | Sound signal output apparatus and sound signal output method | |
US12058499B2 (en) | Audio processing method and device, terminal, and computer-readable storage medium | |
CN109195090B (en) | Method and system for testing electroacoustic parameters of microphone in product | |
US9860641B2 (en) | Audio output device specific audio processing | |
JP2011215378A (en) | Signal processing device | |
CN107403627B (en) | Sound source calibration system and method | |
US11126398B2 (en) | Smart speaker | |
CN110012376A (en) | A kind of control method, earphone and the storage medium of earphone sound channel | |
CN110087159B (en) | Feedback noise reduction method, system, earphone and storage medium | |
US11632200B2 (en) | Measuring and evaluating a test signal generated by a device under test (DUT) | |
US20120177224A1 (en) | Signal processor and method for compensating loudspeaker aging phenomena | |
US11356773B2 (en) | Nonlinear control of a loudspeaker with a neural network | |
US9769582B1 (en) | Audio source and audio sensor testing | |
CN113553022A (en) | Equipment adjusting method and device, mobile terminal and storage medium | |
US10448151B1 (en) | Multi-microphone system and method | |
WO2017077534A1 (en) | Method and system for measurement of ambience parameters using audio signals | |
CN109195089A (en) | Test method and system for loudspeaker electro mechanical parameter in product | |
US20150104036A1 (en) | Equalizer apparatus | |
CN109672961A (en) | A kind of volume adjusting method, equipment and storage medium | |
CN111669683A (en) | Managing low frequency components of an audio signal on a mobile computing device | |
CN110402585A (en) | Indoor all-bottom sound power optimization method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |