CN114786085A - Noise reduction control method and device, noise reduction earphone and storage medium - Google Patents
Noise reduction control method and device, noise reduction earphone and storage medium Download PDFInfo
- Publication number
- CN114786085A CN114786085A CN202210509398.6A CN202210509398A CN114786085A CN 114786085 A CN114786085 A CN 114786085A CN 202210509398 A CN202210509398 A CN 202210509398A CN 114786085 A CN114786085 A CN 114786085A
- Authority
- CN
- China
- Prior art keywords
- noise reduction
- time domain
- domain signal
- target
- filter
- 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.)
- Pending
Links
- 230000009467 reduction Effects 0.000 title claims abstract description 414
- 238000000034 method Methods 0.000 title claims abstract description 62
- 210000000613 ear canal Anatomy 0.000 claims abstract description 158
- 238000005316 response function Methods 0.000 claims abstract description 20
- 230000007613 environmental effect Effects 0.000 claims description 28
- 230000004044 response Effects 0.000 claims description 22
- 238000012545 processing Methods 0.000 claims description 20
- 238000001914 filtration Methods 0.000 claims description 11
- 238000004590 computer program Methods 0.000 claims description 9
- 230000000694 effects Effects 0.000 abstract description 19
- 238000005070 sampling Methods 0.000 description 18
- 238000004891 communication Methods 0.000 description 10
- 238000005516 engineering process Methods 0.000 description 8
- 238000010586 diagram Methods 0.000 description 6
- 238000001228 spectrum Methods 0.000 description 6
- 238000004364 calculation method Methods 0.000 description 5
- 230000006870 function Effects 0.000 description 5
- 230000005236 sound signal Effects 0.000 description 5
- 230000003287 optical effect Effects 0.000 description 4
- 230000008859 change Effects 0.000 description 3
- 238000010030 laminating Methods 0.000 description 3
- 230000001133 acceleration Effects 0.000 description 2
- 238000011156 evaluation Methods 0.000 description 2
- 238000009432 framing Methods 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000009471 action Effects 0.000 description 1
- 230000006978 adaptation Effects 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000000903 blocking effect Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 210000005069 ears Anatomy 0.000 description 1
- 210000003128 head Anatomy 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000000630 rising effect Effects 0.000 description 1
- 238000000926 separation method Methods 0.000 description 1
- 230000003595 spectral effect Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R1/00—Details of transducers, loudspeakers or microphones
- H04R1/10—Earpieces; Attachments therefor ; Earphones; Monophonic headphones
- H04R1/1083—Reduction of ambient noise
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10K—SOUND-PRODUCING DEVICES; METHODS OR DEVICES FOR PROTECTING AGAINST, OR FOR DAMPING, NOISE OR OTHER ACOUSTIC WAVES IN GENERAL; ACOUSTICS NOT OTHERWISE PROVIDED FOR
- G10K11/00—Methods or devices for transmitting, conducting or directing sound in general; Methods or devices for protecting against, or for damping, noise or other acoustic waves in general
- G10K11/16—Methods or devices for protecting against, or for damping, noise or other acoustic waves in general
- G10K11/175—Methods or devices for protecting against, or for damping, noise or other acoustic waves in general using interference effects; Masking sound
- G10K11/178—Methods or devices for protecting against, or for damping, noise or other acoustic waves in general using interference effects; Masking sound by electro-acoustically regenerating the original acoustic waves in anti-phase
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10K—SOUND-PRODUCING DEVICES; METHODS OR DEVICES FOR PROTECTING AGAINST, OR FOR DAMPING, NOISE OR OTHER ACOUSTIC WAVES IN GENERAL; ACOUSTICS NOT OTHERWISE PROVIDED FOR
- G10K11/00—Methods or devices for transmitting, conducting or directing sound in general; Methods or devices for protecting against, or for damping, noise or other acoustic waves in general
- G10K11/16—Methods or devices for protecting against, or for damping, noise or other acoustic waves in general
- G10K11/175—Methods or devices for protecting against, or for damping, noise or other acoustic waves in general using interference effects; Masking sound
- G10K11/178—Methods or devices for protecting against, or for damping, noise or other acoustic waves in general using interference effects; Masking sound by electro-acoustically regenerating the original acoustic waves in anti-phase
- G10K11/1781—Methods or devices for protecting against, or for damping, noise or other acoustic waves in general using interference effects; Masking sound by electro-acoustically regenerating the original acoustic waves in anti-phase characterised by the analysis of input or output signals, e.g. frequency range, modes, transfer functions
- G10K11/17821—Methods or devices for protecting against, or for damping, noise or other acoustic waves in general using interference effects; Masking sound by electro-acoustically regenerating the original acoustic waves in anti-phase characterised by the analysis of input or output signals, e.g. frequency range, modes, transfer functions characterised by the analysis of the input signals only
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10K—SOUND-PRODUCING DEVICES; METHODS OR DEVICES FOR PROTECTING AGAINST, OR FOR DAMPING, NOISE OR OTHER ACOUSTIC WAVES IN GENERAL; ACOUSTICS NOT OTHERWISE PROVIDED FOR
- G10K11/00—Methods or devices for transmitting, conducting or directing sound in general; Methods or devices for protecting against, or for damping, noise or other acoustic waves in general
- G10K11/16—Methods or devices for protecting against, or for damping, noise or other acoustic waves in general
- G10K11/175—Methods or devices for protecting against, or for damping, noise or other acoustic waves in general using interference effects; Masking sound
- G10K11/178—Methods or devices for protecting against, or for damping, noise or other acoustic waves in general using interference effects; Masking sound by electro-acoustically regenerating the original acoustic waves in anti-phase
- G10K11/1785—Methods, e.g. algorithms; Devices
- G10K11/17853—Methods, e.g. algorithms; Devices of the filter
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10K—SOUND-PRODUCING DEVICES; METHODS OR DEVICES FOR PROTECTING AGAINST, OR FOR DAMPING, NOISE OR OTHER ACOUSTIC WAVES IN GENERAL; ACOUSTICS NOT OTHERWISE PROVIDED FOR
- G10K2210/00—Details of active noise control [ANC] covered by G10K11/178 but not provided for in any of its subgroups
- G10K2210/10—Applications
- G10K2210/108—Communication systems, e.g. where useful sound is kept and noise is cancelled
- G10K2210/1081—Earphones, e.g. for telephones, ear protectors or headsets
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10K—SOUND-PRODUCING DEVICES; METHODS OR DEVICES FOR PROTECTING AGAINST, OR FOR DAMPING, NOISE OR OTHER ACOUSTIC WAVES IN GENERAL; ACOUSTICS NOT OTHERWISE PROVIDED FOR
- G10K2210/00—Details of active noise control [ANC] covered by G10K11/178 but not provided for in any of its subgroups
- G10K2210/30—Means
- G10K2210/301—Computational
- G10K2210/3016—Control strategies, e.g. energy minimization or intensity measurements
Landscapes
- Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Acoustics & Sound (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Soundproofing, Sound Blocking, And Sound Damping (AREA)
Abstract
The disclosure relates to a noise reduction control method and device, a noise reduction earphone and a storage medium. The noise reduction control method comprises the following steps: acquiring an environment time domain signal, acquiring an ear canal time domain signal, and determining a target noise reduction amount based on the environment time domain signal, the ear canal time domain signal and a preset frequency response function if the environment time domain signal and the ear canal time domain signal meet a preset filter parameter adjustment condition; determining an acoustic leakage compensation gear corresponding to the target noise reduction amount as a target acoustic leakage compensation gear according to preset noise reduction configuration information and the target noise reduction amount; determining target filter parameters based on the target acoustic leakage compensation gear; and adjusting the filter parameters in the preset noise reduction filter to be the target filter parameters. By using the method disclosed by the disclosure, when the wearing of the earphone is loose, the filter parameters in the preset noise reduction filter can be timely adjusted to perform sound leakage compensation, so that a good noise reduction effect is ensured, and the user experience is improved.
Description
Technical Field
The present disclosure relates to the field of signal processing, and in particular, to a noise reduction control method and apparatus, a noise reduction earphone, and a storage medium.
Background
Active Noise Cancellation (ANC), also called Active Noise Control (ANC), is a technology for actively generating a signal with the same energy as a Noise source and opposite phase to cause an acoustic signal to interfere with the Noise source signal, so as to cancel sound waves. The active noise reduction technology is widely applied to the multimedia field with the audio playing function, such as earphones, cabins, car cabins, vehicle-mounted speaker systems, smart homes and the like.
At present, after a user wears the earphone for a long time, a gap is formed between the earphone and an ear canal, and the attaching degree of the earphone and the ear is reduced, so that the noise reduction effect is poor.
Disclosure of Invention
In order to overcome the problems in the related art, the present disclosure provides a noise reduction control method, apparatus, noise reduction headphone, and storage medium.
According to a first aspect of the embodiments of the present disclosure, there is provided a noise reduction control method applied to a headphone, the method including:
acquiring an environment time domain signal, wherein the environment time domain signal refers to a sound wave signal in the surrounding environment of the earphone expressed by adopting a time domain expression mode;
acquiring an ear canal time domain signal, wherein the ear canal time domain signal refers to a sound wave signal in an ear canal expressed by adopting a time domain expression mode;
if the environment time domain signal and the ear canal time domain signal meet a preset filter parameter adjusting condition, determining a target noise reduction amount based on the environment time domain signal, the ear canal time domain signal and a preset frequency response function;
determining an acoustic leakage compensation gear corresponding to the target noise reduction amount as a target acoustic leakage compensation gear according to preset noise reduction configuration information and the target noise reduction amount, wherein the noise reduction configuration information is used for representing the corresponding relation between noise reduction amount thresholds and acoustic leakage compensation gears, and the noise reduction configuration information comprises a plurality of noise reduction amount thresholds and acoustic leakage compensation gears corresponding to each noise reduction amount threshold;
determining a target filter parameter based on the target acoustic leakage compensation gear;
and adjusting the filter parameters in a preset noise reduction filter to be the target filter parameters, wherein the noise reduction filter is used for carrying out noise reduction filtering processing on the input sound wave signals.
In an exemplary embodiment, the method further comprises: judging whether the environment time domain signal and the auditory canal time domain signal meet preset filter parameter adjustment conditions by adopting the following method:
determining the total energy of the environmental time domain signal based on the environmental time domain signal, wherein the environmental time domain signal comprises a plurality of frequency points, and the total energy of the environmental time domain signal refers to the sum of the energy of each frequency point in the environmental time domain signal;
determining the total energy of the ear canal time domain signal based on the ear canal time domain signal, wherein the ear canal time domain signal comprises a plurality of frequency points, and the total energy of the ear canal time domain signal refers to the sum of the energy of each frequency point in the ear canal time domain signal;
and if the ratio of the total energy of the environment time domain signal to the total energy of the ear canal time domain signal is greater than or equal to a preset energy threshold value, judging that a preset filter parameter adjusting condition is met.
In an exemplary embodiment, the determining a target noise reduction amount based on the ambient time domain signal and the ear canal time domain signal and a preset frequency response function includes:
performing fourier transform on the environment time domain signal and the ear canal time domain signal respectively to obtain an environment frequency domain signal and an ear canal frequency domain signal, wherein the environment frequency domain signal refers to a sound wave signal in the surrounding environment of the earphone represented by a frequency domain representation mode, and the ear canal frequency domain signal refers to a sound wave signal in the ear canal represented by a frequency domain representation mode;
obtaining a cross frequency response based on the environment frequency domain signal, the ear canal frequency domain signal and a preset frequency response function, wherein the cross frequency response is related to a frequency point;
obtaining a reference noise reduction amount according to the cross frequency response;
and obtaining an average noise reduction amount of a target frequency band according to the reference noise reduction amount, and determining the average noise reduction amount as the target noise reduction amount, wherein the average noise reduction amount refers to an average value of energy of each frequency point in the target frequency band.
In an exemplary embodiment, the determining, according to preset noise reduction configuration information and the target noise reduction amount, an acoustic leakage compensation gear corresponding to the target noise reduction amount as a target acoustic leakage compensation gear includes:
acquiring a preset noise reduction threshold value set, wherein the preset noise reduction threshold value set comprises a plurality of noise parameter values which are arranged from small to large, the plurality of noise parameter values form a plurality of noise reduction threshold values, and the noise reduction threshold values correspond to the sound leakage compensation gears;
determining a noise reduction threshold value to which the target noise reduction belongs according to the target noise reduction and the preset noise reduction threshold value set;
and determining an acoustic leakage compensation gear corresponding to the noise reduction threshold value to which the target noise reduction belongs as a target acoustic leakage compensation gear according to the noise reduction threshold value to which the target noise reduction belongs.
In an exemplary embodiment, the determining a target filter parameter based on the target sound leakage compensation gear, and adjusting a filter parameter in a preset noise reduction filter to the target filter parameter includes:
acquiring chip configuration information, wherein the chip configuration information is used for representing whether a filter coefficient stored in a chip supports updating;
if the filter coefficient stored in the chip supports updating, determining a target filter coefficient based on the target sound leakage compensation gear, and adjusting the filter coefficient in a preset noise reduction filter to the target filter coefficient;
and if the filter system stored in the chip does not support updating, determining a target filter gain based on the target sound leakage compensation gear, and adjusting the filter gain in a preset noise reduction filter to the target filter gain.
In an exemplary embodiment, the filter parameters in the predetermined noise reduction filter include:
filter parameters in a feedforward filter; or,
filter parameters in a feedforward filter and filter parameters in a feedback filter.
According to a second aspect of the embodiments of the present disclosure, there is provided a noise reduction control apparatus applied to a headphone, the noise reduction control apparatus including:
the earphone comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is configured to acquire an environment time domain signal, and the environment time domain signal refers to a sound wave signal in the environment around the earphone represented by a time domain representation mode;
the second acquisition module is configured to acquire an ear canal time domain signal, wherein the ear canal time domain signal refers to a sound wave signal in an ear canal expressed by a time domain expression mode;
a first determining module configured to determine a target noise reduction amount based on the environment time domain signal and the ear canal time domain signal and a preset frequency response function if the environment time domain signal and the ear canal time domain signal satisfy a preset filter parameter adjustment condition;
the second determining module is configured to determine an acoustic leakage compensation gear corresponding to a target noise reduction amount as a target acoustic leakage compensation gear according to preset noise reduction configuration information and the target noise reduction amount, wherein the noise reduction configuration information is used for representing a corresponding relation between a noise reduction amount threshold and the acoustic leakage compensation gear, and the noise reduction configuration information includes a plurality of noise reduction amount thresholds and acoustic leakage compensation gears corresponding to each noise reduction amount threshold;
a third determination module configured to determine a target filter parameter based on the target acoustic leakage compensation gear;
and the adjusting module is configured to adjust filter parameters in a preset noise reduction filter to the target filter parameters, wherein the noise reduction filter is used for performing noise reduction filtering processing on the input sound wave signal.
In an exemplary embodiment, the first determination module is further configured to:
determining total energy of an environment time domain signal based on the environment time domain signal, wherein the environment time domain signal comprises a plurality of frequency points, and the total energy of the environment time domain signal refers to the sum of energy of all the frequency points in the environment time domain signal;
determining the total energy of the ear canal time domain signal based on the ear canal time domain signal, wherein the ear canal time domain signal comprises a plurality of frequency points, and the total energy of the ear canal time domain signal refers to the sum of the energy of each frequency point in the ear canal time domain signal;
and if the ratio of the total energy of the environment time domain signal to the total energy of the auditory canal time domain signal is greater than or equal to a preset energy threshold value, judging that a preset filter parameter adjusting condition is met.
In an exemplary embodiment, the first determining module is further configured to:
performing fourier transform on the environment time domain signal and the ear canal time domain signal respectively to obtain an environment frequency domain signal and an ear canal frequency domain signal, wherein the environment frequency domain signal refers to a sound wave signal in the surrounding environment of the earphone represented by a frequency domain representation mode, and the ear canal frequency domain signal refers to a sound wave signal in the ear canal represented by a frequency domain representation mode;
obtaining a cross frequency response based on the environment frequency domain signal, the ear canal frequency domain signal and a preset frequency response function, wherein the cross frequency response is related to a frequency point;
obtaining a reference noise reduction quantity according to the cross frequency response;
and obtaining an average noise reduction amount of a target frequency band according to the reference noise reduction amount, and determining the average noise reduction amount as the target noise reduction amount, wherein the average noise reduction amount refers to an average value of energy of each frequency point in the target frequency band.
In an exemplary embodiment, the second determining module is further configured to:
acquiring a preset noise reduction threshold value set, wherein the preset noise reduction threshold value set comprises a plurality of noise parameter values which are arranged from small to large, the plurality of noise parameter values form a plurality of noise reduction threshold values, and the noise reduction threshold values correspond to the sound leakage compensation gears;
determining a noise reduction threshold value to which the target noise reduction belongs according to the target noise reduction and the preset noise reduction threshold value set;
and determining an acoustic leakage compensation gear corresponding to the noise reduction threshold value to which the target noise reduction belongs as a target acoustic leakage compensation gear according to the noise reduction threshold value to which the target noise reduction belongs.
In an exemplary embodiment, the third determining module is further configured to:
acquiring chip configuration information, wherein the chip configuration information is used for representing whether a filter coefficient stored in a chip supports updating;
if the filter coefficient stored in the chip supports updating, determining a target filter coefficient based on the target sound leakage compensation gear, and adjusting the filter coefficient in a preset noise reduction filter to the target filter coefficient;
and if the filter system stored in the chip does not support updating, determining a target filter gain based on the target sound leakage compensation gear, and adjusting the filter gain in a preset noise reduction filter to the target filter gain.
In an exemplary embodiment, the filter parameters in the predetermined noise reduction filter include:
filter parameters in a feedforward filter; or,
filter parameters in a feedforward filter and filter parameters in a feedback filter.
According to a third aspect of the embodiments of the present disclosure, there is provided a noise reducing headphone, the headphone comprising a housing and a feedforward microphone, a feedback microphone, a speaker, and a controller disposed on the housing:
the feedforward microphone is used for collecting sound wave signals in the surrounding environment of the earphone;
the feedback microphone is used for collecting sound wave signals in the auditory canal;
the loudspeaker is used for playing sound wave signals;
the controller is communicatively connected to the feedforward microphone, the feedback microphone and the loudspeaker, respectively, and comprises a processor and a memory, the memory storing computer program instructions executable by the processor, the processor being configured to invoke the computer program instructions to perform the method according to any one of the first aspect of the embodiments of the present disclosure.
According to a fourth aspect of embodiments of the present disclosure, there is provided a non-transitory computer-readable storage medium having stored thereon computer program instructions, wherein the computer program instructions, when invoked by a processor, perform the method according to any one of the first aspect of the embodiments of the present disclosure.
By adopting the method disclosed by the invention, the following beneficial effects are achieved: by using the noise reduction control method disclosed by the disclosure, when the wearing of the earphone is loose, the filter parameters in the preset noise reduction filter can be adjusted in time to perform sound leakage compensation, so that a good noise reduction effect is ensured, and the user experience is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
Fig. 1 is a schematic diagram of a noise reducing headset according to an exemplary embodiment;
FIG. 2 is a flow chart illustrating a noise reduction control method according to an exemplary embodiment;
FIG. 3 is a flow chart illustrating a noise reduction control method according to an exemplary embodiment;
FIG. 4 is a flow chart illustrating a method of noise reduction control according to an exemplary embodiment;
FIG. 5 is a flow chart illustrating a noise reduction control method according to an exemplary embodiment;
FIG. 6 is a flow chart illustrating a method of noise reduction control according to an exemplary embodiment;
FIG. 7 is a flow chart illustrating a noise reduction control method according to an exemplary embodiment;
FIG. 8 is a block diagram illustrating a noise reduction control apparatus according to an exemplary embodiment;
fig. 9 is a block diagram illustrating a noise reducing headset according to an exemplary embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. The following description refers to the accompanying drawings in which the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the invention, as detailed in the appended claims.
The "active noise reduction" of the headphone corresponds to the "passive noise reduction": the passive noise reduction means that the earphone utilizes a shell to reduce the environmental noise transmitted to the ears of a person in a physical separation mode, and all earphones have the passive noise reduction function; the active noise reduction means that sound waves with the phase opposite to that of noise and the same or similar energy are actively generated on the basis of passive noise reduction, and a part of environmental noise is counteracted through the interference phenomenon of the sound waves.
With the development of active noise reduction technology, noise reduction earphones are gradually popularized, and the use frequency and the use time of the noise reduction earphones are greatly increased. However, when the earphone is worn for several tens of minutes or several hours, the wearing becomes loose, and the degree of fitting between the earphone and the ear is reduced, that is, the degree of fitting of the earphone to the ear is gradually reduced along with the daily activities of the user. The noise reduction effect is closely related to the wearing state, and when the wearing state changes, the noise reduction effect is sharply reduced.
In the prior art, the noise reduction earphone is configured by adopting a fixed filter due to the comprehensive consideration of chip cost and system stability, namely, the active noise reduction filter cannot adjust parameters in real time to adapt to the wearing condition in real time, and the phenomenon of obvious sound leakage is generated along with the loosening of wearing, so that a user is often difficult to repeatedly wear again in the practical application, and the wearing time is increased to reduce the noise reduction effect.
Fig. 1 is a schematic diagram of a noise reducing headphone according to an exemplary embodiment, where as shown in fig. 1, the acoustic components mainly include: a Feed-Forward (FF) microphone 1, a Feedback (FB) microphone 2, and a speaker 3. The feedforward microphone 1 is arranged outside the earphone and used for collecting external environment noise in real time; the feedback microphone 2 is placed near the speaker inside the earphone to detect the residual noise near the ear canal in real time. The feedforward microphone 1, the loudspeaker 3 and the feedforward active noise reduction chip 4 form a feedforward active noise reduction path 5; the feedback microphone 2, the loudspeaker 3 and the feedback active noise reduction chip 6 form a feedback active noise reduction path 7. The feedforward active noise reduction chip 4 and the feedback active noise reduction chip 6 are composed of a feedforward filter and a feedback filter which are realized by hardware, and the filter coefficients in the filters are erasable parameters and need to be burned before use.
In an exemplary embodiment of the present disclosure, a noise reduction control method is provided, which is applied to earphones including various earphone structures such as an in-ear earphone, a semi-in-ear earphone, and a headset. Fig. 2 is a flowchart illustrating a noise reduction control method according to an exemplary embodiment, as shown in fig. 2, the noise reduction control method including the steps of:
step S201, obtaining an environment time domain signal, wherein the environment time domain signal refers to a sound wave signal in the surrounding environment of the earphone expressed by adopting a time domain expression mode;
step S202, acquiring an ear canal time domain signal, wherein the ear canal time domain signal refers to a sound wave signal in an ear canal expressed by adopting a time domain expression mode;
step S203, if the environment time domain signal and the ear canal time domain signal meet the preset filter parameter adjustment condition, determining a target noise reduction amount based on the environment time domain signal, the ear canal time domain signal and a preset frequency response function;
step S204, according to preset noise reduction configuration information and a target noise reduction amount, determining an acoustic leakage compensation gear corresponding to the target noise reduction amount as a target acoustic leakage compensation gear, wherein the noise reduction configuration information is used for representing the corresponding relation between a noise reduction amount threshold and the acoustic leakage compensation gear, and the noise reduction configuration information comprises a plurality of noise reduction amount thresholds and acoustic leakage compensation gears corresponding to each noise reduction amount threshold;
step S205, determining target filter parameters based on a target sound leakage compensation gear;
step S206, adjusting the filter parameters in the preset noise reduction filter to target filter parameters, wherein the noise reduction filter is used for performing noise reduction filtering processing on the input sound wave signal.
In step S201 and step S202, an ambient time domain signal is collected by a feedforward microphone, where the ambient time domain signal refers to a sound wave signal in the surrounding environment of the earphone represented by a time domain representation; an ear canal time domain signal, which refers to a sound wave signal within the ear canal represented in a time domain representation, is acquired by a feedback microphone. The acquisition time of the time domain signal can be set according to actual requirements, and in order to guarantee the accuracy and timeliness of the signal, the acquisition time is generally 1-3 seconds, for example 2 seconds. The sampling rate of the time domain signal can also be set according to actual requirements, and the sampling rate of the signal is at least 16kHz in order to conveniently acquire the signal.
In step S203, when the earphone is an in-ear earphone, since the noise reduction effect is related to the degree of fitting of the wearing of the earphone, when the earphone is in a completely fitted wearing state, the active noise reduction effect is the best, and at this time, filter parameters do not need to be adjusted; and when the earphone is worn loosely, for example, when the user wears the earphone for a long time and the degree of fitting of earphone and ear is low, the noise reduction effect will be worsened, and the filter parameter needs to be adjusted at this moment to improve the poor problem of noise reduction effect because of the bad good cause of degree of fitting. The adjusting conditions of the filter parameters are pre-stored in the earphone, and whether the adjusting conditions of the filter parameters are met or not is determined according to the environment time domain signal and the ear canal time domain signal. When the condition that the filter parameter adjustment is met is determined, the target noise reduction amount is determined based on the acquired environment time domain signal, the ear canal time domain signal and the preset frequency response function, the target noise reduction amount is the noise reduction amount of the earphone in the current wearing state, and the target noise reduction amount can be obtained through any formula capable of calculating the noise reduction amount.
In step S204, the preset noise reduction configuration information is used to represent a corresponding relationship between the noise reduction threshold and the acoustic leakage compensation gear, and is pre-stored in the memory of the earphone, and the corresponding acoustic leakage compensation gear, that is, the target acoustic leakage compensation gear, is determined according to the noise reduction threshold range to which the target noise reduction belongs. Can set up different sound leakage compensation gear according to the headphone structure of difference, for example sound leakage compensation gear is total 0 shelves ~ X shelves, and different gears correspond different earphones and wear the relaxation degree, from 0 shelves to X shelves, and the wearing relaxation degree of earphone is more and more loose, and the laminating degree of earphone and ear is more and more poor promptly, and initial gear is 0 shelves, and initial gear is the earphone and wears the gear when laminating degree is the highest, and X shelves are the earphone and wear the gear when laminating degree is minimum. Each sound leakage compensation gear corresponds to a noise reduction threshold value, for example, the noise reduction threshold value corresponding to the 0 gear is epsilon0I.e. if the target noise reduction is greater than epsilon0And if so, the corresponding sound leakage compensation gear is the 0 gear. The noise reduction configuration information includes a plurality of noise reduction amount thresholds and an acoustic leakage compensation step corresponding to each noise reduction amount threshold. Because the noise reduction effect of different earphones is different, the corresponding relation between the noise reduction threshold and the sound leakage compensation gear can be set by oneself according to different earphones, so that the noise reduction can be improved through different sound leakage compensations under different wearing relaxities, and the noise reduction effect is improved.
In step S205 and step S206, different sound leakage compensation steps correspond to different filter parameters, and the target filter parameters are determined based on the sound leakage compensation step corresponding to the target noise reduction amount, that is, the target sound leakage step. The filter parameters in the preset noise reduction filter are adjusted to be target filter parameters, the noise reduction filter is a main hardware structure of a noise reduction chip in an earphone structure, the filter in the earphone comprises a feedforward filter and a feedback filter and is used for carrying out noise reduction filtering processing on an input sound wave signal, and the adjusted target filter parameters can improve the noise reduction amount in an acoustic leakage compensation mode and improve the noise reduction effect. Here, the term "increase in noise reduction amount" in this step refers to changing the gain of an active noise signal for canceling an external noise signal, which is output, or changing the filter characteristic of a device for filtering the active noise signal, based on the principle of active noise reduction.
When the filter parameters are adjusted, only the filter parameters of the feedforward filter may be adjusted, or the filter parameters of the feedforward filter and the filter parameters of the feedback filter may be adjusted at the same time. Due to the fact that the feedback noise reduction effect is too strong, abnormal conditions such as howling and equipment cavity resonance can be caused, whether filter parameters of the feedback filter are adjusted or not is determined according to the structure of the earphone, such as the sound cavity structure of the earphone and the performance of components and parts. Meanwhile, when the filter parameters of the feedforward filter and the filter parameters of the feedback filter are adjusted, the noise reduction effect is more obviously changed, and the adjusted noise reduction effect is better.
In the exemplary embodiment of the disclosure, an environment time domain signal and an ear canal time domain signal are obtained, when the environment time domain signal and the ear canal time domain signal satisfy a preset filter parameter adjustment condition, a target noise reduction amount is determined based on the environment time domain signal and the ear canal time domain signal, an acoustic leakage compensation gear corresponding to the target noise reduction amount is determined as a target acoustic leakage compensation gear according to a correspondence between a noise reduction amount threshold and an acoustic leakage compensation gear and the target noise reduction amount, a target filter parameter is determined based on the target acoustic leakage compensation gear, and a filter parameter in a preset noise reduction filter is adjusted as a target filter parameter.
In an exemplary embodiment of the present disclosure, a noise reduction control method is provided, which is applied to earphones including various earphone structures such as an in-ear earphone, a semi-in-ear earphone, and a headset. Fig. 3 is a flowchart illustrating a noise reduction control method according to an exemplary embodiment, as shown in fig. 3, the noise reduction control method including the steps of:
step S301, acquiring an environment time domain signal, wherein the environment time domain signal refers to a sound wave signal in the surrounding environment of the earphone expressed by adopting a time domain expression mode;
step S302, acquiring an ear canal time domain signal, wherein the ear canal time domain signal refers to a sound wave signal in an ear canal expressed by adopting a time domain expression mode;
step S303, determining the total energy of the environmental time domain signal based on the environmental time domain signal, wherein the environmental time domain signal comprises a plurality of frequency points, and the total energy of the environmental time domain signal refers to the sum of the energy of each frequency point in the environmental time domain signal;
step S304, determining the total energy of the ear canal time domain signal based on the ear canal time domain signal, wherein the ear canal time domain signal comprises a plurality of frequency points, and the total energy of the ear canal time domain signal refers to the sum of the energy of each frequency point in the ear canal time domain signal;
step S305, if the ratio of the total energy of the environment time domain signal to the total energy of the ear canal time domain signal is greater than or equal to a preset energy threshold, judging that a preset filter parameter adjusting condition is met;
step S306, if the environment time domain signal and the ear canal time domain signal meet the preset filter parameter adjusting condition, determining a target noise reduction amount based on the environment time domain signal, the ear canal time domain signal and a preset frequency response function;
step S307, according to preset noise reduction configuration information and a target noise reduction amount, determining an acoustic leakage compensation gear corresponding to the target noise reduction amount as a target acoustic leakage compensation gear, wherein the noise reduction configuration information is used for representing the corresponding relation between noise reduction amount thresholds and the acoustic leakage compensation gear, and the noise reduction configuration information comprises a plurality of noise reduction amount thresholds and acoustic leakage compensation gears corresponding to each noise reduction amount threshold;
step S308, determining target filter parameters based on a target sound leakage compensation gear;
step S309, adjusting a filter parameter in a preset noise reduction filter to a target filter parameter, where the noise reduction filter is used to perform noise reduction filtering processing on the input acoustic wave signal.
The contents of step S306 to step S309 are the same as the contents of step S203 to step S206, and the contents of step S301 to step S302 are the same as the contents of step S201 to step S202, which are not described again.
In step S303 and step S304, the total energy of the ambient time domain signal and the total energy of the ear canal time domain signal are determined by the ambient time domain signal and the ear canal time domain signal, respectively, it should be noted that the sequence of step S303 and step S304 is not limited.
After the environment time domain signal and the ear canal time domain signal are obtained, the environment time domain signal can be divided into multi-frame signals by performing frame windowing on the environment time domain signal and the ear canal time domain signal, the ear canal time domain signal is also divided into multi-frame signals, and in subsequent correlation calculation, frame-by-frame calculation is performed by taking each frame as a unit.
For example, the time domain signal (which may be the environment time domain signal or the ear canal time domain signal) has M frames in total, i.e., after the frame windowing process, the time domain signal is divided into M windows. Each frame of signal has N sampling points, that is, when time domain signal sampling is performed, each frame includes N time domain sampling points. The ambient time-domain signal of the feedforward microphone is denoted as sFF(m, n), the ear canal time domain signal of the feedback microphone is denoted as sFB(m, n). Where M is the frame index, i.e. the mth frame signal in the M frames in a segment of time domain signal, M is [0, M ] and represents an integer; n is the index of the sampling point in the single frame signal, i.e. the nth sampling point of the mth frame signal, N belongs to [0, N) and represents an integer. M and N vary depending on signal sampling rate, application platform, etc. In order to prevent blocking effect and facilitate frequency domain calculation, a part of overlapped sampling points exist between frames, namely tail data of a previous frame is the same as head data of a next frame, and the overlapping proportion is recorded as delta, delta is epsilon (0 percent and 100 percent)). Delta may also vary depending on other platform factors such as the signal sampling rate. That is, when performing frame windowing on the environment time domain signal and the ear canal time domain signal, specifically, overlap windowing, there is overlap between adjacent windows, and the overlap ratio is 1/2.
In one example, when the signal sampling rate is 16kHz, let M be 60, N be 512, and δ be 50%. That is, in this example, after performing frame windowing on a segment of acoustic signal with a sampling rate of 16kHz, the segment of acoustic signal is divided into 60 frames in the time domain, each frame includes 512 time-domain sample points, and the coincidence rate of the sample points between adjacent frames is 50%.
Since the frame-by-frame calculation is performed in units of each frame. Each frame of environment time domain signal comprises a plurality of frequency points, namely a plurality of sampling points, and the total energy of each frame of environment time domain signal is the sum of the energy of each frequency point in the environment time domain signal, namely the sum of the energy of each sampling point; each frame of ear canal time domain signal comprises a plurality of frequency points, namely a plurality of sampling points, and the total energy of each frame of ear canal time domain signal is the sum of the energy of each frequency point in the ear canal time domain signal, namely the sum of the energy of each sampling point. And after the total energy of each frame is calculated, the sum of the energies of all the frames is added to obtain the total energy of the environment time domain signal and the total energy of the auditory canal time domain signal. Total energy of the ambient time domain signal, denoted as EFFTotal energy of the ear canal time domain signal, denoted EFBThen:
wherein s isFB(m, n) -ear canal time domain signal;
sFF(m, n) -an ambient time domain signal;
m is the number of frame signals obtained after the time domain signals are subjected to framing and windowing;
n is the number of time domain sampling points contained in each frame signal;
M-M frames, the M-th frame;
N-N time domain samples.
In step S305, the total energy E of the time domain signal is calculated according to the environmentFFTotal energy E of time domain signal of auditory canalFBObtaining an energy ratio, recording the energy ratio as theta, and then:
the preset energy threshold is a threshold of a ratio of the total energy of the environment time domain signal to the total energy of the ear canal time domain signal, and whether a preset filter parameter adjusting condition is met or not is determined according to the preset energy threshold. The total energy of the environment time domain signals and the total energy of the auditory canal time domain signals can reflect the use state of the current earphone, the use state comprises the conditions of touching the earphone, violent movement, overlarge sound volume of a playing sound source and the like, and when the earphone is in the use state, due to the fact that the earphone is worn unstably, the parameters of the filter are also unstable, and at the moment, the parameters of the filter do not need to be adjusted. The correlation degree of the total energy of the auditory canal time domain signal and the use state is larger than that of the total energy of the environment time domain signal and the use state, when the use state is unstable, the rising amplitude of the total energy of the auditory canal time domain signal is larger than that of the total energy of the environment time domain signal, and the energy ratio is smaller at the moment. Therefore, when the energy ratio is greater than or equal to the preset energy threshold, the preset filter parameter adjustment condition is determined to be met; and when the energy ratio is smaller than the preset energy threshold value, the using state is an unstable state, and the condition that the preset filter parameter adjustment condition is not met is judged.
For example, the preset energy threshold is recorded as θ0When theta is not less than theta0Then, meeting the preset filter parameter adjusting condition; when theta is measured<θ0And when the filter is in the normal state, the preset filter parameter adjusting condition is not met. In one example, the preset energy threshold θ 01/3, the value of the preset energy threshold can be adjusted according to the actual situation and the earphone device to which the method in this embodiment is applied. And, a predetermined energy thresholdThe value can be determined by adopting a plurality of tests before the earphone leaves a factory, and can also be determined according to an empirical value and stored in the earphone.
In the exemplary embodiment of the disclosure, when the energy ratio of the total energy of the environment time domain signal to the total energy of the ear canal time domain signal and the preset energy threshold are determined to meet the preset filter parameter adjustment condition, the filter parameter is adjusted, so that the use state of the earphone at the moment can be ensured to be a stable state, frequent adjustment of the filter parameter caused by unstable use state is avoided, and poor listening experience is brought to a user.
In an exemplary embodiment of the present disclosure, a noise reduction control method is provided, which is applied to earphones including various earphone structures such as an in-ear earphone, a semi-in-ear earphone, and a headset. Fig. 4 is a flowchart illustrating a noise reduction control method according to an exemplary embodiment, as shown in fig. 4, the noise reduction control method including the steps of:
step S401, obtaining an environment time domain signal, wherein the environment time domain signal refers to a sound wave signal in the surrounding environment of the earphone expressed by adopting a time domain expression mode;
step S402, acquiring an ear canal time domain signal, wherein the ear canal time domain signal refers to a sound wave signal in an ear canal expressed by adopting a time domain expression mode;
step S403, if the environment time domain signal and the ear canal time domain signal meet preset filter parameter adjustment conditions, performing Fourier transform on the environment time domain signal and the ear canal time domain signal respectively to obtain an environment frequency domain signal and an ear canal frequency domain signal, wherein the environment frequency domain signal refers to a sound wave signal in the surrounding environment of the earphone represented by a frequency domain representation mode, and the ear canal frequency domain signal refers to a sound wave signal in the ear canal represented by a frequency domain representation mode;
step S404, acquiring cross frequency response based on the environment frequency domain signal, the ear canal frequency domain signal and a preset frequency response function, wherein the cross frequency response is related to the frequency point;
step S405, obtaining reference noise reduction quantity according to the cross frequency response;
step S406, obtaining an average noise reduction amount of a target frequency band according to a reference noise reduction amount, and determining the average noise reduction amount as the target noise reduction amount, wherein the average noise reduction amount refers to an average value of energy of each frequency point in the target frequency band;
step S407, determining an acoustic leakage compensation gear corresponding to a target noise reduction amount as a target acoustic leakage compensation gear according to preset noise reduction configuration information and the target noise reduction amount, wherein the noise reduction configuration information is used for representing a corresponding relation between a noise reduction amount threshold and the acoustic leakage compensation gear, and the noise reduction configuration information includes a plurality of noise reduction amount thresholds and acoustic leakage compensation gears corresponding to each noise reduction amount threshold;
step S408, determining target filter parameters based on the target sound leakage compensation gear;
step S409, adjusting a filter parameter in a preset noise reduction filter to a target filter parameter, where the noise reduction filter is used to perform noise reduction filtering processing on the input acoustic wave signal.
The contents of step S401 to step S402 are the same as the contents of step S201 to step S202, and the contents of step S407 to step S409 are the same as the contents of step S204 to step S206, which are not described herein again.
In step S403, when the environment time domain signal and the ear canal time domain signal satisfy the preset filter parameter adjustment condition, fourier transform is performed on the environment time domain signal and the ear canal time domain signal, and for convenience of calculation, fast fourier transform, that is, discrete fourier transform may be used to obtain the environment frequency domain signal and the ear canal frequency domain signal. The ambient frequency domain signal refers to the acoustic signal in the environment around the earpiece represented in a frequency domain representation, and the ear canal frequency domain signal refers to the acoustic signal within the ear canal represented in a frequency domain representation. Before performing the fast fourier transform, to reduce the leakage error, window functions are respectively superimposed on the ambient time domain signal and the ear canal time domain signal, and the window functions may be selected according to actual requirements, for example, using Blackman-Harris (Blackman-Harris) windows.
The ambient time domain signal is denoted as sFF(m, n) ear canal time domain signal sFB(m, n), windowThe function is denoted as w (n), and the environment frequency domain signal is denoted as SFF(m, k) ear canal frequency domain signal is denoted SFB(m, k), then:
wherein,for the discrete fourier transform operation, k is a scale of fourier transform, that is, a frequency spectrum of k frequency points is generated after the fourier transform is performed, and a value of k may be set according to an actual requirement, for example, when each frame of time domain signal includes N signal sampling points, k is equal to N. S. theFF(m, k) and SFB(m, k) represents a frequency domain signal of a k-th frequency bin in the m-th frame. Of course, it can be understood that the scale k of the fourier transform can be adjusted according to the requirement, and when the value of k is larger, the number of frequency points in the frequency spectrum after the fourier transform is larger, and the analysis on the frequency domain of the sound signal is more accurate.
In step S404, a cross frequency response is obtained based on the environment frequency domain signal, the ear canal frequency domain signal and a preset frequency response function, and the cross frequency response is related to the frequency point.
Three cross frequency responses of the kth frequency point are respectively marked as H0(k)、H1(k) And H2(k) And then:
wherein,the expression is to solve the real part of the complex number,expressing the imaginary part of the complex number;
sFB(m, n) -ear canal time domain signal; sFF(m, k) -ambient frequency domain signal; s. theFB(m, k) -ear canal frequency domain signal;
m is the number of frame signals obtained after the time domain signals are subjected to framing and windowing;
M-M frames;
k is the k frequency point in the m frame;
N-N time domain samples.
In step S405, a reference noise reduction amount is obtained according to the cross frequency response, and the reference noise reduction amount of the k-th frequency point is denoted as h (k), then:
where H (k) is in dB.
In step S406, an average noise reduction amount of the target frequency band is obtained according to the reference noise reduction amount, and the average noise reduction amount is determined as the target noise reduction amount. The average noise reduction amount refers to an average value of energy of each frequency point in a target frequency band, and the target frequency band is a maximum noise reduction depth frequency band of the audio equipment, and is, for example, between 50 and 300 Hz. And if the target noise reduction amount in the frequency band is marked as epsilon, then:
wherein epsilon has a unit of dB, k0、k1Closest to 50Hz and 300Hz in the frequency spectrum of k frequency pointsAnd the frequency points can be finely adjusted according to actual requirements, and the average value of the noise reduction amount of all the frequency points in the target frequency band is the target noise reduction amount. For example, when the spectrum obtained after Fourier transform includes 50Hz and 300Hz spectral lines, k is0Is 50Hz, k1Is 100 Hz. For another example, when the spectrum obtained after fourier transform does not include 50Hz and 300Hz lines, and includes 49Hz, 52Hz, 280Hz, 298Hz, 306Hz lines, k is0Is 49Hz, k1Is 298 Hz. When the time domain signal is subjected to discrete Fourier transform and converted into the frequency domain signal, the total number of frequency points in a frequency spectrum is different due to different used transform scales, the physical frequency corresponding to each frequency point is also different, and k is in the actual implementation process0、k1And the noise reduction quantity evaluation frequency band (namely the target frequency band) can be finely adjusted according to the earphone condition
In an exemplary embodiment of the present disclosure, a noise reduction control method is provided, which is applied to earphones including various earphone structures such as an in-ear earphone, a semi-in-ear earphone, and a headset. Fig. 5 is a flowchart illustrating a noise reduction control method according to an exemplary embodiment, as shown in fig. 5, the noise reduction control method including the steps of:
step S501, obtaining an environment time domain signal, wherein the environment time domain signal refers to a sound wave signal in the surrounding environment of the earphone expressed by adopting a time domain expression mode;
step S502, obtaining an ear canal time domain signal, wherein the ear canal time domain signal refers to a sound wave signal in an ear canal expressed by adopting a time domain expression mode;
step S503, if the environment time domain signal and the ear canal time domain signal meet the preset filter parameter adjustment condition, determining a target noise reduction amount based on the environment time domain signal, the ear canal time domain signal and a preset frequency response function;
step S504, a preset noise reduction threshold value set is obtained, the preset noise reduction threshold value set comprises a plurality of noise parameter values which are arranged from small to large, the plurality of noise parameter values form a plurality of noise reduction threshold values, and the noise reduction threshold values correspond to the sound leakage compensation gears;
step S505, determining a noise reduction threshold value to which the target noise reduction belongs according to the target noise reduction and a preset noise reduction threshold value set;
step S506, according to the noise reduction threshold value to which the target noise reduction belongs, determining the acoustic leakage compensation gear corresponding to the noise reduction threshold value to which the target noise reduction belongs as a target acoustic leakage compensation gear;
step S507, determining a target filter parameter based on the target acoustic leakage compensation gear;
step S508, adjusting filter parameters in a preset noise reduction filter to target filter parameters, where the noise reduction filter is used to perform noise reduction filtering processing on the input acoustic wave signal.
The contents of step S501 to step S503 are the same as those of step S201 to step S203, and the contents of step S507 to step S508 are the same as those of step S205 to step S206, and are not described again here.
In step S504, a plurality of noise reduction threshold value sets are obtained according to the noise reduction effect of the earphone, and the noise reduction threshold value sets are different for different earphone devices. And presetting a plurality of noise reduction threshold sets in the earphone, wherein the preset noise reduction threshold sets comprise a plurality of noise parameter values which are arranged from small to large, the plurality of noise parameter values form a plurality of noise reduction threshold values, and the noise reduction threshold values correspond to the sound leakage compensation gears.
For example, the set of noise reduction thresholds is denoted as ε-X+1,…,ε-2,ε-1,ε0,ε1,ε2,…,εX},X represents the number of gear positions, epsilon, of the acoustic leakage compensation gear positions1,ε2,…,εXIndicating the need to lower the corresponding gear, ∈-X+1,…,ε-2,ε-1The gear needs to be lifted, the gear and the number of the gears are determined according to the wearing state of the earphone, the gear can be set according to actual requirements, and the wearing condition from the 0 th gear to the X-th gear is from tight to loose. The set of noise reduction thresholds is pre-stored in the headset, obtained by an established acoustic model, and implementedIn the process, the noise reduction threshold value set can be adjusted according to different application scenes of the earphone.
In step S505 and step S506, a noise reduction threshold to which the target noise reduction amount belongs is determined according to the target noise reduction amount and a preset noise reduction threshold set, and an acoustic leakage compensation gear corresponding to the target noise reduction amount is obtained according to the noise reduction threshold to which the target noise reduction amount belongs.
For example, the target noise reduction is noted as ε, when ε<ε0When the vehicle is in a loose wearing state, the noise reduction amount is low, and the gear needs to be lifted; when epsilon-1≤ε<ε0If so, the first gear is lifted; when epsilon-2≤ε<ε-1When the gear is changed, the two gears are lifted; by analogy, when epsilon<ε-X+1And if so, the X gear is lifted. And if the sum of the gear number needing to be lifted and the current gear number is greater than the maximum gear number X, directly lifting to the X-th gear. For example, the maximum number of shifts is 8, the current number of shifts is 4, the number of shifts to be lifted is 5, and if the maximum number of shifts exceeds 8, the shift is directly lifted to the maximum number of shifts 8. When epsilon>ε1In time, the noise reduction amount is over high, and the gear needs to be reduced in order to reduce the ear pressure and keep the hearing comfort; when epsilon1≤ε<ε2If so, the first gear is reduced; when epsilon2≤ε<ε3If so, the two gears are reduced; by analogy, when epsilon>εXIf yes, the X gear is lowered. If the difference between the current gear number and the gear number needing to be reduced is less than zero, the gear is directly reduced to the 0 th gear.
In an exemplary embodiment of the present disclosure, a noise reduction control method is provided, which is applied to earphones including various earphone structures such as an in-ear earphone, a semi-in-ear earphone, and a headset. Fig. 6 is a flowchart illustrating a noise reduction control method according to an exemplary embodiment, as shown in fig. 6, the noise reduction control method including the steps of:
step S601, obtaining an environment time domain signal, wherein the environment time domain signal refers to a sound wave signal in the surrounding environment of the earphone expressed by adopting a time domain expression mode;
step S602, acquiring an ear canal time domain signal, wherein the ear canal time domain signal refers to a sound wave signal in an ear canal expressed by adopting a time domain expression mode;
step S603, if the environment time domain signal and the ear canal time domain signal meet a preset filter parameter adjusting condition, determining a target noise reduction amount based on the environment time domain signal, the ear canal time domain signal and a preset frequency response function;
step S604, determining an acoustic leakage compensation gear corresponding to a target noise reduction amount as a target acoustic leakage compensation gear according to preset noise reduction configuration information and the target noise reduction amount, wherein the noise reduction configuration information is used for representing the corresponding relation between noise reduction amount thresholds and the acoustic leakage compensation gear, and the noise reduction configuration information comprises a plurality of noise reduction amount thresholds and acoustic leakage compensation gears corresponding to each noise reduction amount threshold;
step S605, obtaining chip configuration information, wherein the chip configuration information is used for representing whether a filter coefficient stored in a chip supports updating;
if the filter coefficient stored in the chip supports updating, executing step S606; if the filter system stored in the chip does not support updating, step S607 is executed.
Step S606, determining a target filter coefficient based on a target sound leakage compensation gear, and adjusting a filter coefficient in a preset noise reduction filter to be the target filter coefficient;
and step S607, determining a target filter gain based on the target sound leakage compensation gear, and adjusting the filter gain in the preset noise reduction filter to the target filter gain. The contents of step S601 to step S604 are the same as those of step S201 to step S204, and are not described herein again.
In step S605, after the acoustic leakage compensation step is determined, chip configuration information is acquired, and the chip configuration information is used to indicate whether the filter coefficients stored in the chip support updating. Different active noise reduction chips used by different earphones are different, different chips are different in support state for updating the filter coefficient, and whether the chips used by the earphones support updating of the filter coefficient is determined by obtaining chip configuration information.
In steps S606 and S607, when the chip supports filter coefficient updating, a target filter coefficient is determined based on a target acoustic leakage compensation gear, and a filter coefficient in a preset noise reduction filter is adjusted to the target filter coefficient; when the filter system stored in the chip does not support updating, the gain of the target filter is determined based on the target sound leakage compensation gear, and the filter gain in the preset noise reduction filter is adjusted to be the target filter gain. Since updating the filter coefficients also serves to change the filter gain, while also changing the filter phase, it is determined whether to update the filter coefficients or the filter gain, depending on whether the chip supports updating the filter coefficients.
When the filter parameters are adjusted, only the filter parameters in the feedforward filter can be updated; the filter parameters in the feedforward filter and the filter parameters in the feedback filter may also be updated simultaneously.
When the chip supports updating the filter coefficient and only updates the filter parameter in the feedforward filter, it is recorded as When the chip supports updating the filter coefficients and simultaneously updates the filter parameters in the feedforward filter and the filter parameters in the feedback filter, it is noted asWhen the chip does not support updating the filter coefficients and only updates the filter parameters in the feedforward filter, it is recorded asWhen the chip does not support updating the filter coefficients and updates the filter parameters in the feedforward filter and the feedback filter simultaneously, it is noted asWhere c represents the filter coefficient, g represents the filter gain, X represents the current gear, and X represents the maximum gear.
In an exemplary embodiment of the present disclosure, a noise reduction control method is provided, which is applied to earphones including various earphone structures such as an in-ear earphone, a semi-in-ear earphone, and a headset. Fig. 7 is a flowchart illustrating a noise reduction control method according to an exemplary embodiment, as shown in fig. 7, the noise reduction control method including the steps of:
step S701, acquiring an environment time domain signal, wherein the environment time domain signal refers to a sound wave signal in the surrounding environment of the earphone expressed by adopting a time domain expression mode;
step S702, acquiring an ear canal time domain signal, wherein the ear canal time domain signal refers to a sound wave signal in an ear canal expressed by adopting a time domain expression mode;
step S703, determining the total energy of the environmental time domain signal based on the environmental time domain signal, wherein the environmental time domain signal comprises a plurality of frequency points, and the total energy of the environmental time domain signal refers to the sum of the energy of each frequency point in the environmental time domain signal;
step S704, determining the total energy of the ear canal time domain signal based on the ear canal time domain signal, wherein the ear canal time domain signal comprises a plurality of frequency points, and the total energy of the ear canal time domain signal refers to the sum of the energy of each frequency point in the ear canal time domain signal;
step S705, judging whether a preset filter parameter adjusting condition is met;
if the ratio of the total energy of the environmental time domain signal to the total energy of the ear canal time domain signal is greater than or equal to a preset energy threshold value, determining that a preset filter parameter adjustment condition is met, and executing step S706; when it is determined that the preset filter parameter adjustment condition is not satisfied, the flow is ended.
Step S706, performing Fourier transform on the environment time domain signal and the ear canal time domain signal respectively to obtain an environment frequency domain signal and an ear canal frequency domain signal, wherein the environment frequency domain signal refers to a sound wave signal in the surrounding environment of the earphone represented by a frequency domain representation mode, and the ear canal frequency domain signal refers to a sound wave signal in the ear canal represented by the frequency domain representation mode;
step S707, acquiring a cross frequency response based on the environment frequency domain signal, the ear canal frequency domain signal and a preset frequency response function, wherein the cross frequency response is related to the frequency point;
step S708, obtaining a reference noise reduction amount according to the cross frequency response;
step S709, according to the reference noise reduction amount, obtaining an average noise reduction amount of a target frequency band, and determining the average noise reduction amount as the target noise reduction amount, wherein the average noise reduction amount refers to an average value of energy of each frequency point in the target frequency band;
step S710, acquiring a preset noise reduction threshold value set, wherein the preset noise reduction threshold value set comprises a plurality of noise parameter values which are arranged from small to large, the plurality of noise parameter values form a plurality of noise reduction threshold values, and the noise reduction threshold values correspond to the sound leakage compensation gears;
step 711, determining a noise reduction threshold value to which the target noise reduction belongs according to the target noise reduction and a preset noise reduction threshold value set;
step S5712, determining an acoustic leakage compensation gear corresponding to a noise reduction threshold to which a target noise reduction belongs as a target acoustic leakage compensation gear according to the noise reduction threshold to which the target noise reduction belongs;
step S6713, obtaining chip configuration information, wherein the chip configuration information is used for representing whether the filter coefficient stored in the chip supports updating;
if the filter coefficient stored in the chip supports updating, go to step S714; if the filter system stored in the chip does not support updating, step S715 is performed.
Step S714, based on the target sound leakage compensation gear, determining a target filter coefficient, and adjusting the filter coefficient in a preset noise reduction filter to the target filter coefficient;
step S715, determining a target filter gain based on the target sound leakage compensation gear, and adjusting a filter gain in a preset noise reduction filter to the target filter gain. Wherein, the filter parameters in the preset noise reduction filter include: filter parameters in a feedforward filter; or filter parameters in a feedforward filter and filter parameters in a feedback filter.
In order to adapt the headphone timing to the wearing state of the user, the noise reduction control method is repeatedly executed at predetermined time intervals, for example, at time intervals of 30s to 120 s.
In the exemplary embodiment of the disclosure, an environment time domain signal and an ear canal time domain signal are obtained, whether the current state is in a stable use state is determined according to an ear canal time domain signal ratio of an environment time domain signal total energy and an ear canal time domain signal total energy of the environment time domain signal, so as to determine that a preset filter parameter adjustment condition is met, a target noise reduction amount is determined based on the environment time domain signal and the ear canal time domain signal, a sound leakage compensation gear corresponding to the target noise reduction amount is obtained according to a correspondence between a noise reduction amount threshold and a sound leakage compensation gear and the target noise reduction amount, a target sound leakage compensation gear is obtained, a target filter parameter is determined based on the target sound leakage compensation gear, a filter parameter in a preset noise reduction filter is adjusted to be a target filter parameter, when the wearing of the earphone is loose, the filter parameter in the preset filter is adjusted in time to perform sound leakage compensation, in order to improve the noise reduction, guarantee good noise reduction effect, promote user experience.
In an exemplary embodiment of the present disclosure, a noise reduction control apparatus is provided, which is applied to a headset. Fig. 8 is a block diagram illustrating a noise reduction control apparatus according to an exemplary embodiment, as shown in fig. 8, the noise reduction control apparatus including:
a first obtaining module 801 configured to obtain an ambient time domain signal, where the ambient time domain signal refers to a sound wave signal in an environment around a headset represented by a time domain representation;
a second obtaining module 802, configured to obtain an ear canal time domain signal, where the ear canal time domain signal refers to a sound wave signal in an ear canal represented by a time domain representation;
a first determining module 803, configured to determine a target noise reduction amount based on the environment time domain signal and the ear canal time domain signal and a preset frequency response function if the environment time domain signal and the ear canal time domain signal satisfy a preset filter parameter adjustment condition;
a second determining module 804, configured to determine, according to preset noise reduction configuration information and the target noise reduction amount, an acoustic leakage compensation gear corresponding to the target noise reduction amount as a target acoustic leakage compensation gear, where the noise reduction configuration information is used to represent a correspondence between a noise reduction amount threshold and an acoustic leakage compensation gear, and the noise reduction configuration information includes a plurality of noise reduction amount thresholds and an acoustic leakage compensation gear corresponding to each of the noise reduction amount thresholds;
a third determination module 805 configured to determine a target filter parameter based on the target acoustic leakage compensation gear;
an adjusting module 806, configured to adjust a filter parameter in a preset noise reduction filter to the target filter parameter, where the noise reduction filter is used to perform noise reduction filtering processing on the input acoustic wave signal.
In an exemplary embodiment, the first determining module 803 is further configured to:
determining the total energy of the environmental time domain signal based on the environmental time domain signal, wherein the environmental time domain signal comprises a plurality of frequency points, and the total energy of the environmental time domain signal refers to the sum of the energy of each frequency point in the environmental time domain signal;
determining the total energy of the ear canal time domain signal based on the ear canal time domain signal, wherein the ear canal time domain signal comprises a plurality of frequency points, and the total energy of the ear canal time domain signal refers to the sum of the energy of each frequency point in the ear canal time domain signal;
and if the ratio of the total energy of the environment time domain signal to the total energy of the auditory canal time domain signal is greater than or equal to a preset energy threshold value, judging that a preset filter parameter adjusting condition is met.
In an exemplary embodiment, the first determining module 803 is further configured to:
performing fourier transform on the environment time domain signal and the ear canal time domain signal respectively to obtain an environment frequency domain signal and an ear canal frequency domain signal, wherein the environment frequency domain signal refers to a sound wave signal in the surrounding environment of the earphone represented by a frequency domain representation mode, and the ear canal frequency domain signal refers to a sound wave signal in the ear canal represented by a frequency domain representation mode;
obtaining a cross frequency response based on the environment frequency domain signal, the ear canal frequency domain signal and a preset frequency response function, wherein the cross frequency response is related to a frequency point;
obtaining a reference noise reduction quantity according to the cross frequency response;
and obtaining an average noise reduction amount of a target frequency band according to the reference noise reduction amount, and determining the average noise reduction amount as the target noise reduction amount, wherein the average noise reduction amount refers to an average value of energy of each frequency point in the target frequency band.
In an exemplary embodiment, the second determining module 804 is further configured to:
acquiring a preset noise reduction threshold value set, wherein the preset noise reduction threshold value set comprises a plurality of noise parameter values which are arranged from small to large, the plurality of noise parameter values form a plurality of noise reduction threshold values, and the noise reduction threshold values correspond to the sound leakage compensation gears;
determining a noise reduction threshold value to which the target noise reduction belongs according to the target noise reduction and the preset noise reduction threshold value set;
and determining an acoustic leakage compensation gear corresponding to the noise reduction threshold value to which the target noise reduction belongs as a target acoustic leakage compensation gear according to the noise reduction threshold value to which the target noise reduction belongs.
In an exemplary embodiment, the third determining module 805 is further configured to:
acquiring chip configuration information, wherein the chip configuration information is used for representing whether a filter coefficient stored in a chip supports updating;
if the filter coefficient stored in the chip supports updating, determining a target filter coefficient based on the target sound leakage compensation gear, and adjusting the filter coefficient in a preset noise reduction filter to the target filter coefficient;
and if the filter system stored in the chip does not support updating, determining a target filter gain based on the target sound leakage compensation gear, and adjusting the filter gain in a preset noise reduction filter to the target filter gain.
In an exemplary embodiment, the filter parameters in the predetermined noise reduction filter include:
filter parameters in a feedforward filter; or,
filter parameters in a feedforward filter and filter parameters in a feedback filter.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
The present disclosure further provides a noise reduction earphone, in which the noise reduction control device is disposed on the noise reduction earphone to implement the noise reduction control method in the above embodiment. Fig. 9 is a block diagram illustrating a noise reducing headphone 900 according to an exemplary embodiment.
Referring to fig. 9, the noise reducing headset 900 may include one or more of the following components: processing component 902, memory 904, power component 906, multimedia component 908, audio component 910, input/output (I/O) interface 912, sensor component 914, and communication component 916.
The processing component 902 generally controls the overall operation of the noise reducing headset 900, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. Processing component 902 may include one or more processors 920 to execute instructions to perform all or a portion of the steps of the methods described above. Further, processing component 902 can include one or more modules that facilitate interaction between processing component 902 and other components. For example, the processing component 902 can include a multimedia module to facilitate interaction between the multimedia component 908 and the processing component 902.
The memory 904 is configured to store various types of data to support operation at the noise reducing headset 900. Examples of such data include instructions for any application or method operating on the noise reducing headset 900, contact data, phonebook data, messages, pictures, videos, and the like. The memory 904 may be implemented by any type or combination of volatile and non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
A power supply component 906 provides power to the various components of the noise reduction headset 900. The power components 906 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the noise reducing headset 900.
The multimedia component 908 includes a screen that provides an output interface between the noise reducing headset 900 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 908 includes a front facing camera and/or a rear facing camera. When the noise reduction headphone 900 is in an operating mode, such as a shooting mode or a video mode, the front camera and/or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 910 is configured to output and/or input audio signals. For example, the audio component 910 includes a Microphone (MIC) configured to receive an external audio signal when the noise reducing headset 900 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 904 or transmitted via the communication component 916. In some embodiments, audio component 910 further includes a speaker for outputting audio signals.
The I/O interface 912 provides an interface between the processing component 902 and a peripheral interface module, which may be a keyboard, click wheel, button, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor component 914 includes one or more sensors for providing various aspects of state evaluation for the noise reduction headset 900. For example, sensor assembly 914 may detect the open/closed state of noise reducing headset 900, the relative positioning of the components, such as the display and keypad of noise reducing headset 900, the change in position of noise reducing headset 900 or a component of noise reducing headset 900, the presence or absence of user contact with noise reducing headset 900, the orientation or acceleration/deceleration of noise reducing headset 900, and the change in temperature of noise reducing headset 900. The sensor assembly 914 may include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact. The sensor assembly 914 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 914 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 916 is configured to facilitate wired or wireless communication between the noise reducing headset 900 and other devices. The noise reduction headset 900 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 916 receives a broadcast signal or broadcast associated information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 916 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the noise reducing headset 900 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors, or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as the memory 904 comprising instructions, executable by the processor 920 of the noise reducing headset 900 to perform the above method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer readable storage medium having computer program instructions stored thereon, wherein the computer program instructions, when called by a processor, perform the method of any of the above embodiments.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It will be understood that the invention is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.
Claims (9)
1. A noise reduction control method is applied to earphones, and the method comprises the following steps:
acquiring an environment time domain signal, wherein the environment time domain signal refers to a sound wave signal in the surrounding environment of the earphone expressed by adopting a time domain expression mode;
acquiring an ear canal time domain signal, wherein the ear canal time domain signal refers to a sound wave signal in an ear canal expressed by adopting a time domain expression mode;
if the environment time domain signal and the ear canal time domain signal meet a preset filter parameter adjusting condition, determining a target noise reduction amount based on the environment time domain signal, the ear canal time domain signal and a preset frequency response function;
determining an acoustic leakage compensation gear corresponding to the target noise reduction amount as a target acoustic leakage compensation gear according to preset noise reduction configuration information and the target noise reduction amount, wherein the noise reduction configuration information is used for representing the corresponding relation between noise reduction amount thresholds and acoustic leakage compensation gears, and the noise reduction configuration information comprises a plurality of noise reduction amount thresholds and acoustic leakage compensation gears corresponding to each noise reduction amount threshold;
determining a target filter parameter based on the target acoustic leakage compensation gear;
and adjusting filter parameters in a preset noise reduction filter to the target filter parameters, wherein the noise reduction filter is used for carrying out noise reduction filtering processing on the input sound wave signals.
2. The noise reduction control method according to claim 1, characterized by further comprising: judging whether the environment time domain signal and the ear canal time domain signal meet preset filter parameter adjustment conditions by adopting the following method:
determining the total energy of the environmental time domain signal based on the environmental time domain signal, wherein the environmental time domain signal comprises a plurality of frequency points, and the total energy of the environmental time domain signal refers to the sum of the energy of each frequency point in the environmental time domain signal;
determining the total energy of the ear canal time domain signal based on the ear canal time domain signal, wherein the ear canal time domain signal comprises a plurality of frequency points, and the total energy of the ear canal time domain signal refers to the sum of the energy of each frequency point in the ear canal time domain signal;
and if the ratio of the total energy of the environment time domain signal to the total energy of the ear canal time domain signal is greater than or equal to a preset energy threshold value, judging that a preset filter parameter adjusting condition is met.
3. The method of claim 1, wherein the determining a target noise reduction amount based on the ambient time domain signal and the ear canal time domain signal and a preset frequency response function comprises:
performing Fourier transform on the environment time domain signal and the ear canal time domain signal respectively to obtain an environment frequency domain signal and an ear canal frequency domain signal, wherein the environment frequency domain signal refers to a sound wave signal in the surrounding environment of the earphone represented by a frequency domain representation mode, and the ear canal frequency domain signal refers to a sound wave signal in the ear canal represented by a frequency domain representation mode;
obtaining a cross frequency response based on the environment frequency domain signal, the ear canal frequency domain signal and a preset frequency response function, wherein the cross frequency response is related to a frequency point;
obtaining a reference noise reduction quantity according to the cross frequency response;
and obtaining an average noise reduction amount of a target frequency band according to the reference noise reduction amount, and determining the average noise reduction amount as the target noise reduction amount, wherein the average noise reduction amount refers to an average value of energy of each frequency point in the target frequency band.
4. The noise reduction control method according to claim 1, wherein the determining, as a target acoustic leakage compensation step, an acoustic leakage compensation step corresponding to the target noise reduction amount according to preset noise reduction configuration information and the target noise reduction amount includes:
acquiring a preset noise reduction threshold value set, wherein the preset noise reduction threshold value set comprises a plurality of noise parameter values which are arranged from small to large, the plurality of noise parameter values form a plurality of noise reduction threshold values, and the noise reduction threshold values correspond to the sound leakage compensation gears;
determining a noise reduction threshold value to which the target noise reduction belongs according to the target noise reduction and the preset noise reduction threshold value set;
and determining an acoustic leakage compensation gear corresponding to the noise reduction threshold value to which the target noise reduction belongs as a target acoustic leakage compensation gear according to the noise reduction threshold value to which the target noise reduction belongs.
5. The noise reduction control method according to claim 1, wherein the determining a target filter parameter based on the target sound leakage compensation step, and adjusting a filter parameter in a preset noise reduction filter to the target filter parameter comprises:
acquiring chip configuration information, wherein the chip configuration information is used for representing whether a filter coefficient stored in a chip supports updating;
if the filter coefficient stored in the chip supports updating, determining a target filter coefficient based on the target sound leakage compensation gear, and adjusting the filter coefficient in a preset noise reduction filter to the target filter coefficient;
and if the filter system stored in the chip does not support updating, determining a target filter gain based on the target sound leakage compensation gear, and adjusting the filter gain in a preset noise reduction filter to the target filter gain.
6. The noise reduction control method according to claim 5, wherein the filter parameters in the preset noise reduction filter include:
filter parameters in a feedforward filter; or,
filter parameters in a feedforward filter and filter parameters in a feedback filter.
7. A noise reduction control apparatus, applied to a headphone, comprising:
the system comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is configured to acquire an environment time domain signal, wherein the environment time domain signal refers to a sound wave signal in the surrounding environment of the earphone represented by a time domain representation mode;
the second acquisition module is configured to acquire an ear canal time domain signal, wherein the ear canal time domain signal refers to a sound wave signal in an ear canal expressed by a time domain expression mode;
a first determining module, configured to determine a target noise reduction amount based on the environment time domain signal, the ear canal time domain signal and a preset frequency response function if the environment time domain signal and the ear canal time domain signal satisfy a preset filter parameter adjustment condition;
a second determining module, configured to determine, according to preset noise reduction configuration information and the target noise reduction amount, an acoustic leakage compensation gear corresponding to the target noise reduction amount as a target acoustic leakage compensation gear, where the noise reduction configuration information is used to represent a correspondence between a noise reduction amount threshold and an acoustic leakage compensation gear, and the noise reduction configuration information includes a plurality of noise reduction amount thresholds and an acoustic leakage compensation gear corresponding to each of the noise reduction amount thresholds;
a third determination module configured to determine a target filter parameter based on the target acoustic leakage compensation gear;
and the adjusting module is configured to adjust filter parameters in a preset noise reduction filter to the target filter parameters, wherein the noise reduction filter is used for performing noise reduction filtering processing on the input sound wave signal.
8. A noise reducing headphone comprising a housing and a feedforward microphone, a feedback microphone, a speaker and a controller disposed on the housing:
the feedforward microphone is used for collecting sound wave signals in the surrounding environment of the earphone;
the feedback microphone is used for collecting sound wave signals in the auditory canal;
the loudspeaker is used for playing sound wave signals;
the controller is communicatively coupled to the feedforward microphone, the feedback microphone, and the speaker, respectively, the controller including a processor and a memory, the memory storing computer program instructions executable by the processor, the processor configured to invoke the computer program instructions to perform the method of any of claims 1-6.
9. A non-transitory computer-readable storage medium having stored thereon computer program instructions that, when invoked by a processor, perform the method of any one of claims 1-6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210509398.6A CN114786085A (en) | 2022-05-11 | 2022-05-11 | Noise reduction control method and device, noise reduction earphone and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210509398.6A CN114786085A (en) | 2022-05-11 | 2022-05-11 | Noise reduction control method and device, noise reduction earphone and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114786085A true CN114786085A (en) | 2022-07-22 |
Family
ID=82437295
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210509398.6A Pending CN114786085A (en) | 2022-05-11 | 2022-05-11 | Noise reduction control method and device, noise reduction earphone and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114786085A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2024104212A1 (en) * | 2022-11-18 | 2024-05-23 | 歌尔科技有限公司 | Noise reduction method, apparatus and device, and computer readable storage medium |
-
2022
- 2022-05-11 CN CN202210509398.6A patent/CN114786085A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2024104212A1 (en) * | 2022-11-18 | 2024-05-23 | 歌尔科技有限公司 | Noise reduction method, apparatus and device, and computer readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR102512311B1 (en) | Earbud speech estimation | |
CN113676803B (en) | Active noise reduction method and device | |
US11026041B2 (en) | Compensation of own voice occlusion | |
US11605395B2 (en) | Method and device for spectral expansion of an audio signal | |
CN110970046B (en) | Audio data processing method and device, electronic equipment and storage medium | |
CN114071308B (en) | Headset self-adaptive tuning method and device, headset and readable storage medium | |
US20230386499A1 (en) | Method and device for spectral expansion for an audio signal | |
CN114974199A (en) | Noise reduction method and device, noise reduction earphone and medium | |
CN114666702A (en) | Earphone control method and device, noise reduction earphone and storage medium | |
CN114040285B (en) | Method and device for generating feedforward filter parameters of earphone, earphone and storage medium | |
CN114630239A (en) | Method, device and storage medium for reducing earphone blocking effect | |
CN114598970A (en) | Audio processing method and device, electronic equipment and storage medium | |
CN114786085A (en) | Noise reduction control method and device, noise reduction earphone and storage medium | |
CN108810787B (en) | Foreign matter detection method and device based on audio equipment and terminal | |
CN115884030A (en) | Noise reduction method and device, earphone equipment, storage medium and chip | |
CN112863537A (en) | Audio signal processing method and device and storage medium | |
CN114040309B (en) | Wind noise detection method and device, electronic equipment and storage medium | |
CN115714948A (en) | Audio signal processing method and device and storage medium | |
US11671767B2 (en) | Hearing aid comprising a feedback control system | |
CN115550791A (en) | Audio processing method, device, earphone and storage medium | |
CN114040284B (en) | Noise processing method, noise processing device, terminal and storage medium | |
CN115412632A (en) | Audio data processing method, device, terminal and storage medium | |
CN115410547B (en) | Audio processing method, device, electronic equipment and storage medium | |
CN114390406A (en) | Method and device for controlling displacement of loudspeaker diaphragm | |
US20240071350A1 (en) | A method for automatically designing a feedforward filter |
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 |