WO2021227696A1 - 一种主动降噪方法及装置 - Google Patents
一种主动降噪方法及装置 Download PDFInfo
- Publication number
- WO2021227696A1 WO2021227696A1 PCT/CN2021/084775 CN2021084775W WO2021227696A1 WO 2021227696 A1 WO2021227696 A1 WO 2021227696A1 CN 2021084775 W CN2021084775 W CN 2021084775W WO 2021227696 A1 WO2021227696 A1 WO 2021227696A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- filter parameters
- frequency response
- signal
- earphone
- curve information
- Prior art date
Links
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
- H04R3/00—Circuits for transducers, loudspeakers or microphones
- H04R3/04—Circuits for transducers, loudspeakers or microphones for correcting frequency response
-
- 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
-
- 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
-
- 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
-
- 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R2420/00—Details of connection covered by H04R, not provided for in its groups
- H04R2420/07—Applications of wireless loudspeakers or wireless microphones
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R2460/00—Details of hearing devices, i.e. of ear- or headphones covered by H04R1/10 or H04R5/033 but not provided for in any of their subgroups, or of hearing aids covered by H04R25/00 but not provided for in any of its subgroups
- H04R2460/01—Hearing devices using active noise cancellation
Definitions
- the embodiments of the present application relate to the field of audio technology, and in particular, to an active noise reduction method and device.
- semi-open earphones do not have a rubber sleeve on the sound outlet, and have better wearing comfort, no stethoscope effect, and are suitable for long-term wearing.
- the embodiments of the present application provide an active noise reduction method and device, which can improve the noise reduction effect of headphones.
- an embodiment of the present application provides an active noise reduction method applied to a headset with ANC function.
- the method includes: when the headset is in the ANC working mode, the headset obtains a first set of filter parameters; and the headset uses the first set of filter parameters. Group filter parameters for noise reduction.
- the first set of filter parameters is one of the N 1 sets of filter parameters pre-stored by the earphone; the N 1 sets of filter parameters are respectively used for noise reduction of ambient sound under N 1 leakage states; the N 1 types The leakage state is formed by the earphone and N 1 different ear canal environments; wherein, in the current wearing state of the earphone, for the same environmental noise, the noise reduction effect of the earphone when the first set of filter parameters is applied is better than The noise reduction effect of the earphone when other filter parameters in the N 1 group of filter parameters are applied; N 1 is a positive integer greater than or equal to 2.
- the above-described N 1 expression status may leak Species Species N 1 with the fit range of the human ear headphones, earphone N 1 can be expressed with the degree of sealing of the human ear; any leak condition is not specific to a particular headphone Wearing state, but based on the impedance characteristics of the leakage state, a large number of statistics are obtained, and the typical or differentiated leakage scenarios are obtained.
- the active noise reduction method can determine a set of filter parameters (that is, the current wearing state) that matches the current leakage state (also can be understood as the current wearing state) according to the user's ear canal environment and the leakage state formed by the earphone when the user wears the earphone.
- the above-mentioned first set of filter parameters), and the environmental sound noise reduction based on this set of filter parameters can meet the user's personalized noise reduction needs and improve the noise reduction effect.
- the active noise reduction method provided in the embodiment of the present application further includes: generating N 2 sets of filter parameters at least according to the first set of filter parameters and the second set of filter parameters.
- the N 2 sets of filter parameters correspond to different ANC noise reduction intensities; the second set of filter parameters is one of the N 1 sets of filter parameters pre-stored in the earphone; the second set of filter parameters is used to leak in N 1 leakage states Environmental noise reduction is performed in the state of the smallest degree.
- the N 2 sets of filter parameters include the first set of filter parameters and the second set of filter parameters described above.
- the active noise reduction method provided in the embodiment of the present application further includes: obtaining the target ANC noise reduction intensity; and determining the third group of filter parameters from the N 2 groups of filter parameters according to the target ANC noise reduction intensity; and Use the third set of filter parameters to reduce noise.
- N 2 sets of filter parameters adapted to the current user are generated based on the first set of filter parameters and the second set of filter parameters, and From the N 2 groups of filter parameters, the third group of filter parameters corresponding to the target ANC noise reduction intensity is further determined, so that the third group of filter parameters is used for noise reduction, so that the appropriate ANC noise reduction intensity can be selected according to the state of environmental noise ,
- the noise reduction effect is more in line with the needs of users.
- the foregoing method for obtaining the first set of filter parameters includes: receiving first indication information from a terminal, where the first indication information is used to instruct the earphone to use the first set of filter parameters to reduce noise.
- the headset includes an error microphone; the method for obtaining the first set of filter parameters includes: collecting a first signal through the error microphone of the headset, and obtaining a downlink signal of the headset; determining according to the first signal and the downlink signal The current frequency response curve information of the secondary channel; and from the preset frequency response curve information of N 1 secondary channels, determine the target frequency response curve information that matches the current frequency response curve information; and change the target frequency response curve information
- the corresponding set of filter parameters is determined as the first set of filter parameters, and N 1 sets of filter parameters correspond to frequency response curve information of N 1 secondary channels.
- the headset includes an error microphone and a reference microphone; the method for obtaining the first set of filter parameters includes: collecting the first signal through the error microphone of the headset, and collecting the second signal through the reference microphone of the headset, and Obtain the downlink signal of the headset; then determine the residual signal of the error microphone based on the first signal and the second signal; and determine the current frequency response curve information of the secondary channel based on the residual signal and the downlink signal of the error microphone; In the frequency response curve information of N 1 secondary channel, determine the target frequency response curve information that matches the current frequency response curve information; and then determine a set of filter parameters corresponding to the target frequency response curve information as the first set of filter parameters, N One set of filtering parameters corresponds to the frequency response curve information of N 1 secondary channels.
- the headset includes an error microphone and a reference microphone; the method for obtaining the first set of filter parameters includes: collecting a first signal through the error microphone of the headset, and collecting a second signal through the reference microphone of the headset; Determine the current frequency response curve information of the primary channel according to the first signal and the second signal; and determine the target frequency response curve information matching the current frequency response curve information from the preset frequency response curve information of N 1 primary channels; And a group of filter parameters corresponding to the target frequency response curve information is determined as the first group of filter parameters, and the N 1 group of filter parameters correspond to the frequency response curve information of the N 1 primary channels.
- the above-mentioned earphone includes an error microphone and a reference microphone; the above-mentioned method for obtaining the first set of filter parameters includes: collecting the first signal through the error microphone of the earphone, collecting the second signal through the reference microphone of the earphone, and obtaining The downlink signal of the earphone; then the current frequency response curve information of the primary channel is determined according to the first signal and the second signal, and the current frequency response curve information of the secondary channel is determined according to the first signal and the downlink signal; and the current frequency response ratio curve is determined Information, the current frequency response ratio curve information is the ratio of the current frequency response curve information of the primary channel to the current frequency response curve information of the secondary channel; then from the preset N 1 frequency response ratio curve information, determine the current frequency response The target frequency response ratio curve information matched by the ratio curve information; and then a group of filter parameters corresponding to the target frequency response ratio curve information is determined as the first group of filter parameters, and N 1 groups of filter parameters correspond to N 1 frequency response ratio curve information
- the earphone microphone and a reference microphone includes an error; and the obtaining of the first set of filter parameters comprising: determining a frequency response difference N curve information error microphone and reference microphone 1 corresponding to each set of filter parameters; And determine the frequency response difference curve with the smallest amplitude corresponding to the target frequency band among the N 1 sets of filter parameters corresponding to the N 1 frequency response difference curve information as the target frequency response difference curve, and the frequency response difference between the error microphone and the reference microphone
- the value curve information is the difference between the frequency response curve information of the error microphone and the frequency response curve information of the reference microphone; and then a set of filter parameters corresponding to the target frequency response difference curve information is determined as the first set of filter parameters.
- the foregoing method of generating N 2 sets of filter parameters at least according to the first set of filter parameters and the second set of filter parameters includes: interpolating the first set of filter parameters and the second set of filter parameters to generate N 2 Group filter parameters.
- the above method for obtaining the target ANC noise reduction intensity includes: receiving second indication information from the terminal, the second indication information is used to instruct the headset to use a third set of filter parameters corresponding to the target ANC noise reduction intensity to perform noise reduction. noise.
- the foregoing method for obtaining the target ANC noise reduction intensity includes: determining the target ANC noise reduction intensity according to the current environmental noise state. For example, the current environment is relatively quiet, and the headset adaptively selects the ANC noise reduction strength with weaker noise reduction according to the environmental noise state; when the current environment is relatively noisy, the headset adaptively selects the ANC with stronger noise reduction strength according to the state of the environmental noise Noise reduction intensity.
- the active noise reduction method before acquiring the first set of filter parameters, further includes: receiving a first instruction, the headset works in the ANC working mode, and the first instruction is used to control the headset Work in the ANC working mode; or, detect whether the earphone is in the ear; when it is detected that the earphone is in the ear, the earphone works in the ANC working mode.
- the active noise reduction method provided in the embodiments of the present application is applied in a scenario where the headset is in the ANC working mode. It can be seen that the headset is in the ANC working mode as a trigger condition for determining the first set of filter parameters.
- the headset plays the prompt sound that the ANC is turned on, and the first set of filter parameters is determined during the process of playing the in-ear prompt sound, that is, the in-ear prompt sound is used as the test signal, and the user listens subjectively Sound perception determines the first set of filtering parameters.
- the earphone when it is detected that the earphone is in the ear, the earphone works in the ANC working mode, and at the same time, the earphone will play the in-ear prompt sound.
- the first set of filter parameters is determined during the process of playing the in-ear prompt sound, that is, the The in-ear prompt sound is used as a test signal, and the user determines the first set of filtering parameters based on subjective listening experience.
- the foregoing method for obtaining the first set of filter parameters specifically includes: when the headset is in the ANC working mode, receiving a second instruction, where the second instruction is used to instruct the headset to obtain the first set of filter parameters; Wherein, the first set of filter parameters is different from the filter parameters used by the headset before receiving the second instruction.
- the earphone reduces noise based on the first set of filter parameters. Subsequently, during the operation of the earphone, the user can choose to re-determine a set of filter parameters according to the actual situation. For noise reduction, at this time, it is also possible to instruct the headset to obtain the first set of filtering parameters by sending a second instruction.
- the active noise reduction method after obtaining the first set of filter parameters, before generating N 2 sets of filter parameters at least according to the first set of filter parameters and the second set of filter parameters, the active noise reduction method provided in the embodiment of the present application also It includes: receiving a third instruction, which is used to trigger the headset to generate N 2 sets of filter parameters.
- the third set of filter parameters is determined from the N 2 sets of filter parameters, and the headset reduces noise based on the third set of filter parameters.
- the user can also choose to re-determine a set of filter parameters for noise reduction according to actual needs, that is, the headset reacquires the first set of filter parameters.
- the headset restores the N 2 sets of filter parameters in the headset to the aforementioned N 1 sets of filter parameters, and then redetermines the first set of filter parameters from the N 1 sets of filter parameters, and uses the newly acquired first set of filter parameters to perform Noise reduction.
- the aforementioned N 1 group of filtering parameters are determined according to the recording signal of the secondary channel SP mode and the recording signal of the primary channel PP mode.
- the recording signal of the SP mode includes the downstream signal, the signal of the tympanic microphone and the signal of the error microphone of the earphone;
- the recording signal of the PP mode includes the signal of the eardrum microphone, the signal of the error microphone of the earphone, and the signal of the reference microphone of the earphone.
- the active noise reduction method provided by the embodiment of the present application further includes: detecting whether there is abnormal noise, and the abnormal noise includes at least one of the following: howling noise, clipping noise, or noise floor; In the case of abnormal noise, update the filter parameters, which include the first set of filter parameters or the third set of filter parameters; and collect sound signals through the reference microphone and error microphone of the headset; based on the updated filter parameters, the reference The sound signal collected by the microphone and the sound signal collected by the error microphone are processed to generate a reverse noise signal.
- the above-mentioned reverse noise signal is used to attenuate the user’s in-ear noise signal.
- the in-ear noise signal can be understood as the residual noise after the environmental noise is isolated by the earphone after the user wears the earphone.
- the residual noise signal is similar to the external noise signal.
- Environmental noise, earphones, and the fit between the earphones and the ear canal are related to factors; after the earphone generates a reverse noise signal, the earphone plays the reverse noise signal, and the reverse noise signal has the opposite phase to the noise signal in the user’s ear. In this way, the reverse noise signal can attenuate the noise signal in the user's ear, thereby reducing abnormal noise in the ear.
- the earphone can detect abnormal noise and perform noise reduction processing on the abnormal noise, the interference of the abnormal noise is reduced, the stability of the earphone is improved, and the user's listening experience can be improved.
- the above-mentioned earphone includes a semi-open active noise reduction earphone.
- an embodiment of the present application provides an active noise reduction method, which is applied to a terminal that establishes a communication connection with a headset, and the headset is in ANC working mode.
- the method includes: determining a first set of filtering parameters; and sending a first instruction to the headset Information, the first indication information is used to instruct the earphone to use the first set of filter parameters to reduce noise.
- the first set of filter parameters is the set of filter parameters N 1 pre-stored in the headphone set; N 1 set of filter parameters for each noise environment sound leakage state at one kind of N; N is one kind of leakage condition Headphones and N 1 different ear canal environments are formed; among them, in the current wearing state of the headphones, for the same environmental noise, the noise reduction effect of the first set of filter parameters applied to the headphones is better than that of the N 1 set of filter parameters applied to the headphones Noise reduction effect for other filtering parameters; N 1 is a positive integer greater than or equal to 2.
- the active noise reduction method can determine a set of filter parameters (that is, the first set of filter parameters) matching the current leakage state according to the user’s ear canal environment and the leakage state formed by the earphone when the user wears the earphone, and is based on This set of filtering parameters performs environmental sound noise reduction, which can meet the user's personalized noise reduction needs and improve the noise reduction effect.
- the above method for determining the first set of filter parameters includes: receiving the first signal collected by the error microphone of the earphone, and obtaining the downlink signal of the earphone; and then determining the secondary channel according to the first signal and the downlink signal.
- Current frequency response curve information and from the preset frequency response curve information of N 1 secondary channels, determine the target frequency response curve information that matches the current frequency response curve information; and a set of target frequency response curve information corresponding
- the filter parameters are determined as the first set of filter parameters, and the N 1 sets of filter parameters correspond to the frequency response curve information of the N 1 secondary channels.
- the above method for determining the first set of filter parameters includes: receiving the first signal collected by the error microphone of the earphone and the second signal collected by the reference microphone of the earphone, and obtaining the downlink signal of the earphone; and then based on the first signal.
- the signal and the second signal determine the residual signal of the error microphone; then the current frequency response curve information of the secondary channel is determined according to the residual signal of the error microphone and the downlink signal; then the frequency response curve of the preset N 1 secondary channels In the information, determine the target frequency response curve information that matches the current frequency response curve information; then determine the filter parameter corresponding to the target frequency response curve information as the first set of filter parameters, and N 1 sets of filter parameters correspond to the N 1 secondary channels Frequency response curve information.
- the method for determining the first set of filter parameters includes: receiving a first signal collected by the error microphone of the headset and a second signal collected by the reference microphone of the headset; and then determining according to the first signal and the second signal The current frequency response curve information of the primary channel; and from the preset frequency response curve information of N 1 primary channels, determine the target frequency response curve information that matches the current frequency response curve information; and the target frequency response curve information corresponding
- the filter parameters are determined as the first set of filter parameters, and the N 1 sets of filter parameters correspond to the frequency response curve information of the N 1 primary channels.
- the foregoing method for determining the first set of filter parameters includes: receiving a first signal collected by the error microphone of the headset and a second signal collected by the reference microphone of the headset, and acquiring the downlink signal of the headset; The first signal and the second signal determine the current frequency response curve information of the primary channel, and determine the current frequency response curve information of the secondary channel according to the first signal and the downlink signal; and determine the current frequency response ratio curve information, the current frequency response ratio curve information It is the ratio of the current frequency response curve information of the primary channel to the current frequency response curve information of the secondary channel; then from the preset N 1 frequency response ratio curve information, determine the target frequency response that matches the current frequency response ratio curve information Ratio curve information; and further determine the filter parameter corresponding to the target frequency response ratio curve information as the first group of filter parameters, and N 1 groups of filter parameters correspond to N 1 frequency response ratio curve information.
- the above-described method of determining a first set of filter parameters comprises: determining a set of filter parameters N 1 respectively corresponding to the difference frequency response error microphone and reference microphone curve information; and the corresponding N 1 of the set of filter parameters Among N 1 frequency response difference curve information, the frequency response difference curve with the smallest amplitude corresponding to the target frequency band is determined as the target frequency response difference curve, and the frequency response difference curve information of the error microphone and the reference microphone is the frequency response of the error microphone The difference between the curve information and the frequency response curve information of the reference microphone; and then the filter parameter corresponding to the target frequency response difference curve information is determined as the first set of filter parameters.
- the active noise reduction method provided in the embodiment of the present application further includes: receiving an operation on the first option of the first interface of the terminal, and the first interface is An interface for setting the working mode of the headset; in response to the operation of the first option, a first instruction is sent to the headset, and the first instruction is used to control the headset to work in the ANC working mode.
- the active noise reduction method further includes: displaying an ANC control list; the ANC control list includes at least the following At least one of the options: the first control option, the second control option, or the third control option; wherein the first control option is used to trigger the determination of the first set of filter parameters, and the second control option is used to trigger the generation of N 2 sets of filters Parameters, the third control option is used to trigger the re-determination of the first set of filter parameters.
- the foregoing method for determining the first set of filtering parameters includes: receiving an operation on the first control option in the ANC control list, displaying a first control, and the first control includes N 1 preset positions, The N 1 preset positions correspond to N 1 sets of filter parameters; and an operation on the first position in the first control is received; the first position is one of the N 1 preset positions, and the first position corresponds to one
- the noise reduction effect when the set of filter parameters is applied to the earphone is better than the noise reduction effect when the filter parameters corresponding to the other positions in the N 1 preset positions are applied to the earphone; and in response to the operation on the first position, the first position is determined
- the corresponding set of filtering parameters is the first set of filtering parameters.
- the active noise reduction method provided in the embodiment of the present application further includes: receiving an operation on the third control option in the ANC control list; and in response to the operation on the third control option, re-determining the first Group filter parameters.
- the active noise reduction method provided in the embodiment of the present application further includes: receiving an operation on the third control option in the ANC control list; and in response to the operation on the third control option, sending the first control option to the headset Two instructions, the second instruction is used to instruct the headset to obtain the first set of filter parameters; wherein, the first set of filter parameters are different from the filter parameters used by the headset before receiving the second instruction.
- the active noise reduction method provided in the embodiment of the present application further includes: receiving an operation on the second control option in the ANC control list; and in response to the operation on the second control option, sending the first control option to the headset Three instructions.
- the third instruction is used to trigger the headset to generate N 2 sets of filter parameters.
- the N 2 sets of filter parameters are generated according to the first set of filter parameters and the second set of filter parameters.
- the second set of filter parameters is N 1 sets of filter parameters.
- One group of parameters, the second group of filtering parameters is used to reduce noise of environmental sound in the state where the leakage degree is the smallest among the N 1 leakage states.
- the active noise reduction method further includes: displaying a second control; the second control includes N 2 Preset positions, the N 2 preset positions correspond to N 2 kinds of ANC noise reduction intensities, and the N 2 kinds of ANC noise reduction intensities correspond to N 2 sets of filter parameters; and an operation on the second position in the second control is received;
- the second position is one of the N 2 preset positions, and the filter parameter corresponding to the ANC noise reduction intensity at the second position has better noise reduction effect when applied to the earphones than other positions in the N 2 preset positions
- the filter parameter corresponding to the ANC noise reduction intensity of the ANC is applied to the noise reduction effect of the earphone; and in response to the operation of the second position, the ANC noise reduction intensity corresponding to the second position is determined as the target ANC noise reduction intensity;
- the second indication information is used to instruct the earphone to use the third set of filter parameters corresponding to the target
- an embodiment of the present application provides a headset that has an ANC function, and the headset includes an acquisition module and a processing module.
- the acquisition module is used to acquire the first set of filter parameters when the headset is in the ANC working mode;
- the first set of filter parameters is one of the N 1 sets of filter parameters pre-stored by the headset;
- the N 1 sets of filter parameters are respectively for environmental noise at one kind of sound leakage state N;
- N is one kind of leakage condition N formed by one kind of earphone and the ear canal of different environments; wherein the headset in the current state of wearing, for the same ambient noise,
- the noise reduction effect of the earphone when the first set of filter parameters is applied is better than the noise reduction effect of the earphone when the other filter parameters in the N 1 set of filter parameters are applied;
- N 1 is a positive integer greater than or equal to 2.
- the processing module is used for noise reduction using the first set of filter parameters.
- the headset provided in the embodiment of the present application further includes a generation module; the generation module is configured to generate N 2 sets of filter parameters according to at least the first set of filter parameters and the second set of filter parameters; the N 2 sets of filter parameters The parameters correspond to different ANC noise reduction intensities; the second set of filter parameters is one of the N 1 sets of filter parameters pre-stored in the earphone; this second set of filter parameters is used for the state with the smallest degree of leakage among the N 1 leakage states Perform environmental noise reduction.
- the generation module is configured to generate N 2 sets of filter parameters according to at least the first set of filter parameters and the second set of filter parameters; the N 2 sets of filter parameters The parameters correspond to different ANC noise reduction intensities; the second set of filter parameters is one of the N 1 sets of filter parameters pre-stored in the earphone; this second set of filter parameters is used for the state with the smallest degree of leakage among the N 1 leakage states Perform environmental noise reduction.
- the headset provided in the embodiment of the present application further includes a determining module; the above-mentioned acquiring module is also used to acquire the target ANC noise reduction intensity; the determining module is used to select N 2 groups of filter parameters according to the target ANC noise reduction intensity The third group of filter parameters is determined; the above-mentioned processing module is also used for noise reduction by using the third group of filter parameters.
- the earphone provided in this embodiment of the application further includes a receiving module; the receiving module is used to receive first indication information from the terminal, and the first indication information is used to instruct the earphone to use the first set of filter parameters to perform the reduction. noise.
- the earphone provided in the embodiment of the present application further includes a first signal acquisition module; the first signal acquisition module is used to collect the first signal through the error microphone of the earphone; the above-mentioned acquisition module is also used to acquire the earphone
- the above-mentioned determining module is also used to determine the current frequency response curve information of the secondary channel according to the first signal and the downlink signal; and from the preset frequency response curve information of N 1 secondary channels, determine the current frequency response curve information
- the target frequency response curve information matched by the response curve information; and a group of filter parameters corresponding to the target frequency response curve information is determined as the first group of filter parameters, and the N 1 group of filter parameters correspond to the frequency response curve information of the N 1 secondary channels.
- the earphone provided in the embodiment of the present application further includes a first signal acquisition module and a second signal acquisition module.
- the first signal collection module is used to collect the first signal through the error microphone of the earphone;
- the second signal collection module is used to collect the second signal through the reference microphone of the earphone;
- the above-mentioned acquisition module is also used to acquire the downlink signal of the earphone;
- the above-mentioned determination module It is also used to determine the residual signal of the error microphone based on the first signal and the second signal; and to determine the current frequency response curve information of the secondary channel according to the residual signal of the error microphone and the downlink signal; from the preset N 1 secondary In the frequency response curve information of the channel, determine the target frequency response curve information that matches the current frequency response curve information; and determine a set of filter parameters corresponding to the target frequency response curve information as the first set of filter parameters, and N 1 sets of filter parameters correspond to N frequency response curve information of 1 secondary channel.
- the earphone provided in the embodiment of the present application further includes a first signal acquisition module and a second signal acquisition module.
- the first signal acquisition module is used to collect the first signal through the error microphone of the earphone;
- the second signal acquisition module is used to collect the second signal through the reference microphone of the earphone;
- the above determination module is also used to determine according to the first signal and the second signal
- the current frequency response curve information of the primary channel and from the preset frequency response curve information of N 1 primary channels, determine the target frequency response curve information that matches the current frequency response curve information; and the target frequency response curve information corresponding
- One set of filter parameters is determined as the first set of filter parameters, and N 1 sets of filter parameters correspond to frequency response curve information of N 1 primary channels.
- the earphone provided in the embodiment of the present application further includes a first signal acquisition module and a second signal acquisition module.
- the first signal collection module is used to collect the first signal through the error microphone of the earphone;
- the second signal collection module is used to collect the second signal through the reference microphone of the earphone;
- the above-mentioned acquisition module is also used to acquire the downlink signal of the earphone;
- the above-mentioned determination module It is also used to determine the current frequency response curve information of the primary channel according to the first signal and the second signal, and determine the current frequency response curve information of the secondary channel according to the first signal and the downlink signal; and determine the current frequency response ratio curve information, the current The frequency response ratio curve information is the ratio of the current frequency response curve information of the primary channel to the current frequency response curve information of the secondary channel; and then from the preset N 1 frequency response ratio curve information, the current frequency response ratio curve information is determined Matched target frequency response ratio curve information; and a group of filter parameters corresponding to the target frequency response ratio curve
- the determination module is further for determining a difference value N frequency response curve information error microphone and reference microphone 1 respectively corresponding to the set of filter parameters
- the difference curve information the frequency response difference curve with the smallest amplitude corresponding to the target frequency band is determined as the target frequency response difference curve
- the frequency response difference curve information of the error microphone and the reference microphone is the frequency response curve information of the error microphone and the reference microphone
- the difference between the frequency response curve information; and a set of filter parameters corresponding to the target frequency response difference curve information is determined as the first set of filter parameters.
- the foregoing generating module is specifically configured to interpolate the first set of filter parameters and the second set of filter parameters to generate N 2 sets of filter parameters.
- the foregoing receiving module is further configured to receive second indication information from the terminal, and the second indication information is used to instruct the earphone to use the target ANC noise reduction intensity corresponding to the third set of filter parameters to perform noise reduction.
- the above determination module is further configured to determine the target ANC noise reduction intensity according to the current environmental noise state.
- the headset provided in the embodiment of the present application further includes a detection module.
- the above-mentioned receiving module is also used to receive a first instruction, the headset works in the ANC working mode, and the first instruction is used to control the headset to work in the ANC working mode.
- the detection module is used to detect whether the earphone is in the ear. When the detection module detects that the earphone is in the ear, the earphone works in the ANC working mode.
- the above-mentioned receiving module is further configured to receive a second instruction when the headset is in the ANC working mode, and the second instruction is used to instruct the headset to obtain the first set of filtering parameters; wherein, the first set The filter parameter is different from the filter parameter used by the earphone before receiving the second instruction.
- the foregoing receiving module is further configured to receive a third instruction, and the third instruction is used to trigger the headset to generate N 2 sets of filter parameters.
- the above N 1 filter parameters are determined based on the recording signal of the secondary channel SP mode and the primary channel PP mode recording signal; wherein the recording signal of the SP mode includes the downstream signal and the tympanic microphone signal And the signal of the error microphone of the earphone; the recording signal of the PP mode includes the signal of the eardrum microphone, the signal of the error microphone of the earphone, and the signal of the reference microphone of the earphone.
- the headset provided in the embodiment of the present application further includes an update module.
- the above detection module is also used to detect whether there is abnormal noise.
- the abnormal noise includes at least one of the following: howling noise, clipping noise or bottom noise; the update module is used to update the filter when the detection module detects the presence of abnormal noise Parameters, the filter parameters include the first set of filter parameters or the third set of filter parameters.
- the above-mentioned first signal collection module is also used to collect sound signals through the reference microphone of the earphone; the second signal collection module is also used to collect sound signals through the error microphone of the earphone; the above-mentioned processing module is also used to compare the reference The sound signal collected by the microphone and the sound signal collected by the error microphone are processed to generate a reverse noise signal.
- an embodiment of the present application provides a terminal, the terminal establishes a communication connection with a headset, the headset is in an ANC working mode, and the terminal includes a determining module and a sending module.
- the determining module is used to determine the first set of filter parameters; the first set of filter parameters is one of the N 1 sets of filter parameters pre-stored by the earphone; the N 1 sets of filter parameters are respectively used to perform under N 1 leakage states Environmental noise reduction; N 1 leakage state is formed by the earphone and N 1 different ear canal environments; among them, the earphone is in the current wearing state, for the same environmental noise, the reduction of the earphone when the first set of filter parameters is applied The noise effect is better than the noise reduction effect of the earphone when other filter parameters in the N 1 group of filter parameters are applied; N 1 is a positive integer greater than or equal to 2.
- the sending module is configured to send first instruction information to the headset, where the first instruction information is used to instruct the headset to use the first set of filter
- the terminal provided in the embodiment of the present application further includes a receiving module and an acquiring module.
- the receiving module is used to receive the first signal collected by the error microphone of the earphone; the obtaining module is used to obtain the downlink signal of the earphone; the determining module is specifically used to determine the current frequency response curve information of the secondary channel according to the first signal and the downlink signal; And from the preset frequency response curve information of the N 1 secondary channels, determine the target frequency response curve information that matches the current frequency response curve information; and determine a set of filter parameters corresponding to the target frequency response curve information as the first Set of filter parameters, N 1 set of filter parameters correspond to the frequency response curve information of N 1 secondary channels.
- the terminal provided in the embodiment of the present application further includes a receiving module and an acquiring module.
- the receiving module is used to receive the first signal collected by the error microphone of the earphone and the second signal collected by the reference microphone of the earphone;
- the acquisition module is used to obtain the downlink signal of the earphone;
- the determining module is specifically used to determine based on the first signal and the second signal.
- the residual signal of the error microphone determines the current frequency response curve information of the secondary channel according to the residual signal of the error microphone and the downlink signal; and determine the current frequency response curve information from the preset N 1 secondary channel frequency response curve information
- the target frequency response curve information matched by the frequency response curve information; and the filter parameter corresponding to the target frequency response curve information is determined as the first set of filter parameters, and the N 1 sets of filter parameters correspond to the frequency response curve information of the N 1 secondary channels.
- the terminal provided in the embodiment of the present application further includes a receiving module; the receiving module is configured to receive the first signal collected by the error microphone of the earphone and the second signal collected by the reference microphone of the earphone; the above determination module is specifically Used to determine the current frequency response curve information of the primary channel according to the first signal and the second signal; and determine the current frequency response curve information from the preset frequency response curve information of N 1 primary channels Matching target frequency response curve information; and determining a filter parameter corresponding to the target frequency response curve information as the first set of filter parameters, and the N 1 set of filter parameters correspond to frequency response curve information of N 1 primary channels.
- the terminal provided in the embodiment of the present application further includes a receiving module and an acquiring module.
- the receiving module is used to receive the first signal collected by the error microphone of the earphone and the second signal collected by the reference microphone of the earphone;
- the acquisition module is used to obtain the downlink signal of the earphone;
- the signal determines the current frequency response curve information of the primary channel, and determines the current frequency response curve information of the secondary channel according to the first signal and the downlink signal; and determines the current frequency response ratio curve information, which is the current frequency response curve information of the primary channel
- the ratio of the frequency response curve information to the current frequency response curve information of the secondary channel and then from the preset N 1 frequency response ratio curve information, determine the target frequency response ratio curve information that matches the current frequency response ratio curve information; and
- the filter parameter corresponding to the target frequency response ratio curve information is determined as the first group of filter parameters, and N 1 groups of filter parameters correspond to N 1 frequency response ratio curve information.
- the N 1 N 1 corresponding to the frequency response and the set of filter parameters; one possible implementation, the determination module configured to determine a difference frequency response curve information N error microphone and reference microphone 1 respectively corresponding to the set of filter parameters
- the difference curve information the frequency response difference curve with the smallest amplitude corresponding to the target frequency band is determined as the target frequency response difference curve
- the frequency response difference curve information of the error microphone and the reference microphone is the frequency response curve information of the error microphone and the Referencing the difference between the frequency response curve information of the microphone; and determining the filter parameter corresponding to the target frequency response difference curve information as the first set of filter parameters.
- the above-mentioned receiving module is further configured to receive an operation on a first option of a first interface of the terminal, and the first interface is an interface for setting the working mode of the headset; the above-mentioned sending module It is also used to send a first instruction to the headset in response to the operation of the first option, and the first instruction is used to control the headset to work in the ANC working mode.
- the terminal provided in the embodiment of the present application further includes a display module; the display module is used to display an ANC control list; the ANC control list includes at least one of the following options: the first control option, the second The second control option or the third control option.
- the first control option is used to trigger the determination of the first set of filter parameters
- the second control option is used to trigger the generation of N 2 sets of filter parameters
- the third control option is used to trigger the re-determination of the first set of filter parameters.
- the above-mentioned receiving module is also used to receive an operation on the first control option in the ANC control list;
- the above-mentioned display module is also used to display a first control, and the first control includes N 1 preset positions , The N 1 preset positions correspond to N 1 sets of filter parameters;
- the receiving module is also used to receive an operation on the first position in the first control;
- the first position is one of the N 1 preset positions, the The noise reduction effect when a set of filter parameters corresponding to the first position is applied to the earphone is better than the noise reduction effect when the filter parameters corresponding to other positions in the N 1 preset positions are applied to the earphone;
- the above determination module is specifically used to respond to For the operation at the first position, it is determined that a group of filter parameters corresponding to the first position is the first group of filter parameters.
- the receiving module is further configured to receive an operation on the third control option in the ANC control list; the determining module is further configured to re-determine the first set of filtering in response to the operation on the third control option parameter.
- the receiving module is also used to receive an operation on the third control option in the ANC control list; the sending module is also used to send a second instruction to the headset in response to the operation on the third control option , The second instruction is used to instruct the headset to obtain the first set of filter parameters; wherein, the first set of filter parameters are different from the filter parameters used by the headset before receiving the second instruction.
- the above-mentioned receiving module is also used to receive an operation on the second control option in the ANC control list; the above-mentioned sending module is also used to send a third instruction to the headset in response to the operation on the second control option , The third instruction is used to trigger the headset to generate N 2 sets of filter parameters.
- the N 2 sets of filter parameters are generated according to the first set of filter parameters and the second set of filter parameters.
- the second set of filter parameters is one of the N 1 sets of filter parameters.
- One group; the second group of filter parameters is used to reduce noise of ambient sound in the state with the smallest degree of leakage among the N 1 leakage states.
- the display module is further for displaying a second control;
- the N 2 comprises a second control position preset, the preset position corresponding to N 2 N 2 Species ANC noise reduction intensity, the N 2
- This kind of ANC noise reduction intensity corresponds to N 2 sets of filter parameters;
- the above receiving module is also used to receive an operation on the second position in the second control;
- the second position is one of N 2 preset positions, and the second position
- the filter parameter corresponding to the ANC noise reduction intensity at the position when applied to the earphone has a better noise reduction effect than the filter parameters corresponding to the ANC noise reduction intensity at other positions in the N 2 preset positions.
- the noise reduction effect when applied to the earphone is also used to determine the ANC noise reduction intensity corresponding to the second position as the target ANC noise reduction intensity in response to the operation on the second position; the above sending module is also used to send second indication information to the headset, the second The indication information is used to instruct the earphone to use the third set of filter parameters corresponding to the target ANC noise reduction intensity to perform noise reduction.
- an embodiment of the present application provides a headset, including a memory and at least one processor connected to the memory.
- the memory is used to store instructions. After the instructions are read by at least one processor, the first aspect and its possibilities are executed. The method described in any one of the implementation modes.
- an embodiment of the present application provides a computer-readable storage medium, including a computer program, and when the computer program runs on a computer, the method described in the first aspect and any one of its possible implementation manners is executed.
- embodiments of the present application provide a computer program product containing instructions, which when run on a computer, cause the computer to execute the method described in the first aspect and any one of its possible implementation manners.
- an embodiment of the present application provides a chip including a memory and a processor.
- the memory is used to store computer instructions.
- the processor is used to call and run the computer instruction from the memory to execute the method described in any one of the first aspect and its possible implementation manners.
- an embodiment of the present application provides a terminal, including a memory and at least one processor connected to the memory.
- the memory is used to store instructions. After the instructions are read by at least one processor, the second aspect and its possibilities are executed. The method described in any one of the implementation modes.
- an embodiment of the present application provides a computer-readable storage medium, including a computer program, and when the computer program runs on a computer, the method described in the second aspect and any one of its possible implementation manners is executed.
- an embodiment of the present application provides a computer program product containing instructions, which when run on a computer, causes the computer to execute the method described in the second aspect and any one of its possible implementation manners.
- an embodiment of the present application provides a chip including a memory and a processor.
- the memory is used to store computer instructions.
- the processor is used to call and run the computer instructions from the memory to execute the method described in the second aspect and any one of its possible implementation manners.
- an embodiment of the present application provides an active noise reduction method applied to a headset with ANC function.
- the method includes: when the headset is in the ANC working mode, detecting whether the leakage state between the headset and the ear canal has changed In the case of detecting a change in the leakage state between the earphone and the ear canal, the filter parameters of the earphone are updated from the first set of filter parameters to the second set of filter parameters, and the second set of filter parameters are used for noise reduction.
- the first set of filter parameters and the second set of filter parameters are two different sets of filter parameters among the N sets of filter parameters pre-stored by the headset, and the N sets of filter parameters are used to reduce environmental sound noise under N types of leakage conditions. ; In the current wearing state of the headset, for the same environmental noise, the noise reduction effect of the headset when the second set of filter parameters is applied is better than the noise reduction effect of the headset when the other filter parameters of the N sets of filter parameters are applied.
- the filter parameters of the earphone can be adaptively updated according to the change of the leakage state between the earphone and the ear canal when the user uses the earphone.
- the noise reduction is performed based on the updated filtering parameters, which can improve the noise reduction effect.
- the leakage state between the earphone and the ear canal changes. It should be understood that the leakage state between the earphone and the ear canal reflects the degree of sealing between the earphone and the human ear.
- the leakage state is formed by the earphone and different ear canal environments.
- the ear canal environment is related to the characteristics of the user’s ear canal and the posture of the user wearing the earphone. Different ear canal characteristics and different postures of wearing the earphone are related.
- the combination can form a variety of ear canal environments and also correspond to a variety of leakage conditions.
- N kinds of leakage states can express the range of the fit between N kinds of earphones and human ears, and can express the degree of sealing between N kinds of earphones and human ears; High, the less likely to leak the sound.
- Any kind of leakage state does not specifically refer to a specific earphone wearing state, but a large amount of statistics based on the impedance characteristics of the leakage state, and a typical or differentiated leakage scene is obtained.
- the wearing state of the earphone corresponds to a kind of ear canal environment, thereby forming a leakage state.
- the wearing state of the earphone is different due to the characteristics of the user's ear canal and the posture of the user wearing the earphone.
- the current wearing state of the earphone corresponds to a stable ear canal environment, that is, to a stable ear canal feature and wearing posture.
- the noise reduction effect of the above-mentioned N groups of filter parameters when applied to the earphone varies with the change of the wearing state of the earphone.
- the above method for detecting whether the leakage state between the earphone and the ear canal has changed may include: collecting the first signal through the error microphone of the earphone, and collecting the first signal through the earphone.
- the second signal is collected by the reference microphone; the long-term energy ratio is calculated frame by frame according to the first signal and the second signal; the long-term energy ratio of the current frame increases, and the long-term energy ratio of the current frame is compared with the long-term energy of the historical frame In the case where the difference of the ratio is greater than the first threshold, it is determined that the leakage state between the earphone and the ear canal has changed; otherwise, it is determined that the leakage state between the earphone and the ear canal has not changed.
- the long-term energy ratio of an audio frame is an indicator that reflects the noise reduction effect.
- a larger long-term energy ratio indicates a worse noise reduction effect, and a smaller long-term energy ratio indicates a better noise reduction effect.
- a certain threshold for example, the above-mentioned first threshold
- the N sets of pre-stored filter parameters of the earphones correspond to the N types of leakage states in order to reflect the degree of sealing between the earphones and the human ear from high to low, and the filter parameters of the earphones are updated from the first set of filter parameters to
- the method for the second set of filter parameters may include: updating the filter parameters of the earphone from the first set of filter parameters to a third set of filter parameters, where the index of the first set of filter parameters in the pre-stored N sets of filter parameters is n, The index of the third set of filter parameters is n-1; determine the long-term energy ratio of the current frame when the earphone applies the third set of filter parameters for noise reduction; if the earphone applies the third set of filter parameters for noise reduction, the current frame’s When the long-term energy ratio decreases, the index of the third set of filter parameters is used as the starting point, and the index of the filter parameters is reduced one by one until the headset applies a set of filter parameters corresponding to the current index
- the earphone applies the third group of filter parameters for noise reduction, the long-term energy ratio of the current frame increases, then the earphone’s filter parameters are updated from the third group of filter parameters to the fourth group of filter parameters.
- the index is n+1; and the long-term energy ratio of the current frame is determined when the earphone applies the fourth set of filter parameters for noise reduction; if the long-term energy ratio of the current frame decreases, the index of the fourth set of filter parameters is taken as the starting point , Increase the index of the filter parameters one by one until the earphone applies a set of filter parameters corresponding to the current index to reduce noise, the difference between the long-term energy ratio of the current frame and the long-term energy ratio of the historical frame is less than the second threshold, and the current index
- the corresponding set of filtering parameters is the second set of filtering parameters.
- the filter parameter when a change in the leakage state between the earphone and the ear canal is detected, the filter parameter may be updated by reducing the index of the filter parameter first, and the index of the filter parameter is adjusted from n to n- 1. Then determine the noise reduction effect when the earphone is applied with the filter parameter index of n-1 for noise reduction.
- the noise reduction effect becomes better, indicating that the filter parameter is reduced
- the method of indexing is feasible, and then it is determined whether to continue to reduce the index of the filter parameter; if the noise reduction effect of the earphone when the filter parameter of index n-1 is used for noise reduction becomes worse, it means that the method of reducing the index of the filter parameter is not possible. OK, at this time, increase the index of the filter parameter to n+1, and apply the filter parameter with index n+1 for noise reduction. If the noise reduction effect becomes better, it means that the way to increase the index of the filter parameter is feasible.
- the N sets of pre-stored filter parameters in the earphone correspond to the N types of leakage states in turn, reflecting that the degree of sealing between the earphone and the human ear has changed from high to low.
- the above detection of the earphone and the ear may include: collecting the first signal through the error microphone of the earphone, collecting the second signal through the reference microphone of the earphone, and obtaining the reverse noise signal played by the speaker of the earphone; and according to the first Signal, second signal and reverse noise signal to determine the current frequency response curve information of the secondary channel; and from the frequency response curve information of the N sets of secondary channels corresponding to the pre-stored N sets of filter parameters, determine the The current frequency response curve information matches the target frequency response curve information; wherein the index of the first group of filter parameters in the pre-stored N groups of filter parameters is n, and the index of a group of filter parameters corresponding to the target frequency response
- the index x of a group of filter parameters corresponding to the target frequency response curve information of the secondary channel and the index n of the first group of filter parameters satisfy
- the above method for determining the current frequency response curve information of the secondary channel based on the first signal, the second signal and the reverse noise signal includes: calculating the error of the earphone based on the first signal and the second signal The residual signal of the microphone; then the reverse noise signal is used as a reference signal, and the residual signal of the error microphone is adaptively filtered to obtain the current frequency response curve information of the secondary channel.
- the reverse noise signal is used as the reference signal
- the Kalman filter and the NLMS filter are used to adaptively filter the residual signal of the error microphone, and the amplitude of the converged filter is calculated, that is, Get the current frequency response curve information of the secondary channel.
- the active noise reduction method provided in the embodiment of the present application further includes: collecting a third signal through an out-of-ear microphone of the headset.
- the out-of-ear microphone of the headset may include a call microphone or a reference microphone; and determining the third signal Whether the energy of is greater than the second preset energy threshold. If the energy of the third signal is greater than the preset threshold, it indicates that the environment is noisy; otherwise, the environment is relatively quiet.
- the foregoing method of updating the filter parameters of the earphone from the first set of filter parameters to the second set of filter parameters may include: when the energy of the third signal is greater than the second preset energy threshold or the second signal When the energy is greater than the third preset energy threshold, the filter parameters of the earphone are updated from the first set of filter parameters to the second set of filter parameters.
- the above method of determining the frequency response curve information of the secondary channel based on the first signal, the second signal and the reverse noise signal to detect whether the leakage state between the earphone and the ear canal has changed is suitable for noise Larger environments (that is, noisy environments) are not suitable for quiet environments. Because in a quiet environment, the reverse noise is very small, and the frequency response curve information of the secondary channel calculated with too small reverse noise is inaccurate, which may lead to inaccurate detection results.
- the N sets of filter parameters pre-stored in the earphone correspond to the N types of leakage states in turn reflecting the degree of sealing between the earphone and the human ear from high to low.
- the above-mentioned detection of the earphone and the ear may include: collecting the first signal through the error microphone of the earphone, and obtaining the downlink signal of the earphone; and determining the current frequency response curve information of the secondary channel according to the first signal and the downlink signal And from the frequency response curve information of the N groups of secondary channels corresponding to the pre-stored N groups of filter parameters, determine the target frequency response curve information that matches the current frequency response curve information of the secondary channel; wherein, the first group of filter parameters
- the index in the pre-stored N groups of filter parameters is n, the index of a group of filter parameters corresponding to the target frequency response curve information is x; the index of a group of filter parameters corresponding to the
- the index x of a group of filter parameters corresponding to the target frequency response curve information of the secondary channel and the index n of the first group of filter parameters satisfy
- the above method for determining the current frequency response curve information of the secondary channel based on the first signal and the downlink signal includes: using the downlink signal as a reference signal, adaptively filtering the first signal to obtain the secondary channel The current frequency response curve information of the channel.
- the lower row signal is used as the reference signal
- the Kalman filter and the NLMS filter are used to adaptively filter the first signal
- the amplitude of the converged filter is calculated to obtain the current value of the secondary channel. Frequency response curve information.
- the foregoing method of updating the filter parameters of the earphone from the first set of filter parameters to the second set of filter parameters may include: taking the index n of the first set of filter parameters as a starting point, and changing the index of the filter parameters from n is adjusted to x one by one, and a group of filter parameters corresponding to index x is the second group of filter parameters.
- the filter parameter index is updated from n to x.
- Adjust the index of the filter parameter one by one until the index of the filter parameter is x, so that the noise reduction effect smoothly transitions to the best effect.
- an embodiment of the present application provides a headset that has an ANC function, and the headset includes a detection module, an update module, and a processing module.
- the detection module is used to detect whether the leakage state between the earphone and the ear canal has changed when the earphone is in the ANC working mode
- the update module is used to detect whether the leakage state between the earphone and the ear canal has changed when the detection module detects a change in the leakage state between the earphone and the ear canal
- update the filter parameters of the earphone from the first set of filter parameters to the second set of filter parameters
- the processing module is used to reduce noise by using the second set of filter parameters.
- the first set of filter parameters and the second set of filter parameters are two different sets of filter parameters among the N sets of filter parameters pre-stored by the earphone; the N sets of filter parameters are respectively used for environmental noise reduction under N types of leakage conditions ,
- the N leakage states are formed by the earphone and N different ear canal environments.
- the noise reduction effect of the earphone when the second set of filter parameters is applied is better than the noise reduction effect of the earphone when the other filter parameters of the N sets of filter parameters are applied.
- the leakage state between the earphone and the ear canal changes. It should be understood that the leakage state between the earphone and the ear canal reflects the degree of sealing between the earphone and the human ear.
- the earphone provided in the embodiment of the present application further includes a first signal acquisition module and a second signal acquisition module.
- the first signal collection module is used to collect the first signal through the error microphone of the earphone; the second signal collection module is used to collect the second signal through the reference microphone of the earphone.
- the above detection module is specifically used to calculate the long-term energy ratio frame by frame according to the first signal and the second signal when the headset has no downlink signal; the long-term energy ratio of the current frame increases, and the long-term energy ratio of the current frame is equal to If the difference in the long-term energy ratio of the historical frame is greater than the first threshold, it is determined that the leakage state between the earphone and the ear canal has changed; otherwise, it is determined that the leakage state between the earphone and the ear canal has not changed.
- the N sets of pre-stored filter parameters of the earphone correspond to the N types of leakage states in order to reflect the degree of sealing between the earphone and the human ear from high to low
- the above-mentioned update module is specifically used to change the filter parameters of the earphone from the first
- the group of filter parameters is updated to the third group of filter parameters, where the index of the first group of filter parameters in the pre-stored N groups of filter parameters is n, and the index of the third group of filter parameters is n-1; it is determined that the third group of earphones is applied
- the filter parameter is used for noise reduction, the long-term energy ratio of the current frame
- the index of the third set of filter parameters is The starting point is to reduce the index of the filter parameters one by one, until the earphone applies a set of filter parameters corresponding to the current index to reduce noise, the difference between the long-term
- the earphone When the earphone applies the third group of filter parameters for noise reduction, and the long-term energy ratio of the current frame increases, the earphone’s filter parameters are updated from the third group of filter parameters to the fourth group of filter parameters.
- the index of the parameter is n+1; and it is determined that when the earphone applies the fourth set of filter parameters for noise reduction, the long-term energy ratio of the current frame; if the long-term energy ratio of the current frame decreases, the index of the fourth set of filter parameters
- the set of filter parameters corresponding to the current index is the second set of filter parameters.
- the headset provided in the embodiment of the present application further includes a first signal acquisition module, a second signal acquisition module, and an acquisition module.
- the first signal acquisition module is used to acquire the first signal through the error microphone of the earphone;
- the second signal acquisition module is used to acquire the second signal through the reference microphone of the earphone;
- the acquisition module is used to acquire the reverse direction of the speaker of the earphone. Noise signal.
- the N sets of filter parameters pre-stored in the earphone correspond to the N types of leakage states that reflect the degree of sealing between the earphone and the human ear from high to low.
- the detection module is specifically used to determine the second signal according to the first signal, the second signal, and the reverse noise signal.
- the index of the first set of filter parameters in the pre-stored N sets of filter parameters is n
- the index of a set of filter parameters corresponding to the target frequency response curve information is x
- the set of filter parameters corresponding to the target frequency response curve information If the index x of and the index n of the first set of filter parameters satisfy
- the above detection module is specifically configured to calculate the residual signal of the error microphone of the earphone according to the first signal and the second signal; and use the reverse noise signal as the reference signal to compare the residual signal of the error microphone. Perform adaptive filtering to obtain the current frequency response curve information of the secondary channel.
- the headset provided in the embodiment of the present application further includes a third signal acquisition module and a determination module.
- the third signal collection module is used to collect the third signal through the earphone's out-of-ear microphone.
- the earphone's out-of-ear microphone may include a call microphone or a reference microphone; the determination module is used to determine whether the energy of the third signal is greater than the second preset energy threshold .
- the above-mentioned update module is specifically configured to change the filter parameter of the earphone from when the energy of the third signal is greater than the second preset energy threshold or the energy of the second signal is greater than the third preset energy threshold.
- the first set of filtering parameters is updated to the second set of filtering parameters.
- the headset provided in the embodiment of the present application further includes a first signal acquisition module and an acquisition module.
- the first signal collection module is used to collect the first signal through the error microphone of the earphone; the acquisition module is used to obtain the downlink signal of the earphone.
- the N sets of pre-stored filter parameters in the earphone correspond to the N types of leakage states that reflect the degree of sealing between the earphone and the human ear from high to low.
- the above detection module is specifically used to determine when the earphone has a downlink signal, according to the first signal and the downlink signal The current frequency response curve information of the secondary channel; and from the frequency response curve information of the N groups of secondary channels corresponding to the pre-stored N groups of filter parameters, determine the target frequency response curve that matches the current frequency response curve information of the secondary channel Information; where the index of the first group of filter parameters in the pre-stored N groups of filter parameters is n, the index of a group of filter parameters corresponding to the target frequency response curve information is x; and the group of filter parameters corresponding to the target frequency response curve information When the index of the filter parameter and the index of the first group of filter parameters satisfy
- the aforementioned detection module is specifically configured to use the downlink signal as a reference signal to perform adaptive filtering on the first signal to obtain the current frequency response curve information of the secondary channel.
- the above-mentioned update module is specifically configured to take the index n of the first group of filter parameters as a starting point, and adjust the index of the filter parameters from n to x one by one, and the group of filter parameters corresponding to index x is the second group. Filtering parameters.
- an embodiment of the present application provides a headset.
- the headset includes a memory and at least one processor connected to the memory.
- the memory is used to store instructions. After the instructions stored in the memory are read by at least one processor, the above-mentioned first The method described in any one of the thirteen aspects and possible implementation manners thereof.
- embodiments of the present application provide a computer-readable storage medium on which a computer program is stored.
- the computer program is executed by a processor, any one of the above-mentioned thirteenth aspect and its possible implementation manners is described Methods.
- embodiments of the present application provide a computer program product containing instructions, which when run on a computer, cause the computer to execute the method described in the thirteenth aspect and any one of its possible implementation manners.
- an embodiment of the present application provides a chip including a memory and a processor.
- the memory is used to store computer instructions.
- the processor is used to call and run the computer instructions from the memory to execute the method described in any one of the thirteenth aspect and its possible implementation manners.
- FIG. 1 is a schematic diagram of an application scenario of an active noise reduction method provided by an embodiment of the application
- FIG. 2 is a schematic diagram of the hardware of a semi-open active noise reduction headset provided by an embodiment of the application;
- FIG. 3 is a schematic diagram of the hardware of a mobile phone provided by an embodiment of the application.
- FIG. 4 is a schematic diagram of the processing flow of an active noise reduction method provided by an embodiment of the application.
- FIG. 5 is a schematic diagram of hardware of a recording device provided by an embodiment of the application.
- FIG. 6 is a schematic flow chart of modeling a secondary channel from a speaker to an error microphone according to an embodiment of the application
- FIG. 7 is a schematic flow chart of modeling a secondary channel from a speaker to a tympanic microphone according to an embodiment of the application
- FIG. 8 is a schematic diagram of a process for determining filter parameters according to an embodiment of the application.
- FIG. 9 is a schematic diagram 1 of an active noise reduction method provided by an embodiment of this application.
- FIG. 10 is a schematic diagram 1 of a method for determining a first set of filtering parameters according to an embodiment of this application;
- FIG. 11 is a second schematic diagram of a method for determining a first set of filtering parameters according to an embodiment of this application.
- FIG. 12 is a third schematic diagram of a method for determining a first set of filtering parameters according to an embodiment of this application.
- FIG. 13 is a fourth schematic diagram of a method for determining a first set of filtering parameters according to an embodiment of this application.
- FIG. 14 is a schematic diagram 5 of a method for determining a first set of filtering parameters according to an embodiment of this application;
- FIG. 15 is a second schematic diagram of an active noise reduction method provided by an embodiment of this application.
- FIG. 16 is a third schematic diagram of an active noise reduction method provided by an embodiment of this application.
- FIG. 17 is the first schematic diagram of the display effect in the active noise reduction method provided by the embodiment of the application.
- 18A is the second schematic diagram of the display effect in the active noise reduction method provided by the embodiment of this application.
- 18B is the third schematic diagram of the display effect in the active noise reduction method provided by the embodiment of the application.
- 19A is a fourth schematic diagram of the display effect in the active noise reduction method provided by an embodiment of the application.
- 19B is the fifth schematic diagram of the display effect in the active noise reduction method provided by the embodiment of the application.
- 20 is a sixth schematic diagram of the display effect in the active noise reduction method provided by an embodiment of the application.
- 21A is a seventh schematic diagram of the display effect in the active noise reduction method provided by an embodiment of the application.
- 21B is the eighth schematic diagram of the display effect in the active noise reduction method provided by the embodiment of this application.
- FIG. 22 is a fourth schematic diagram of an active noise reduction method provided by an embodiment of this application.
- FIG. 23A is a schematic diagram 9 of the display effect in the active noise reduction method provided by an embodiment of the application.
- FIG. 23B is a tenth schematic diagram of the display effect in the active noise reduction method provided by the embodiment of the application.
- FIG. 24 is a fifth schematic diagram of an active noise reduction method provided by an embodiment of this application.
- FIG. 25 is a schematic diagram of the working principle of a semi-open active noise reduction headset provided by an embodiment of the application.
- FIG. 26 is a schematic diagram 1 of a howling detection method provided by an embodiment of this application.
- FIG. 27 is a second schematic diagram of a howling detection method provided by an embodiment of this application.
- FIG. 28 is a schematic diagram of the working principle of howling detection and noise reduction processing provided by an embodiment of this application.
- FIG. 29 is a schematic diagram of a clipping detection method provided by an embodiment of the application.
- FIG. 30 is a schematic diagram of a working principle of clipping detection and noise reduction processing provided by an embodiment of this application.
- FIG. 31 is a schematic diagram of a noise floor detection method provided by an embodiment of this application.
- FIG. 32 is a schematic diagram of the working principle of noise floor detection and noise reduction processing provided by an embodiment of this application.
- FIG. 33 is a schematic diagram of a wind noise detection method provided by an embodiment of the application.
- FIG. 34 is a schematic diagram of the working principle of wind noise detection and noise reduction processing provided by an embodiment of this application.
- FIG. 35 is a schematic diagram of a wind noise control state provided by an embodiment of this application.
- FIG. 36 is a schematic diagram of filtering parameters corresponding to a wind noise control state according to an embodiment of the present application.
- FIG. 37 is a sixth schematic diagram of a display effect in an active noise reduction method provided by an embodiment of the application.
- FIG. 38 is a schematic diagram 7 of the display effect in an active noise reduction method provided by an embodiment of this application.
- FIG. 39 is a first structural diagram of a headset provided by an embodiment of this application.
- FIG. 40 is a schematic structural diagram of a terminal provided by an embodiment of this application.
- FIG. 41 is a sixth schematic diagram of an active noise reduction method provided by an embodiment of this application.
- FIG. 42 is a seventh schematic diagram of an active noise reduction method provided by an embodiment of this application.
- FIG. 43 is an eighth schematic diagram of an active noise reduction method provided by an embodiment of this application.
- FIG. 44 is a schematic diagram 9 of an active noise reduction method provided by an embodiment of this application.
- FIG. 45 is a second structural diagram of a headset provided by an embodiment of the application.
- first and second in the description and claims of the embodiments of the present application are used to distinguish different objects, rather than to describe a specific order of objects.
- first set of filter parameters, the second set of filter parameters, and the third set of filter parameters are used to distinguish different filter parameters, rather than to describe the specific order of the filter parameters.
- words such as “exemplary” or “for example” are used as examples, illustrations, or illustrations. Any embodiment or design solution described as “exemplary” or “for example” in the embodiments of the present application should not be construed as being more preferable or advantageous than other embodiments or design solutions. To be precise, words such as “exemplary” or “for example” are used to present related concepts in a specific manner.
- multiple processing units refer to two or more processing units; multiple systems refer to two or more systems.
- embodiments of the present application provide an active noise reduction method and device, which are applied to a headset with active noise cancellation (ANC) function.
- ANC active noise cancellation
- the headset acquires the first
- the first set of filter parameters is used for noise reduction.
- the first set of filter parameters is one of the N 1 sets of filter parameters pre-stored in the earphone, and the N 1 sets of filter parameters are used for the N 1
- Environmental sound noise reduction is performed in the leakage state, and the N 1 leakage states are formed by the earphone and N 1 different ear canal environments.
- the active noise reduction method provided by the embodiments of the present application can determine a set of filter parameters matching the current leakage state according to the user's ear canal environment and the leakage state formed by the earphone when the user wears the earphone, and perform processing based on the set of filter parameters.
- Environmental sound noise reduction can meet the user's personalized noise reduction needs and improve the noise reduction effect.
- the active noise reduction method provided in the embodiments of the present application may be applied to earphones that have sound leakage with the user's ear canal.
- sound leakage refers to the fact that after the user wears the earphone, the earphone and the user’s ear canal cannot fit closely, there is a gap between the user’s ear canal and the earphone, which causes sound leakage, and different human ear characteristics and different wearing postures , There will be differences in leakage.
- the active noise reduction method provided by the embodiments of the present application can be applied to semi-open active noise reduction (the sound outlet of the semi-open active noise reduction earphone does not have a rubber sleeve, so that there is a gap between the earphone and the ear canal).
- the earphone is a semi-open type active noise reduction earphone as an example for description.
- FIG. 1 is a schematic diagram of an application scenario of the active noise reduction method provided by an embodiment of the application.
- the semi-open active noise reduction earphone 101 and the electronic device 102 communicate through wired transmission or wireless transmission.
- the semi-open active noise reduction earphone 101 and the electronic device 102 communicate through Bluetooth for communication, or communication through other wireless networks.
- the embodiment of the present application relates to the transmission of audio data and control signaling between the semi-open active noise reduction earphone 101 and the electronic device 102.
- the electronic device 102 sends the audio data to the semi-open active noise reduction earphone 101 for playback.
- the electronic device 102 sends control signaling to the semi-open active noise reduction earphone 101 to control the working mode of the semi-open active noise reduction earphone 101 and so on.
- the electronic device 102 in FIG. 1 can be an electronic device such as a mobile phone, a computer (such as a laptop computer, a desktop computer), a tablet computer (a handheld tablet computer, a car-mounted tablet computer), and the electronic device 102 can also be other terminal devices. , Such as smart speakers, car speakers, etc.
- the embodiment of the present application does not limit the specific type and structure of the electronic device 102.
- the semi-open type active noise reduction earphone provided in the embodiment of the present application may be wired or wireless, which is not limited.
- the following describes the hardware structure of the semi-open active noise reduction headset in combination with the wearing form of the semi-open active noise reduction headset in the human ear.
- the semi-open active noise reduction headset includes a speaker (speaker) 201 and micro-processing A micro control unit (MCU) 202, an ANC chip 203, a memory 204, and multiple microphones.
- the multiple microphones may include a reference microphone 205, a call microphone 206, and an error microphone 207.
- the speaker 201 is used to play a downstream signal (music or voice).
- the speaker 201 is also used to play a reverse noise signal (can be referred to as ANTI signal for short).
- ANTI signal can be referred to as ANTI signal for short.
- MCU microprocessor
- the ANC chip 203 is used to reduce the noise of the ambient sound, specifically, to process the signals collected by the reference microphone 205 and the error microphone 207 to generate a reverse noise signal to reduce the noise signal in the user's ear canal.
- the memory 204 is used to store multiple sets of filter parameters (also called ANC parameters).
- a set of filter parameters includes filter parameters corresponding to the feedforward path (also called FF coefficients), and filter parameters corresponding to the feedback path (also called ANC parameters).
- FB coefficients) and the filter parameters (SPE coefficients) corresponding to the downlink compensation path for example, N 1 sets of filter parameters and N 2 sets of filter parameters in the embodiment of the present application are stored.
- the microprocessor 202 determines the set of filter parameters from a first set of filter parameters N 1, the first set of filtering parameters read from memory 204, and the first set of filter parameters Write to the ANC chip 203, so that the ANC chip 203 processes the audio signal collected by the related microphone based on the first set of filter parameters to generate a reverse noise signal.
- the reference microphone 205 is used to collect external environmental noise.
- the call microphone 206 is used to collect the user's voice signal when the user is in a call.
- the error microphone 207 is used to collect noise signals in the ear canal of the user.
- the semi-open active noise reduction earphone may also include other elements, such as a proximity light sensor, which is used to detect whether the semi-open active noise reduction earphone is in the ear.
- the semi-open active noise reduction headset is a wireless headset
- the semi-open active noise reduction headset may also include a wireless communication module, and the wireless communication module may be a wireless local area network (WLAN) (such as a Wi-Fi network). ) Module or Bluetooth (bluetooth, BT) module.
- the Bluetooth module is used for the semi-open active noise reduction headset to communicate with other devices via Bluetooth.
- the structure illustrated in the embodiments of the present application does not constitute a specific limitation on the semi-open active noise reduction earphones.
- the semi-open active noise reduction earphones may include more Or fewer parts, or combine some parts, or split some parts, or arrange different parts.
- the illustrated components can be implemented in hardware, software, or a combination of software and hardware.
- FIG. 3 is a schematic diagram of the hardware structure of a mobile phone according to an embodiment of the application.
- the mobile phone 300 includes a processor 310, a memory (including an external memory interface 320 and an internal memory 321), a universal serial bus (USB) interface 330, a charging management module 340, and a power management module 341, Battery 342, antenna 1, antenna 2, mobile communication module 350, wireless communication module 360, audio module 370, speaker 370A, receiver 370B, microphone 370C, earphone interface 370D, sensor module 380, buttons 390, motor 391, indicator 392, Camera 393, display 394, subscriber identification module (SIM) card interface 395, etc.
- SIM subscriber identification module
- the sensor module 380 may include a gyroscope sensor 380A, an acceleration sensor 380B, an ambient light sensor 380C, a depth sensor 380D, a magnetic sensor, a pressure sensor, a distance sensor, a proximity light sensor, a heart rate sensor, an air pressure sensor, a fingerprint sensor, a temperature sensor, Touch sensor, bone conduction sensor, etc.
- the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the mobile phone 300.
- the mobile phone 300 may include more or fewer components than shown, or combine certain components, or split certain components, or arrange different components.
- the illustrated components can be implemented in hardware, software, or a combination of software and hardware.
- the processor 310 may include one or more processing units.
- the processor 310 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), and an image signal processor. (image signal processor, ISP), controller, memory, video or audio codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural-network processing unit, NPU) and so on.
- AP application processor
- modem processor modem processor
- GPU graphics processing unit
- image signal processor image signal processor
- ISP image signal processor
- controller memory
- video or audio codec digital signal processor
- DSP digital signal processor
- baseband processor baseband processor
- neural-network processing unit NPU
- the controller may be the nerve center and command center of the mobile phone 300.
- the controller can generate operation control signals according to the instruction operation code and timing signals to complete the control of fetching instructions and executing instructions.
- a memory may also be provided in the processor 310 to store instructions and data.
- the memory in the processor 310 is a cache memory.
- the memory can store instructions or data that the processor 310 has just used or used cyclically. If the processor 310 needs to use the instruction or data again, it can be directly called from the memory. Repeated accesses are avoided, the waiting time of the processor 310 is reduced, and the efficiency of the system is improved.
- the processor 310 may include one or more interfaces.
- the interface may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, and a universal asynchronous transmitter/receiver (universal asynchronous) interface.
- I2C integrated circuit
- I2S integrated circuit built-in audio
- PCM pulse code modulation
- PCM pulse code modulation
- UART universal asynchronous transmitter/receiver
- MIPI mobile industry processor interface
- GPIO general-purpose input/output
- SIM subscriber identity module
- USB Universal Serial Bus
- the I2C interface is a bidirectional synchronous serial bus, including a serial data line (SDA) and a serial clock line (SCL).
- the processor 310 may include multiple sets of I2C buses.
- the processor 310 may couple the touch sensor, the charger, the flash, the camera 393, etc., respectively through different I2C bus interfaces.
- the processor 310 may couple the touch sensor through an I2C interface, so that the processor 310 and the touch sensor 3 communicate through the I2C bus interface to implement the touch function of the mobile phone 300.
- the I2S interface can be used for audio communication.
- the processor 310 may include multiple sets of I2S buses.
- the processor 310 may be coupled with the audio module 370 through an I2S bus to implement communication between the processor 310 and the audio module 370.
- the audio module 370 may transmit audio signals to the wireless communication module 360 through the I2S interface, so as to realize the function of answering calls through the Bluetooth headset.
- the PCM interface can also be used for audio communication to sample, quantize and encode analog signals.
- the audio module 370 and the wireless communication module 360 may be coupled through a PCM bus interface.
- the audio module 370 may also transmit audio signals to the wireless communication module 360 through the PCM interface, so as to realize the function of answering calls through the Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.
- the UART interface is a universal serial data bus used for asynchronous communication.
- the bus can be a two-way communication bus. It converts the data to be transmitted between serial communication and parallel communication.
- the UART interface is generally used to connect the processor 310 and the wireless communication module 360.
- the processor 310 communicates with the Bluetooth module in the wireless communication module 360 through the UART interface to realize the Bluetooth function.
- the audio module 370 may transmit audio signals to the wireless communication module 360 through the UART interface, so as to realize the function of playing music through the Bluetooth headset.
- the MIPI interface can be used to connect the processor 310 with the display screen 394, the camera 393 and other peripheral devices.
- the MIPI interface includes a camera serial interface (camera serial interface, CSI), a display serial interface (display serial interface, DSI), and so on.
- the processor 310 and the camera 393 communicate through a CSI interface to implement the shooting function of the mobile phone 300.
- the processor 310 and the display screen 394 communicate through a DSI interface to realize the display function of the mobile phone 300.
- the GPIO interface can be configured through software.
- the GPIO interface can be configured as a control signal or as a data signal.
- the GPIO interface can be used to connect the processor 310 with the camera 393, the display 394, the wireless communication module 360, the audio module 370, the sensor module 380, and so on.
- the GPIO interface can also be configured as an I2C interface, I2S interface, UART interface, MIPI interface, etc.
- the interface connection relationship between the modules illustrated in the embodiment of the present application is merely a schematic description, and does not constitute a structural limitation of the mobile phone 300.
- the mobile phone 300 may also adopt different interface connection modes in the foregoing embodiments, or a combination of multiple interface connection modes.
- the charging management module 340 is used to receive charging input from the charger.
- the power management module 341 is used to connect the battery 342, the charging management module 340 and the processor 310.
- the power management module 341 receives input from the battery 342 and/or the charge management module 340, and supplies power to the processor 310, the internal memory 321, the display screen 394, the camera 393, and the wireless communication module 360.
- the power management module 341 can also be used to monitor parameters such as battery capacity, battery cycle times, and battery health status (leakage, impedance).
- the wireless communication function of the mobile phone 300 can be realized by the antenna 1, the antenna 2, the mobile communication module 350, the wireless communication module 360, the modem processor, and the baseband processor.
- the antenna 1 and the antenna 2 are used to transmit and receive electromagnetic wave signals.
- Each antenna in the mobile phone 300 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization.
- Antenna 1 can be multiplexed as a diversity antenna of a wireless local area network.
- the antenna can be used in combination with a tuning switch.
- the mobile communication module 350 can provide a wireless communication solution including 2G/3G/4G/5G and the like applied on the mobile phone 300.
- the mobile communication module 350 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), and the like.
- the mobile communication module 350 can receive electromagnetic waves by the antenna 1, and perform processing such as filtering, amplifying and transmitting the received electromagnetic waves to the modem processor for demodulation.
- the mobile communication module 350 can also amplify the signal modulated by the modem processor, and convert it into electromagnetic wave radiation via the antenna 1.
- at least part of the functional modules of the mobile communication module 350 may be provided in the processor 310.
- at least part of the functional modules of the mobile communication module 350 and at least part of the modules of the processor 310 may be provided in the same device.
- the modem processor may include a modulator and a demodulator.
- the modulator is used to modulate the low frequency baseband signal to be sent into a medium and high frequency signal.
- the demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal.
- the demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing.
- the application processor outputs a sound signal through an audio device (not limited to a speaker 370A, a receiver 370B, etc.), or displays an image or video through the display screen 394.
- the modem processor may be an independent device.
- the modem processor may be independent of the processor 310 and be provided in the same device as the mobile communication module 350 or other functional modules.
- the wireless communication module 360 can provide applications on the mobile phone 300 including wireless local area networks (wireless local area networks, WLAN) (such as Wi-Fi networks), Bluetooth (bluetooth, BT), global navigation satellite system (global navigation satellite system, GNSS) , Frequency modulation (FM), near field communication (NFC), infrared technology (infrared, IR) and other wireless communication solutions.
- the wireless communication module 360 may be one or more devices integrating at least one communication processing module.
- the wireless communication module 360 receives electromagnetic waves via the antenna 2, frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 310.
- the wireless communication module 360 may also receive the signal to be sent from the processor 310, perform frequency modulation, amplify it, and convert it into electromagnetic waves and radiate it through the antenna 2.
- the antenna 1 of the mobile phone 300 is coupled with the mobile communication module 350, and the antenna 2 is coupled with the wireless communication module 360, so that the mobile phone 300 can communicate with the network and other devices through wireless communication technology.
- the wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), broadband Code division multiple access (wideband code division multiple access, WCDMA), time division code division multiple access (time-division code division multiple access, TD-SCDMA), long term evolution (LTE), new radio (New Radio, NR) ), BT, GNSS, WLAN, NFC, FM, and/or IR technology, etc.
- GSM global system for mobile communications
- GPRS general packet radio service
- CDMA code division multiple access
- WCDMA broadband Code division multiple access
- time division code division multiple access time-division code division multiple access
- TD-SCDMA time-division code division multiple access
- LTE long term evolution
- New Radio, NR new radio
- BT
- the mobile phone 300 implements a display function through a GPU, a display screen 394, and an application processor.
- the GPU is an image processing microprocessor, which is connected to the display screen 394 and the application processor.
- the GPU is used to perform mathematical and geometric calculations and is used for graphics rendering. In the embodiment of the present application, the GPU can be used for three-dimensional model rendering and virtual-real superposition.
- the processor 310 may include one or more GPUs that execute program instructions to generate or change display information.
- the display screen 394 is used to display images, videos, and the like. In the embodiment of the present application, the display screen 394 may be used to display the virtual superimposed image.
- the display screen 394 includes a display panel.
- the display panel can use liquid crystal display (LCD), organic light-emitting diode (OLED), active matrix organic light-emitting diode or active-matrix organic light-emitting diode (active-matrix organic light-emitting diode).
- LCD liquid crystal display
- OLED organic light-emitting diode
- active matrix organic light-emitting diode active-matrix organic light-emitting diode
- active-matrix organic light-emitting diode active-matrix organic light-emitting diode
- AMOLED flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, quantum dot light-emitting diode (QLED), etc.
- the mobile phone 300 may
- the mobile phone 300 can realize a shooting function through an ISP, a camera 393, a video codec, a GPU, a display screen 394, and an application processor.
- the ISP is used to process the data fed back by the camera 393. For example, when taking a picture, the shutter is opened, the light is transmitted to the photosensitive element of the camera through the lens, the light signal is converted into an electrical signal, and the photosensitive element of the camera transmits the electrical signal to the ISP for processing and is converted into an image visible to the naked eye.
- ISP can also optimize the image noise, brightness, and skin color. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene.
- the ISP may be provided in the camera 393.
- the camera 393 is used to capture still images or videos.
- the object generates an optical image through the lens and is projected to the photosensitive element.
- the photosensitive element may be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor.
- CMOS complementary metal-oxide-semiconductor
- the photosensitive element converts the optical signal into an electrical signal, and then transfers the electrical signal to the ISP to convert it into a digital image signal.
- ISP outputs digital image signals to DSP for processing.
- DSP converts digital image signals into standard RGB, YUV and other formats of image signals.
- the mobile phone 300 may include one or N cameras 393, and N is a positive integer greater than one.
- the digital signal processor is used to process digital signals, such as processing digital image signals or digital audio signals, and can also process other digital signals. For example, when the mobile phone 300 selects a frequency point, the digital signal processor is used to perform Fourier transform on the energy of the frequency point.
- Video or audio codecs are used to compress or decompress digital video or audio.
- the mobile phone 300 can support one or more audio codecs, for example, the advanced audio distribution profile (A2DP) default SBC, and the moving picture experts group (moving picture experts group, MPEG) advanced audio coding (advanced) audio coding, AAC) series of encoders, etc. In this way, the mobile phone 300 can play or record audio in multiple encoding formats.
- A2DP advanced audio distribution profile
- MPEG moving picture experts group
- AAC advanced audio coding
- NPU is a neural-network (NN) computing processor.
- NN neural-network
- applications such as intelligent cognition of the mobile phone 300 can be implemented, such as image recognition, face recognition, voice recognition, text understanding, action generation, and so on.
- the external memory interface 320 may be used to connect an external memory card, such as a Micro SD card, so as to expand the storage capacity of the mobile phone 300.
- the external memory card communicates with the processor 310 through the external memory interface 320 to realize the data storage function.
- the internal memory 321 may be used to store computer executable program code, where the executable program code includes instructions.
- the internal memory 321 may include a storage program area and a storage data area.
- the storage program area can store an operating system, an application program (such as a sound playback function, an image playback function, etc.) required by at least one function, and the like.
- the data storage area can store data (such as audio data, phone book, etc.) created during the use of the mobile phone 300.
- the internal memory 321 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash storage (UFS), and the like.
- the processor 310 executes various functional applications and data processing of the mobile phone 300 by running instructions stored in the internal memory 321 and/or instructions stored in a memory provided in the processor.
- the mobile phone 300 can implement audio functions through the audio module 370, the speaker 370A, the receiver 370B, the microphone 370C, the earphone interface 370D, and the application processor. For example, music playback, recording, etc.
- the audio module 370 is used to convert digital audio information into an analog audio signal for output, and also used to convert an analog audio input into a digital audio signal.
- the audio module 370 can also be used to encode and decode audio signals.
- the speaker 370A also called a "speaker" is used to convert audio electrical signals into sound signals.
- the mobile phone 300 can listen to music through the speaker 370A, or listen to a hands-free call.
- the receiver 370B also called “earpiece” is used to convert audio electrical signals into sound signals.
- the mobile phone 300 answers a call or a voice message, it can receive the voice by bringing the receiver 370B close to the human ear.
- Microphone 370C also called “microphone”, “microphone”, is used to convert sound signals into electrical signals.
- the user can make a sound by approaching the microphone 370C through the human mouth, and input the sound signal to the microphone 370C.
- the mobile phone 300 can be provided with at least one microphone 370C.
- the mobile phone 300 may be provided with two microphones 370C, in addition to collecting sound signals, it may also implement a noise reduction function (the noise reduction function microphone is a feedback microphone).
- the mobile phone 300 may also be provided with three, four or more microphones 370C to collect sound signals, reduce noise, identify the source of sound, and realize the function of directional recording.
- the gyroscope sensor 380A can be used to determine the movement posture of the mobile phone 300.
- the angular velocity of the mobile phone 300 around three axes ie, x, y, and z axes
- the gyroscope sensor 380A can be determined by the gyroscope sensor 380A.
- the acceleration sensor 380B can detect the movement direction and movement acceleration of the mobile phone 300. When the mobile phone 300 is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the posture of the mobile phone 300, and is used in applications such as horizontal and vertical screen switching, pedometers, and so on.
- the ambient light sensor 380C is used to sense the brightness of the ambient light.
- the mobile phone 300 can adaptively adjust the brightness of the display screen 394 according to the perceived brightness of the ambient light.
- the ambient light sensor 380C can also be used to automatically adjust the white balance when taking pictures.
- the ambient light sensor 380C can also cooperate with the proximity light sensor to detect whether the mobile phone 300 is in the pocket to prevent accidental touch.
- the depth sensor 380D is used to determine the distance from each point on the object to the mobile phone 300.
- the depth sensor 380D may collect depth data of the target object to generate a depth map of the target object. Wherein, each pixel in the depth map represents the distance from the point on the object corresponding to the pixel to the mobile phone 300.
- the indicator 392 may be an indicator light, which may be used to indicate the charging status, power change, and may also be used to indicate messages, missed calls, notifications, and so on.
- the button 390 includes a power-on button, a volume button, and so on.
- the button 390 may be a mechanical button. It can also be a touch button.
- the motor 391 can generate vibration prompts.
- the indicator 392 can be an indicator light, which can be used to indicate the charging status, power change, and can also be used to indicate messages, missed calls, notifications, and so on.
- the SIM card interface 395 is used to connect to the SIM card.
- the SIM card can be connected to and separated from the mobile phone 300 by inserting into the SIM card interface 395 or pulling out from the SIM card interface 395.
- a set of filter parameters includes filter parameters corresponding to the feedforward path, filter parameters corresponding to the feedback path, and filter parameters corresponding to the downstream compensation path.
- the above-mentioned ANC chip 203 respectively processes the sound signals of the feedforward path, the feedback path, and the downstream compensation path based on the filter parameters, so as to realize active noise reduction.
- the feedforward path, the feedback path, and the downstream compensation path are briefly introduced in combination with the processing flowchart described in FIG. 4.
- Feedforward path refers to the path for processing the sound signal collected by the reference microphone.
- the filter parameters corresponding to the feedforward path are related to the signal processing method in the feedforward path.
- the feedforward path includes gain processing and biquad filtering. Processing, limiting processing, etc., the filter parameters corresponding to the feedforward path may include the gain of the feedforward path, the parameters of the biquad filter in the feedforward path, and the parameters of the limiter.
- Feedback path refers to the path for processing the sound signal collected by the error microphone.
- the filter parameter corresponding to the feedback path is also related to the signal processing method in the feedback path.
- the filter parameter corresponding to the feedback path may include the feedback path. The gain, the parameters of the biquad filter in the feedback path, the parameters of the limiter, etc.
- Downstream compensation path refers to the path for processing downstream signals (music played by users, etc.).
- the filtering parameters corresponding to the downstream compensation path may include the gain of the downstream compensation path and the parameters of the downstream compensation filter.
- the signal after processing the downstream signal through the downstream compensation path is used as an input signal of the feedback path, thereby passing through the feedback path Process the signal collected by the error microphone and the processed downstream signal to obtain the reverse noise signal of the feedback path; and process the sound signal collected by the reference microphone through the feedforward path to obtain the reverse noise signal of the feedforward path; The directional noise signal of the feedforward path and the reverse noise signal of the feedback path are summed to obtain a reverse noise signal.
- the leakage state is formed by the earphone and different ear canal environments, the ear canal environment and the user’s ear canal characteristics (referring to the physiological characteristics of the ear canal, such as the width and shape of the ear canal) and the user
- the posture of wearing the headset is related.
- different ear canal environments may include: ear canal environments formed by earphones at different positions of the ear canal of the same user, ear canal environments formed by earphones at the same position of the ear canals of different users, or a combination of these two situations.
- the application examples are not limited.
- the ear canal can be divided into a small ear canal, a middle ear canal, a large ear canal, and so on.
- a semi-open active noise reduction headset for users with small ear canals, the degree of sealing between the headset and the ear canal is better, and the sound played by the earphone leaks less, that is, the sound played by the earphone leaks less;
- the degree of sealing between the earphone and the ear canal is poor (there is a gap between the earphone and the ear canal), the sound played by the earphone leaks more, and the degree of sound leakage is relatively large.
- the degree of leakage of the sound played by the earphone is also related to the posture of the user wearing the earphone.
- the earphone may be located at different positions of the ear canal, and the degree of leakage may be different.
- the leakage state can reflect the degree of sealing between the earphone and the user's ear canal. The smaller the degree of leakage, the better the degree of sealing between the earphone and the user's ear canal, and the less likely it is for sound to leak.
- Howling A phenomenon in which the amplitude or energy of a single-frequency sound signal suddenly increases from small.
- the howling of a semi-open active noise reduction headset may be caused by actions such as the headset being squeezed or the user quickly changing the wearing posture of the headset ,
- the sound signal emitted during howling is called howling noise. Howling can cause discomfort to the user and interfere with the playback of the downlink signal, which seriously affects the audio playback effect.
- Clipping is a phenomenon in which a low-frequency signal overflows to produce crackling noise.
- the crackling produced is claimed as clipping noise.
- clipping noise Generally, when there is a sudden low-frequency noise in the environment, clipping will occur, such as a large bump of a vehicle, and a large-scale low-frequency noise during an airplane landing.
- Noise floor the background noise.
- the noise floor can also be called background noise.
- the noise floor is the noise caused by the performance limitations of the equipment's hardware (such as the circuit in the earphone or other components), such as the TV sound except for the program sound The rustle and so on.
- the noise floor In a noisy environment, the noise floor is generally not perceivable (heard) by the user. When the environment is quiet, the user can perceive the noise floor. Excessive background noise will not only make people irritable, but also drown out the weaker details in the sound.
- Wind noise It is the whirring sound generated when there is wind in the environment. Wind noise affects the normal use of headphones. And because the direction of wind noise is relatively random, the impact of wind noise on the user's ears is different, that is, the left and right ears have different hearing perceptions under the influence of wind noise.
- the active noise reduction method provided in the embodiment of the present application includes three stages, which are specifically as follows:
- the first stage the design process of N 1 sets of filter parameters.
- the second stage for a specific user, the process of determining a set of filtering parameters suitable for the user.
- the third stage After determining a set of filtering parameters for the user, in the process of using the set of filtering parameters to reduce noise, the process of detecting abnormal noise and updating the filtering parameters. Or, after a set of filter parameters are determined for the user, during the process of using the earphone, the wearing posture of the earphone changes and the filter parameter is updated.
- the first stage the design process of N 1 sets of filter parameters.
- the filters of the feedforward path, the feedback path, and the downstream compensation path may be FIR filters or IIR filters.
- the following embodiments, to passage of said feedforward filter, the feedback path and the downlink path is an FIR filter to compensate an example method for generating a set of filter parameters N 1.
- the recording apparatus 500 comprises a semi-open active noise reduction headset 501, the tympanic membrane microphone 502, ANC circuit board 503 and computing device 504 .
- the hardware structure of the semi-open active noise reduction earphone 501 is the same as the structure of the semi-open active noise reduction earphone shown in FIG. .
- the reference microphone, error microphone, and speaker of the semi-open active noise reduction headset 501 are respectively connected to the ANC circuit board 503, and the tympanic membrane microphone 502 is also connected to the ANC circuit board 503.
- the ANC circuit board 503 uses the integrated chip digital audio transmission interface (IIS ) Is connected to the computing device 504.
- IIS integrated chip digital audio transmission interface
- the signals of the reference microphone, error microphone, speaker, and tympanic microphone are sent to the computing device 504 through the ANC circuit board 503 to complete the recording, and then the computing device 504 processes the recorded signals to generate N 1 sets of filter parameters, and subsequently, the N 1 sets of filter parameters are pre-stored in the memory of the semi-open active noise reduction headset.
- the foregoing N 1 set of filter parameters are obtained by processing signals recorded in N 1 ear canal environments based on the foregoing recording device.
- the N 1 filter parameters are determined according to the recording signal of the secondary channel SP mode and the recording signal of the primary channel PP mode.
- the recording signal of the SP mode includes the downlink signal, the signal of the tympanic membrane microphone and the signal of the error microphone of the semi-open active noise reduction headset;
- the recording signal of the PP mode includes the signal of the tympanic membrane microphone and the error microphone of the semi-open active noise reduction headset Signal and the signal of the reference microphone.
- the process of generating a set of filtering parameters includes step 601 to step 609.
- Step 601 When there is a downlink signal, obtain the downlink signal of the loudspeaker, the signal of the error microphone, and the signal of the eardrum microphone.
- Step 602 When there is no downlink signal, obtain the signal of the reference microphone, the signal of the error microphone, and the signal of the eardrum microphone.
- the signal collected in step 601 can be used for secondary channel modeling.
- the recording process with downlink signals in step 601 is referred to as secondary channel (SP) mode for short.
- the signal collected in step 602 can be used for primary channel modeling.
- the recording process without downlink signal in step 602 is simply referred to as the primary channel (PP) mode.
- Step 603 Perform secondary channel modeling according to the downlink signal obtained in step 601, the signal of the error microphone, and the signal of the tympanic microphone, to obtain filter parameters corresponding to the downlink compensation path.
- the secondary channel modeling includes the modeling of the secondary channel from the speaker to the error microphone and the modeling of the secondary channel from the speaker to the tympanic microphone.
- Step 604 Combining the secondary channel model from the speaker to the error microphone and the secondary channel model from the speaker to the tympanic microphone, and the signal obtained in the PP mode, determine the filter parameter corresponding to the feedforward path and the filter parameter corresponding to the feedback path.
- Fig. 6 is a schematic diagram of the process of modeling the secondary channel from the speaker to the error microphone.
- the process of modeling the secondary channel from the speaker to the error microphone includes steps 6031a to 6031d.
- Step 6031a Filter the downlink signal through the first filter.
- the first filter is an FIR filter
- the parameters of the first filter can be a preset set of parameters, or all of them can be set to 0, or a set of randomly generated parameters.
- the application examples are not limited.
- Step 6031b Superimpose the signal of the error microphone acquired in the SP mode with the inverted signal of the filtered downlink signal to obtain the residual signal of the error microphone.
- Step 6031c Perform framing processing on the residual signal of the error microphone and perform Fourier transform; perform framing processing on the downlink signal and perform Fourier transform.
- Step 6031d Use the above-mentioned Fourier transformed downlink signal as a reference signal, and use the Fourier transformed residual signal as an error, and process it through the normalized least mean square (NLMS) algorithm, and perform the inverse Fourier transform of the processing result.
- the inner transform, the result of the inverse Fourier transform is the parameter of the first filter.
- the parameters of the first filter obtained in step 6031d are used to update the parameters of the first filter initialized in step 6031a, and steps 6031a to 6031d are repeated, and finally it will converge (referring to the residual error of the error microphone).
- the model of the first filter for signal convergence is the model of the secondary channel from the speaker to the error microphone.
- the parameters of the converged set of filters are used as the filter parameters corresponding to the downlink compensation path.
- FIG. 7 is a schematic diagram of the process of modeling the secondary channel from the speaker to the tympanic microphone.
- the process of modeling the secondary channel from the speaker to the tympanic microphone includes steps 6032a to 6032d.
- Step 6032a Filter the downlink signal through the second filter.
- the second filter is an FIR filter
- the parameters of the second filter can be a preset set of parameters, or all of them can be set to 0, or a set of randomly generated parameters.
- the application examples are not limited.
- Step 6021b Superimpose the signal of the eardrum microphone acquired in the SP mode with the inverted signal of the filtered downlink signal to obtain the residual signal of the eardrum microphone.
- Step 6031c Perform framing processing on the residual signal of the tympanic membrane microphone and perform Fourier transform; perform framing processing on the downlink signal and perform Fourier transform.
- Step 6031d Use the above-mentioned Fourier transformed downlink signal as a reference signal, and use the Fourier transformed residual signal as an error, and process it through the normalized least mean square (NLMS) algorithm, and perform the inverse Fourier transform of the processing result.
- the inner transform, the result of the inverse Fourier transform is the parameter of the second filter.
- the parameters of the second filter obtained in step 6032d are used to update the parameters of the second filter initialized in step 6032a, and steps 6032a to 6032d are repeated, and finally it will converge (referring to the residual error of the tympanic microphone
- the model of the second filter for signal convergence is the model of the secondary channel from the speaker to the tympanic microphone.
- FIG. 8 is a schematic flowchart of determining the filter parameters corresponding to the feedforward path and the filter parameters corresponding to the feedback path.
- determining the filter parameters corresponding to the feedforward path and the filter parameters corresponding to the feedback path specifically includes steps 6041a to 6041i.
- Step 6041a Filter the signal of the reference microphone acquired in the PP mode through the filter of the feedforward path to obtain the reverse noise signal of the feedforward path (denoted as the AntiFF signal).
- the parameters of the filter of the feedforward path are a set of initialized parameters.
- the parameters of the filter of the feedforward path may be a preset set of parameters, or The parameters of the filter of the feed path are all set to 0, or a set of parameters generated randomly, which is not limited in the embodiment of the present application.
- Step 6041b Process the residual signal of the error microphone through the filter of the feedback path to obtain the reverse noise signal of the feedback path (denoted as the AntiFB signal).
- the residual signal of the error microphone in step 6041b is the reverse noise signal at the previous moment (denoted as the Anti signal).
- the processing result of the secondary channel model from the speaker to the error microphone is inverted and then the PP mode is reversed.
- the sum of the signals of the error microphone obtained below.
- the Anti signal at the previous time is the sum of the AntiFF signal at the previous time and the AntiFB signal at the previous time at the previous time.
- the AntiFF signal in step 6041c and step 6041a is superimposed (ie summed) with the AntiFB signal in step 6041b to obtain a reverse noise signal (ie Anti signal).
- the Anti signal is processed by the secondary channel model from the speaker to the eardrum microphone. Inverted and superimposed with the signal of the tympanic microphone in the PP mode to obtain the residual signal of the tympanic microphone.
- Step 6041d the signal of the reference microphone in the PP mode is processed by the secondary channel model from the speaker to the tympanic microphone.
- Step 6041e Perform framing processing on the processing result of Step 6041d and perform Fourier transform; perform framing processing on the residual signal of the eardrum microphone and perform Fourier transform.
- Step 6041f use the Fourier transformed signal in step 6041e (referring to the signal obtained by framing and Fourier transformation of the processing result of step 6041d) as a reference signal, and use the Fourier transformed signal in step 6041e
- the residual signal of the tympanic microphone is used as an error, processed by the normalized least mean square (NLMS) algorithm, and the processing result is subjected to inverse Fourier transform.
- the result of the inverse Fourier transform is the filter of the feedforward path Parameters.
- Step 6041g the residual signal of the error microphone is processed by the secondary channel model from the speaker to the error microphone.
- Step 6041h Perform framing processing on the processing result of Step 6041g and perform Fourier transform; perform framing processing on the residual signal of the eardrum microphone and perform Fourier transform.
- Step 6041i Use the Fourier-transformed signal in step 6041h (referring to the signal obtained by framing and Fourier-transforming the processing result of step 6041g) as a reference signal, and use the Fourier-transformed signal in step 6041h
- the residual signal of the tympanic membrane microphone is used as the error, processed by the normalized least mean square (NLMS) algorithm, and the processing result is subjected to inverse Fourier transform.
- the result of the inverse Fourier transform is the filter of the feedback path. parameter.
- the parameters of the filter of the feedforward path obtained in step 6041f are used to update the parameters of the filter of the initialized feedforward path
- the parameters of the filter of the feedback path obtained in step 6041i are used to update the filter of the initialized feedback path.
- the parameters of the filter; and repeat steps 6041a to 6041i, and finally the parameters of the convergent filter are used as the filter parameters and the feedback path corresponding to the feedforward path Corresponding filtering parameters.
- N 1 sets of filter parameters are obtained by processing the recording signals corresponding to N 1 different ear canal environments, and the N 1 sets of filter parameters are stored in the memory of the semi-open active noise reduction headset . It should be understood that the N 1 group of filter parameters are used for noise reduction of ambient sound under N 1 leakage states, and has universal applicability, meeting the individual needs of different people.
- the N 1 sets of filter parameters are used as alternative filter parameters for selection.
- the second stage for a specific user, the process of determining a set of filtering parameters suitable for the user.
- an embodiment of the present application provides an active noise reduction method, which is applied to a headset with ANC function (for example, the semi-open active noise reduction headset shown in FIG. 1), and the active noise reduction method includes the steps 901 to step 902.
- Step 901 when the headset is in the ANC operation mode, the headset obtaining first set of filter parameters, the filter parameters are first set of N 1 set of filter parameters prestored in the headphone set, the N 1 group of filter parameters for each N 1 type of leakage state for environmental sound noise reduction.
- N 1 leakage state is formed by the earphone and N 1 different ear canal environments.
- the noise reduction effect of the earphone when the first set of filter parameters is applied is better than
- the leakage state is formed by the earphone and different ear canal environments.
- the ear canal environment is related to the characteristics of the user’s ear canal and the posture of the user wearing the earphone. Different ear canal characteristics and different postures of wearing the earphone are related.
- the combination can form a variety of ear canal environments and also correspond to a variety of leakage conditions.
- the above-described N 1 expression status may leak Species Species N 1 with the fit range of the human ear headphones, earphone N 1 can be expressed with the degree of sealing of the human ear; any leak condition is not specific to a particular headphone
- the wearing state is based on a large number of statistics based on the impedance characteristics of the leakage state, and the typical or differentiated leakage scenarios are obtained.
- the wearing state of the earphone corresponds to an ear canal environment, thereby forming a leakage state.
- the wearing state of the earphone is different due to the characteristics of the user's ear canal and the posture of the user wearing the earphone.
- the current wearing state of the earphone corresponds to a stable ear canal environment, that is, to a stable ear canal feature and wearing posture.
- the noise reduction effect of the above N 1 filter parameters when applied to the earphone varies with the wearing state of the earphone.
- the first set of filter parameters mentioned above is that the N 1 filter parameters are applied to the same environmental sound in the current wearing state of the earphone. When noise reduction, a set of filtering parameters with the best noise reduction effect.
- the environmental noise is the noise formed by the external environment in the ear canal of the user.
- the environmental noise includes background noise in different scenes, such as high-speed rail scenes, office scenes, airplane flight scenes, etc., which are not limited in the embodiments of the present application.
- a set of filter parameters includes filter parameters (FF coefficients) corresponding to the feedforward path, filter parameters (FB coefficients) corresponding to the feedback path, and filter parameters (SPE coefficients) corresponding to the downstream compensation path.
- FF coefficients filter parameters
- FB coefficients filter parameters
- SPE coefficients filter parameters
- the above-mentioned first set of filtering parameters may be determined by the user based on a subjective test of the terminal, or determined by the terminal or determined by the parameter matching algorithm executed by the headset. Based on this, the earphone acquiring the first group of filter parameters includes the earphone acquiring the first group of filter parameters from the terminal or the earphone determining the first group of filter parameters. The specific details will be detailed in the following embodiments.
- Step 902 The earphone uses the first set of filter parameters to reduce noise.
- using the first set of filter parameters to perform noise reduction specifically includes: using the first set of filter parameters to process the sound signal collected by the reference microphone of the headset and the sound signal collected by the error microphone of the headset to generate Reverse noise signal, the reverse noise signal can attenuate part of the environmental noise signal in the ear canal, thereby weakening the noise signal in the user's ear canal, and realizing the noise reduction of the environmental sound.
- the active noise reduction method can determine a set of filter parameters (that is, the current wearing state) that matches the current leakage state (also can be understood as the current wearing state) according to the user's ear canal environment and the leakage state formed by the earphone when the user wears the earphone.
- the above-mentioned first set of filter parameters), and the environmental sound noise reduction based on this set of filter parameters can meet the user's personalized noise reduction needs and improve the noise reduction effect.
- the terminal when said first set of filter parameters is obtained from a terminal, the terminal is determined by a set of filter parameters N 1 from the first set of filter parameters, and headset transmit indication information to indicate that the first set of filter parameter.
- the earphone executes a matching algorithm to determine the first set of filter parameters. Specifically, it includes the following steps 1001 to 1004, or steps 1101 to 1105, or steps 1201 to 1204, or steps 1301 to 1304, or steps 1401 to 1403.
- a first set of filter parameters to determine the headset 10 from N 1 set of filter parameters comprises the step 1001 to step 1004.
- Step 1001 Collect the first signal through the error microphone of the earphone, and obtain the downlink signal of the earphone.
- Step 1002 Determine current frequency response curve information of the secondary channel according to the first signal and the downlink signal.
- the frequency response of the secondary channel is the ratio of the frequency spectrum (ie amplitude) of the first signal after Fourier transformation to the frequency spectrum of the downlink signal after Fourier transformation.
- the frequency response curve information is a curve describing the changing trend of the ratio between the frequency spectrum of the first signal after Fourier transformation and the frequency spectrum of the downlink signal after Fourier transformation.
- the above downlink signal may be a test audio signal (for example, playing a customized music signal online), and the frequency response curve of the secondary channel can be obtained by testing in the frequency range of 100 Hz (Hz)-500 Hz.
- the frequency range may also be other frequency ranges, which are specifically determined according to actual requirements, and are not limited in the embodiment of the present application.
- Step 1003 Determine the target frequency response curve information matching the current frequency response curve information from the preset frequency response curve information of multiple sets of secondary channels.
- the frequency response curve information of the above-mentioned preset multiple sets of secondary channels is for different users in offline testing (specifically refers to users with different ear canal characteristics, such as large ear canal, middle ear canal, or small ear canal. )
- the frequency response curve information of the secondary channel, and the test frequency range is also 100Hz-500Hz.
- the quantity of the frequency response curve information of the above-mentioned preset multiple sets of secondary channels can be determined according to actual conditions, which is not limited in the embodiment of the present application.
- the frequency response curve information of the above-mentioned preset multiple sets of secondary channels The number is 9, and the frequency response curves of the 9 groups of secondary channels are frequency response curves that can reflect different ear canal characteristics.
- Step 1004 Determine a group of filter parameters corresponding to the target frequency response curve information as the first group of filter parameters.
- the aforementioned N 1 sets of filter parameters correspond to the frequency response curve information of the N 1 secondary channels.
- the method determines the headset from the first set of filter parameters N 1 set of filter parameters comprises the step 1101 to step 1105.
- Step 1101 Collect the first signal through the error microphone of the headset, collect the second signal through the reference microphone of the headset, and acquire the downlink signal of the headset.
- Step 1102 Determine a residual signal of the error microphone based on the first signal and the second signal.
- the short-time Fourier transform is performed on the first signal and the second signal respectively, and then the Fourier-transformed second signal is used as the reference signal, and the Fourier-transformed first signal is used as the target signal.
- Kalman filtering and normalized least mean square (NLMS) filtering are used to obtain the residual signal of the error microphone. It should be understood that the residual signal of the error microphone is the frequency spectrum (that is, the amplitude) of the residual signal.
- Step 1103 Determine the current frequency response curve information of the secondary channel according to the residual signal of the error microphone and the downlink signal.
- the current frequency response of the secondary channel is the ratio of the frequency spectrum of the residual signal of the error microphone to the frequency spectrum of the downlink signal after Fourier transform
- the current frequency response curve of the secondary channel describes the error microphone The curve of the change trend of the ratio between the frequency spectrum of the residual signal and the frequency spectrum of the downlink signal after Fourier transform.
- the current frequency response curve of the secondary channel may be time-linearly recursively smoothed to remove abnormal points or noise points on the frequency response curve.
- Step 1104 Determine the target frequency response curve information matching the current frequency response curve information from the frequency response curve information of the multiple preset groups of secondary channels.
- Step 1105 Determine a group of filter parameters corresponding to the target frequency response curve information as the first group of filter parameters.
- the N 1 sets of filter parameters correspond to the frequency response curve information of the N 1 secondary channels.
- the adaptive filtering algorithm filters out the environmental noise and the sound signal of the wearer, and then calculates the frequency response curve information of the secondary channel to improve the accuracy of the frequency response curve of the secondary channel.
- the downlink signal used to determine the first set of filter parameters may be the prompt sound when the ANC function is turned on, that is, the prompt sound when the ANC function is turned on is used as the test signal, and there is no need to test separately, which can improve the working efficiency of the headset.
- the method determines the headset from the first set of filter parameters N 1 set of filter parameters comprises the step 1201 to step 1204.
- Step 1201 Collect the first signal through the error microphone of the headset, and collect the second signal through the reference microphone of the headset.
- Step 1202 Determine current frequency response curve information of the primary channel according to the first signal and the second signal.
- the frequency response of the primary channel is the ratio of the frequency spectrum (ie amplitude) of the first signal after Fourier transformation to the frequency spectrum of the second signal after Fourier transformation
- the current frequency response of the secondary channel is a curve describing the changing trend of the ratio between the frequency spectrum of the first signal after Fourier transformation and the frequency spectrum of the downlink signal after Fourier transformation.
- Step 1203 Determine target frequency response curve information that matches the current frequency response curve information from the preset frequency response curve information of multiple sets of primary channels.
- the frequency response curve information of the multiple preset groups of primary channels is the frequency response of the primary channels of different users in offline testing (specifically refers to users with different ear canal characteristics, such as large ear canal, middle ear canal, or small ear canal) Curve information.
- the frequency response curve information of multiple groups of primary channels can be matched with the current frequency response curve information in the target frequency band to determine the target frequency response curve information.
- the target frequency band is 1000Hz-2000Hz
- the information in the 1000Hz-2000Hz frequency band of the frequency response curve information of multiple sets of primary channels is matched with the information in the 1000Hz-2000Hz frequency band of the current frequency response curve to determine the target frequency response curve information.
- the target frequency band may also be other frequency bands, which are specifically determined according to actual requirements, which are not limited in the embodiment of the present application.
- Step 1204 Determine a group of filter parameters corresponding to the target frequency response curve information as the first group of filter parameters.
- the aforementioned N 1 sets of filter parameters correspond to the frequency response curve information of the N 1 primary channels.
- an adaptive filtering algorithm may also be used to determine the frequency response curve information of the current primary channel, and further determine the target frequency response curve information of the primary channel.
- the method of using an adaptive filtering algorithm to determine the frequency response curve information of the current primary channel includes: performing short-time Fourier transform on the first signal and the second signal respectively, and then using the Fourier transformed second signal as the reference signal, Take the first signal after Fourier transform as the target signal, and use Kalman filter or NLMS filter to minimize the residual signal of the error microphone.
- the amplitude-frequency curve of the final converged Kalman filter or NLMS filter is the primary channel Frequency response curve.
- the method determines the headset from the first set of filter parameters N 1 set of filter parameters comprises the step 1301 to step 1304.
- Step 1301 Collect the first signal through the error microphone of the headset, collect the second signal through the reference microphone of the headset, and acquire the downlink signal of the headset.
- Step 1302 Determine the current frequency response curve information of the primary channel according to the first signal and the second signal, determine the current frequency response curve information of the secondary channel according to the first signal and the downlink signal, and determine the current frequency response ratio curve information.
- the current frequency response ratio curve information is the ratio of the current frequency response curve information of the primary channel to the current frequency response curve information of the secondary channel.
- Step 1303 Determine the target frequency response ratio curve information that matches the current frequency response ratio curve information from the preset multiple sets of frequency response ratio curve information.
- Step 1304 Determine a group of filter parameters corresponding to the target frequency response ratio curve information as the first group of filter parameters.
- the N 1 sets of filter parameters correspond to N 1 frequency response ratio curve information.
- the method determines from the headset first set of filter parameters from the set of filter parameters N 1 comprising the step 1401 to step 1403.
- Step 1401 Obtain frequency response difference curve information of the error microphone and the reference microphone corresponding to the N 1 groups of filter parameters.
- the method of obtaining the frequency response difference curve information of the error microphone and the reference microphone corresponding to the set of filter parameters may include: setting the filter parameters of the semi-open active noise reduction headset For this set of filtering parameters, the first signal is collected through the error microphone of the semi-open active noise reduction headset, and the second signal is collected through the reference microphone of the semi-open active noise reduction headset; the error is determined according to the first signal and the second signal.
- the frequency response curve information of the microphone and the frequency response curve information of the reference microphone, and the frequency response difference curve information of the error microphone and the reference microphone is determined.
- the frequency response difference curve information of the error microphone and the reference microphone is the difference between the frequency response curve information of the error microphone and the frequency response curve information of the reference microphone.
- Step 1402 among the N 1 frequency response difference curve information corresponding to the N 1 groups of filter parameters, the frequency response difference curve with the smallest amplitude corresponding to the target frequency band is determined as the target frequency response difference curve.
- Step 1403 Determine a group of filter parameters corresponding to the target frequency response difference curve information as the first group of filter parameters.
- the active noise reduction method provided in the embodiment of the present application further includes step 903.
- Step 903 The earphone generates N 2 sets of filter parameters at least according to the first set of filter parameters and the second set of filter parameters, and the N 2 sets of filter parameters respectively correspond to different ANC noise reduction intensities.
- the foregoing second set of filter parameters is one of the N 1 sets of filter parameters pre-stored by the earphone; the second set of filter parameters is used for noise reduction of ambient sound in the state where the leakage degree is the smallest among the N 1 leakage states.
- the above N 1 sets of filter parameters are used to reduce noise in the environment in N 1 leakage states.
- the leakage degree corresponding to the N 1 leakage states increases in order
- the above second set of filter parameters It is a set of filtering parameters corresponding to a kind of leakage state with the smallest degree of leakage.
- step 903 may be implemented through step 9031.
- Step 9031 the headset interpolates the first set of filter parameters and the second set of filter parameters to generate N 2 sets of filter parameters.
- a set of filter parameters includes K parameters.
- the first set of filter parameters is taken as the N 2 set of filter parameters in the N 2 sets of filter parameters, which is denoted as Take the second set of filter parameters as the first set of filter parameters of the N 2 sets of filter parameters, denoted as P 1,1 , P 1,2 ,..., P 1,K , and use linear interpolation to filter the first set
- the parameters and the N 2th group of filter parameters are linearly interpolated, and N-2 groups of new filter parameters are inserted. It should be understood that the first set of filtering parameters, the N-2 sets of filtering parameters obtained by interpolation, and the second set of filtering parameters constitute the N 2 sets of filtering parameters.
- the i-th group of filtering parameters is determined according to the following formula, and the value of i is 2, 3,..., N 2 -1.
- ⁇ 1, ⁇ 2,..., ⁇ K are respectively the step factor of K parameters in a set of filtering parameters.
- i take 2, 3,..., N 2 -1 respectively, and N 2 sets of filtering parameters can be obtained by interpolation.
- step 902 and step 903 can be performed first, step 903 can be performed first, and step 902 can be performed, or step 902 and step 902 can be performed at the same time. 903.
- the active noise reduction method provided in the embodiment of the present application further includes step 904 to step 906.
- Step 904 The earphone obtains the target ANC noise reduction intensity.
- the target ANC noise reduction intensity may be determined by a subjective test performed by the user based on the terminal, or determined by the headset, or determined by the terminal.
- the earphone determines the target ANC noise reduction intensity according to the current state of environmental noise. For example, the current environment is relatively quiet, and the headset adaptively selects the ANC noise reduction strength with weaker noise reduction according to the environmental noise state; when the current environment is relatively noisy, the headset adaptively selects the ANC with stronger noise reduction strength according to the state of the environmental noise Noise reduction intensity.
- Step 905 The earphone determines a third set of filter parameters from the N 2 sets of filter parameters according to the target ANC noise reduction strength.
- the ANC noise intensity N 2 set of filter parameters corresponding relation the N different noise reduction parameters corresponding to the intensity of the filter 2 groups, different noise reduction.
- the third group of filter parameters corresponding to the target ANC noise reduction intensity is determined from the N 2 groups of filter parameters.
- Step 906 The earphone uses the third set of filter parameters to reduce noise.
- the third set of filter parameters is used to replace the first set of filter parameters, that is, the third set of filter parameters is used to perform processing on the sound signal collected by the reference microphone of the headset and the sound signal collected by the error microphone of the headset. Processing to generate a reverse noise signal, which can attenuate part of the environmental noise signal in the ear canal, and achieve noise reduction of environmental sound.
- N 2 sets of filters adapted to the current user are generated based on the first set of filter parameters and the second set of filter parameters.
- the third group of filter parameters corresponding to the target ANC noise reduction intensity is further determined from the N 2 groups of filter parameters, so that the third group of filter parameters is used for noise reduction.
- a suitable ANC can be selected according to the state of environmental noise The noise reduction intensity and the noise reduction effect are more in line with the needs of users.
- the active noise reduction method provided in the embodiment of the present application includes step 1601 to step 1604.
- Step 1601 The terminal determines a first set of filtering parameters.
- the first set of filter parameters is one of the N 1 sets of filter parameters pre-stored by the headset.
- the N 1 sets of filter parameters are used to reduce noise in the environment under N 1 leakage states.
- the N 1 leakage states are It is formed by earphones and N 1 different ear canal environments. Among them, in the current wearing state of the earphone, for the same environmental noise, the noise reduction effect of the earphone when the first set of filter parameters is applied is better than the noise reduction effect of the earphone when the other filter parameters in the N 1 set of filter parameters are applied, N 1 It is a positive integer greater than or equal to 2.
- Step 1602 The terminal sends first instruction information to the headset, where the first instruction information is used to instruct the headset to use the first set of filter parameters to reduce noise.
- Step 1603 The headset receives the first indication information from the terminal.
- Embodiment after receiving the first earphone indication information sent by the terminal, determining a first set of filter parameters of the first indication information from the set of filter parameters N 1 headphone stored embodiment of the present application.
- Step 1604 The earphone uses the first set of filter parameters to reduce noise.
- the active noise reduction method can determine a set of filter parameters (that is, the first set of filter parameters) matching the current leakage state according to the user’s ear canal environment and the leakage state formed by the earphone when the user wears the earphone, and is based on This set of filtering parameters performs environmental sound noise reduction, which can meet the user's personalized noise reduction needs and improve the noise reduction effect.
- the above step 1601 (that is, the terminal determines the first set of filter parameters) can be implemented by the terminal executing a matching algorithm, specifically including the following steps 16011a to 16011e, or steps 16012a to 16012e, or steps 16013a to steps 16013e, or step 16014a to step 16014d, or step 16015a to step 16015d.
- the method for the terminal to determine the first set of filtering parameters includes step 16011a to step 16011e.
- Step 16011a The terminal receives the first signal collected by the error microphone of the headset and the second signal collected by the reference microphone of the headset, and acquires the downlink signal of the headset.
- Step 16011b The terminal determines the residual signal of the error microphone based on the first signal and the second signal.
- Step 16011c The terminal determines the current frequency response curve information of the secondary channel according to the residual signal of the error microphone and the downlink signal.
- Step 16011d The terminal determines the target frequency response curve information matching the current frequency response curve information from the preset frequency response curve information of the N 1 secondary channels.
- Step 16011e The terminal determines the filter parameter corresponding to the target frequency response curve information as the first group of filter parameters, and the N 1 group of filter parameters corresponds to the frequency response curve information of the N 1 secondary channels.
- the method for the terminal to determine the first set of filtering parameters includes step 16012a to step 16012e.
- Step 16012a The terminal receives the first signal collected by the error microphone of the earphone and the second signal collected by the reference microphone of the earphone, and acquires the downlink signal of the earphone.
- Step 16012b The terminal determines the residual signal of the error microphone based on the first signal and the second signal.
- Step 16012c The terminal determines the current frequency response curve information of the secondary channel according to the residual signal of the error microphone and the downlink signal.
- Step 16012d The terminal determines the target frequency response curve information matching the current frequency response curve information from the preset frequency response curve information of the N 1 secondary channels;
- Step 16012e The terminal determines the filter parameter corresponding to the target frequency response curve information as the first group of filter parameters, and the N 1 group of filter parameters corresponds to the frequency response curve information of the N 1 secondary channels.
- the method for the terminal to determine the first set of filtering parameters includes step 16013a to step 16013e.
- Step 16013a The terminal receives the first signal collected by the error microphone of the headset and the second signal collected by the reference microphone of the headset, and acquires the downlink signal of the headset.
- Step 16013b The terminal determines the residual signal of the error microphone based on the first signal and the second signal.
- Step 16013c The terminal determines the current frequency response curve information of the secondary channel according to the residual signal of the error microphone and the downlink signal.
- Step 16013d The terminal determines the target frequency response curve information matching the current frequency response curve information from the preset frequency response curve information of the N 1 secondary channels.
- Step 16013e The terminal determines the filter parameter corresponding to the target frequency response curve information as the first group of filter parameters, and the N 1 group of filter parameters corresponds to the frequency response curve information of the N 1 secondary channels.
- the method for the terminal to determine the first set of filtering parameters includes step 16014a to step 16014d.
- Step 16014a The terminal receives the first signal collected by the error microphone of the headset and the second signal collected by the reference microphone of the headset.
- Step 16014b The terminal determines the current frequency response curve information of the primary channel according to the first signal and the second signal.
- Step 16014c The terminal determines the target frequency response curve information matching the current frequency response curve information from the preset frequency response curve information of the N 1 primary channels.
- Step 16014d The terminal determines the filter parameter corresponding to the target frequency response curve information as the first group of filter parameters, and the N 1 group of filter parameters corresponds to the frequency response curve information of the N 1 primary channels.
- the method for the terminal to determine the first set of filtering parameters includes step 16015a to step 16015d.
- Step 16015a The terminal receives the first signal collected by the error microphone of the headset and the second signal collected by the reference microphone of the headset, and acquires the downlink signal of the headset.
- Step 16015b The terminal determines the current frequency response curve information of the primary channel according to the first signal and the second signal, and determines the current frequency response curve information of the secondary channel according to the first signal and the downlink signal; and determines the current frequency response ratio curve information.
- the current frequency response ratio curve information is the ratio of the current frequency response curve information of the primary channel to the current frequency response curve information of the secondary channel.
- Step 16015c The terminal determines the target frequency response ratio curve information that matches the current frequency response ratio curve information from the preset N 1 frequency response ratio curve information.
- Step 16015d The terminal determines the filter parameter corresponding to the target frequency response ratio curve information as the first group of filter parameters, and N 1 groups of filter parameters correspond to N 1 frequency response ratio curve information.
- the active noise reduction method provided by the embodiment of the present application is applied in a scenario where the headset is in the ANC working mode. It can be seen that the headset is in the ANC working mode as a trigger condition for determining the first set of filter parameters. Specifically, the method for making the headset work in the ANC working mode includes the following method 1 or method 2.
- the above-mentioned method one includes step A1 to step A3.
- Step A1 The terminal receives an operation on the first option of the first interface of the terminal, and the first interface is an interface for setting the working mode of the headset.
- Step A2 In response to the operation of the first option, the terminal sends a first instruction to the headset, where the first instruction is used to control the headset to work in the ANC working mode.
- an application corresponding to the headset is installed on the terminal. After the user opens the application and establishes a communication connection with the headset (left headset and/or right headset), the user displays the Perform corresponding operations on the first interface to control the headset to be in different working modes, such as general mode or ANC mode.
- the general mode here is a mode in which the noise reduction function is not turned on.
- the foregoing first operation may be a touch screen operation or a key operation, etc., which is not specifically limited in the embodiment of the present invention.
- the aforementioned touch screen operation is a user's pressing operation, long press operation, sliding operation, click operation, hovering operation (the user's operation near the touch screen), etc., on the touch screen of the terminal.
- the key operation corresponds to the user's single-click operation, double-click operation, long-press operation, and combination key operation of the terminal's power button, volume button, and home button.
- the interface 1701 shown in FIG. 17 is an example of the foregoing first interface.
- the first interface contains different options for setting the working mode of the headset. By selecting different options, the user sets the working mode of the headset.
- the above-mentioned first option corresponds to the ANC working mode.
- the first interface 1701 includes a "general mode” option 1702 and an "ANC mode” option 1703, and the "ANC mode” option 1703 is the first option.
- the user clicks the "ANC mode” option 1703 to control the headset to work in the ANC working mode.
- Step A3 The headset receives the first instruction, and the headset works in the ANC working mode.
- the above-mentioned first instruction may also be an operation instruction of the user on the headset.
- the headset has a key or button to turn on the ANC function. After the user wears the headset, the user presses to turn on the ANC. Function button (equivalent to the first command), the headset enters the ANC working mode.
- the second method above includes step B1 to step B2.
- Step B1 Detect whether the earphone is in the ear.
- the ear-in detection technology is used to detect whether the earphone is in the ear.
- the earphone includes a proximity light sensor, and whether the earphone is in the ear can be detected according to the signal collected by the proximity light sensor.
- Step B2 When it is detected that the earphone has been put into the ear, the earphone works in the ANC working mode.
- the earphone when the earphone detects that the earphone is in the ear, the earphone can automatically turn on the ANC function, so that the earphone works in the ANC working mode.
- the earphone plays an in-ear prompt sound, and after a preset time period when the prompt sound ends (indicating that the earphone is stable in the ear), the earphone works in the ANC working mode.
- the terminal executes the step of determining the first set of filter parameters, or the headset executes the step of acquiring the first set of filter parameters.
- another trigger condition for determining (or acquiring) the first set of filter parameters is: when the headset is already in the ANC working mode, the user performs auxiliary operations on the terminal or headset according to actual needs, thereby triggering the terminal to determine the first set of filter parameters.
- One set of filter parameters or headphones acquire the first set of filter parameters.
- the headset plays the prompt sound that the ANC is turned on, and the first set of filter parameters is determined during the process of playing the in-ear prompt sound, that is, the in-ear prompt sound is used as the test signal ,
- the user determines the first set of filtering parameters based on subjective listening experience.
- the earphone when it is detected that the earphone is in the ear, the earphone works in the ANC working mode, and at the same time, the earphone will play the in-ear prompt sound.
- the first set of filter parameters is determined during the process of playing the in-ear prompt sound, that is, the The in-ear prompt sound is used as a test signal, and the user determines the first set of filtering parameters based on subjective listening experience.
- the active noise reduction method further includes: displaying an ANC control list.
- the ANC control list includes at least one of the following options: a first control option, a second control option, or a third control option; wherein the first control option is used to trigger the determination of the first set of filtering parameters, and the second control option It is used to trigger the generation of N 2 sets of filter parameters, and the third control option is used to trigger the re-determination of the first set of filter parameters.
- FIG. 18A is a schematic diagram of a display effect of the above-mentioned ANC control list
- the interface shown in (a) in FIG. 18A is the first interface 1801
- the first option is the "ANC mode” in the first interface.
- “Option 1801a After the user clicks the "ANC mode” option 1801a in the first interface 1801 shown in (a) of FIG. 18A, the terminal displays the interface 1802 shown in (b) of FIG. 18A. It can be seen that in the interface 1802, the ANC control list 1802a is displayed below the "ANC mode” option.
- the first control option in the ANC control list 1802a is the "optimal gear matching" option, and the second control option is "adaptation".
- the third control option is the "parameter rematch” option.
- the user can select the ANC control mode according to the needs in the ANC control list.
- the ANC control list may also include other options for setting the control mode of the ANC, which are specifically determined according to actual needs and are not limited in the embodiment of the present application.
- FIG. 18B is a schematic diagram of another display effect of the above-mentioned ANC control list
- the interface shown in (a) in FIG. 18B is the first interface 1803, and the first option is the first interface 1803.
- "ANC mode" option 1803a After the user clicks on the "ANC mode” option 1803a in the first interface 1803 shown in (a) in FIG. 18B, the terminal displays the interface 1804 shown in (b) in FIG. 18B, which includes an ANC control list 1804a .
- the ANC control list 1804a includes an option of "optimal gear matching", an option of "adaptation parameter generation", and an option of "parameter rematch".
- step 1601 that is, the terminal determines the first set of filter parameters
- step 1601c the above step 1601 (that is, the terminal determines the first set of filter parameters)
- Step 1601a The terminal receives an operation on the first control option in the ANC control list, and displays a first control.
- the first control includes N 1 preset positions, and the N 1 preset positions correspond to N 1 sets of filter parameters.
- Step 1601b The terminal receives an operation on the first position in the first control, where the first position is one of N 1 preset positions.
- the noise reduction effect when a set of filter parameters corresponding to the first position is applied to the earphone is better than the noise reduction effect when the filter parameters corresponding to other positions in the N 1 preset positions are applied to the earphone.
- Step 1601c In response to the operation on the first position, the terminal determines that a group of filter parameters corresponding to the first position is the first group of filter parameters.
- FIG. 19A is a schematic diagram of a display effect of the above-mentioned first control.
- the terminal displays the interface 1901 shown in (a) in FIG. 19A. That is, (b) in FIG. 18A), the interface 1901 contains the ANC control list.
- the user selects the first control option in the interface 1901, such as the "best gear matching" option 1901a, and the terminal displays FIG. 19A (B) in the interface 1902, in this interface 1902, the first control 1902a is displayed below the ANC control list.
- the first control 1902a may be in the shape of a disc (the first control 1902a may also be referred to as a gear wheel), and the first control 1902a includes a gear adjustment button and N 1 gears, so that the user is in the first Operate in a control 1902a to determine the first set of filtering parameters.
- FIG. 19B is a schematic diagram of another display effect of the above-mentioned first control.
- the terminal displays the interface shown in (a) in FIG. 19B.
- 1903 that is, (b) in Figure 18B
- the interface 1903 contains the ANC control list
- the user selects the first control option in the interface 1903, such as the "best gear matching" option 1903a
- the terminal displays
- the interface 1904 includes the first control 1904a.
- the first control 1904a may be in the shape of a disc.
- the first control 1904a includes a gear adjustment button and N 1 gears, and then the user operates in the first control 1904a to determine the first set of filtering parameters.
- the headset or the terminal executes a matching algorithm to determine the first set of filter parameters, and presents the gear corresponding to the first set of filter parameters in the displayed first control.
- the position corresponding to the gear adjustment button in the first control is the gear corresponding to the current first set of filtering parameters.
- the aforementioned N 1 gears are distributed in the first control, and the first control may be in the shape of a disc, and the N 1 gears are arranged in the first control in a disc shape; the first control may also If it is a bar shape, the N 1 gears are arranged in a bar shape in the first control.
- the foregoing first control may also be a control of other shapes, which is not limited in the embodiment of the present application.
- the user slides the gear adjustment button in the first control to make the gear adjustment button traverse N 1 gear positions, that is, traverse N 1 preset positions.
- the gear adjustment button traverse N 1 gear positions, that is, traverse N 1 preset positions.
- the corresponding noise reduction effect is different. If the above-mentioned gear adjustment button is adjusted to the first position, the user will experience the best effect of the audio played by the headset, and the user no longer adjusts the position of the gear adjustment button, so that the user subjectively feels the best noise reduction effect.
- the corresponding filtering parameters are determined as the first group of filtering parameters.
- the user operates on the first position of the first control to determine the first set of filtering parameters.
- the above-mentioned operation on the first position may be that the user slides the gear adjustment button 2001
- the operation to the first position and the stay time is longer than the preset time (for example, 10 seconds).
- the terminal detects this operation and, in response to the operation on the first position, determines a group corresponding to the first position
- the filter parameters are the first group of filter parameters.
- the interface where the first control is located further includes a selection box 2002.
- the operation in the first position may be an operation in which the user selects the "OK" button in the selection box 2002 after the user slides the gear adjustment button 2003 to the first position.
- the terminal detects this operation and, in response to the operation on the first position, determines that the first position corresponds to One set of filter parameters is the first set of filter parameters.
- the above-mentioned obtaining of the first set of filtering parameters specifically includes step C1 to step C3.
- Step C1 The terminal receives an operation on the third control option in the ANC control list.
- Step C2 In response to the operation on the third control option, the terminal sends a second instruction to the headset, where the second instruction is used to instruct the headset to obtain the first set of filtering parameters.
- the first set of filter parameters acquired according to the instructions of the second instruction is different from the filter parameters used by the headset before receiving the second instruction.
- the earphone reduces noise based on the first set of filter parameters. Subsequently, during the operation of the earphone, the user can also follow the actual situation (for example, The noise reduction effect using the first set of filter parameters cannot meet the needs of the user.) choose to re-determine a set of filter parameters for noise reduction. In this case, the headset can also be instructed to obtain the first set of filter parameters by sending a second instruction. In another case, in other working stages of the headset, the user can also choose to re-determine the first set of filtering parameters according to actual needs, which is not limited in the embodiment of the present application.
- the "parameter rematch” option in the ANC control list in this interface is the above third control option. If the user clicks on "parameter rematch" In the “matching” option, the terminal sends a second instruction to the headset to instruct the headset to obtain the first set of filtering parameters.
- Step C3 The earphone receives the second instruction, and the earphone obtains the first set of filtering parameters.
- a first set of filter parameters acquired earphone of the headset performs matching algorithm is to determine the set of filter parameters from a first set of filter parameters N 1.
- the terminal displays an interface including the first control, so that the first set of filtering parameters is re-determined by operating on the first control.
- the terminal displays the interface 2102 shown in (b) in FIG.
- a first control 2102a is displayed below the ANC control list, and the user operates in the first control 2102a to re-determine the first set of filtering parameters.
- the terminal displays the interface 2104 shown in (b) of the above interface in FIG. 21B. It contains the first control 2104a, and the user operates in the first control 2104a to re-determine the first set of filtering parameters.
- the headset or the terminal executes a matching algorithm to determine the first set of filter parameters, and presents the gears corresponding to the first set of filter parameters in the displayed first control, specifically ,
- the position corresponding to the gear adjustment button in the first control is the gear corresponding to the current first set of filter parameters.
- the active noise reduction method provided in the embodiment of the present application further includes steps D1 to D2.
- Step D1 The terminal receives an operation on the third control option in the ANC control list.
- Step D2 In response to the operation of the third control option, the terminal re-determines the first set of filtering parameters.
- step D2 For a detailed description of step D2, please refer to the description of step 1601 and related content, which will not be repeated here.
- the active noise reduction method provided in the embodiment of the present application further includes step 1605 to step 16010.
- Step 1605 The headset generates N 2 sets of filter parameters at least according to the first set of filter parameters and the second set of filter parameters.
- the above N 2 sets of filter parameters correspond to different ANC noise reduction intensities
- the above second set of filter parameters is one of the N 1 sets of filter parameters pre-stored by the earphone; the second set of filter parameters is used to N 1 type of leakage state, the environmental sound noise reduction is performed in the state with the smallest degree of leakage.
- step 1605 For a detailed description of step 1605, reference may be made to the description of step 903 (including step 9031) in the foregoing embodiment, which is not repeated here.
- the user may also perform operations on the terminal to control the headset to generate N 2 sets of filter parameters, that is, after the first set of filter parameters is determined, the active noise reduction method provided in the embodiment of the present application further includes Step E1 to Step E3.
- Step E1 The terminal receives an operation on the second control option of the ANC control list of the terminal.
- Step E2 In response to the operation of the second control option, the terminal sends a third instruction to the headset, and the third instruction is used to trigger the headset to generate N 2 sets of filter parameters.
- the "adaptation parameter generation” option in the interface is the second control option. If the user clicks on "adaptation""Parametergeneration” option, the terminal sends a third instruction to the headset to trigger the headset to generate N 2 sets of filter parameters.
- Step E3 The headset receives the third instruction.
- the headset after the headset receives the third instruction, the headset generates N 2 sets of filter parameters according to the first set of filter parameters and the second set of filter parameters.
- the N 2 different set of filter parameters corresponding to the noise reduction intensity ANC e.g. N 2 N 2 set of filter parameters corresponding to the noise reduction intensity th ANC
- 2 N is the set of filter parameters adapted to the current user's ear canal N 2 environment set of filter Parameters
- the earphone adopts N 2 groups of filter parameters for noise reduction when the noise reduction intensity is sequentially enhanced.
- Step 1606 The terminal determines the target ANC noise reduction intensity.
- the terminal may determine the target ANC noise reduction intensity according to the current state of environmental noise. For example, the current environment is relatively quiet, and the terminal adaptively selects the ANC with weaker noise reduction intensity according to the environmental noise state; when the current environment is relatively noisy, the terminal adaptively selects the ANC with stronger noise reduction intensity according to the state of environmental noise Noise reduction intensity.
- the user can interact with the terminal to determine the target ANC noise reduction intensity.
- the specific method includes steps 1606a to 1606c.
- Step 1606a The terminal displays a second control.
- the second control includes N 2 preset positions, the N 2 preset positions correspond to N 2 kinds of ANC noise reduction intensities, and the N 2 kinds of ANC noise reduction intensities correspond to N 2 sets of filtering. parameter.
- the terminal displays (b) in FIG. 23A
- a second control 2302a (gear position dial) is displayed below the ANC control list.
- the second control 2302a includes a gear adjustment button and N 2 gears.
- the N The 2 gear positions correspond to N 2 preset positions, and the N 2 preset positions correspond to N 2 sets of filter parameters. It should be noted that, in the first control shown in (b) of FIG. 23A, the noise reduction intensity of the N 2 gears is sequentially increased, and the environmental noise after noise reduction is sequentially reduced by using the N 2 filter parameters.
- the terminal displays as shown in (b) in FIG. 23B Interface 2304, the interface 2304 includes a second control 2304a (gear wheel), the second control 2304a includes a gear adjustment button and N 2 gears, the N 2 gears correspond to N 2 preset positions , And the N 2 preset positions correspond to N 2 sets of filter parameters.
- the interface 2304 includes a second control 2304a (gear wheel), the second control 2304a includes a gear adjustment button and N 2 gears, the N 2 gears correspond to N 2 preset positions , And the N 2 preset positions correspond to N 2 sets of filter parameters.
- Step 1606b The terminal receives an operation on the second position in the second control, where the second position is one of N 2 preset positions.
- the aforementioned N 2 types of ANC noise reduction intensities correspond to N 2 sets of filter parameters, and the N 2 sets of filter parameters are generated according to the first set of filter parameters and the second set of filter parameters.
- the noise reduction effect is better than when the filter parameter corresponding to the ANC noise reduction intensity at other positions in the N 2 preset positions is applied to the earphone. The noise reduction effect.
- Step 1606c In response to the operation on the second position, the terminal determines the ANC noise reduction intensity corresponding to the second position as the target ANC noise reduction intensity.
- the second control is similar to the above-mentioned first control.
- the user slides the gear adjustment button in the second control to make the gear adjustment button traverse N 2 gears, that is, traverse N 2 preset positions.
- To determine the target ANC noise reduction intensity The process of the user operating the second position in the second control to determine the target ANC noise reduction intensity is similar to the process of determining the first set of filtering parameters by the user operating the first position in the first control.
- Figure 20 As well as the content of the above-mentioned embodiment, it will not be repeated here.
- the gear corresponding to the target ANC noise reduction intensity is presented in the second control displayed above, specifically, the gear in the second control
- the position corresponding to the adjustment button is the gear position corresponding to the target ANC noise reduction intensity, refer to (b) in FIG. 23A and (b) in FIG. 23B.
- Step 1607 The terminal sends second instruction information to the headset, where the second instruction information is used to instruct the headset to use the third set of filter parameters corresponding to the target ANC noise reduction strength to perform noise reduction.
- Step 1608 The headset receives the second indication information from the terminal.
- Step 1609 The earphone determines the third set of filter parameters from the N 2 sets of filter parameters according to the target ANC noise reduction strength.
- the earphone determines the filter parameter indicated by the second indication information in the N 2 groups of filter parameters as the third group of filter parameters.
- Step 16010 The earphone uses the third set of filter parameters to reduce noise.
- the active noise reduction method provided by the embodiments of the present application can be respectively applied to the earphone corresponding to the left ear (hereinafter referred to as the left earphone) and the earphone corresponding to the right ear (hereinafter referred to as the right earphone) to achieve the left ear noise reduction and Right ear noise reduction.
- the same set of filter parameters are used to perform left ear noise reduction and right ear noise reduction respectively, which is not limited in the embodiment of the present application.
- the third set of filter parameters is determined from the N 2 sets of filter parameters, and the headset reduces noise based on the third set of filter parameters.
- the user can also choose to re-determine a set of filter parameters for noise reduction according to actual needs, that is, the headset reacquires the first set of filter parameters. Referring to Figure 18A or Figure 18B, the user selects the "parameter rematch" option, the headset restores the N 2 filter parameters in the headset to the above N 1 filter parameters, and then redefines the first filter from the N 1 filter parameters Parameters, and use the first set of filter parameters for noise reduction.
- the headset may also send information to the terminal. For example, after the headset executes the matching algorithm to determine the first set of filter parameters or the third set of filter parameters, the headset sends instruction information to the terminal to indicate the first set of filter parameters or the third set of filter parameters, and then the terminal is in the first set of filter parameters according to the instruction information.
- the gear corresponding to the first set of filter parameters is presented in one control or the gear corresponding to the third set of filter parameters is presented in the second control (that is, the gear corresponding to the target ANC intensity).
- N 2 sets of filters adapted to the current user are generated based on the first set of filter parameters and the second set of filter parameters.
- the third group of filter parameters corresponding to the target ANC noise reduction intensity is further determined from the N 2 groups of filter parameters, so that the third group of filter parameters is used for noise reduction, because the user can select the appropriate ANC according to the state of environmental noise The intensity of noise reduction, so the noise reduction effect is more in line with the needs of users.
- the third stage the process of detecting abnormal noise and updating filter parameters.
- the active noise reduction method further includes the detection and processing of abnormal noise.
- the active noise reduction method provided in the embodiment of the present application further includes step 2401 to step 2404.
- Step 2401 Detect whether there is abnormal noise.
- the abnormal noise includes at least one of the following: howling noise, clipping noise, or bottom noise.
- the user when the user uses the headset, the user turns on the active noise reduction function of the headset (that is, turns on the ANC function of the headset), or switches the working mode of the headset to the ANC working mode.
- the active noise reduction function of the headset that is, turns on the ANC function of the headset
- it is detected in real time whether there is at least one abnormal noise among howling noise, clipping noise or bottom noise, and noise reduction processing is performed.
- the above-mentioned abnormal noise may also include other noises such as wind noise. It should be noted that for different types of noise, detection methods for abnormal noise are different, which will be described in detail in the following embodiments.
- Step 2402 if abnormal noise is detected, update the filter parameters of the earphone.
- the filter parameter of the earphone may be the aforementioned first group of filter parameters or the third group of filter parameters.
- the first group of filter parameters is updated
- the current filter parameter of the earphone is the third group of filter parameters
- the third group of filter parameters is updated.
- Step 2403 Sound signals collected by the reference microphone and the error microphone.
- Step 2404 Based on the updated filter parameters, process the sound signal collected by the reference microphone of the headset and the sound signal collected by the error microphone to generate a reverse noise signal.
- the above-mentioned reverse noise signal is used to attenuate the user’s in-ear noise signal.
- the in-ear noise signal can be understood as the residual noise after the environmental noise is isolated by the earphone after the user wears the earphone.
- the residual noise signal is similar to the external noise signal.
- Environmental noise, earphones, and the fit between the earphones and the ear canal are related to factors; after the earphone generates a reverse noise signal, the earphone plays the reverse noise signal, and the reverse noise signal has the opposite phase to the noise signal in the user’s ear. In this way, the reverse noise signal can attenuate the noise signal in the user's ear, thereby reducing abnormal noise in the ear.
- the step 2401 of detecting abnormal noise and the step 2402 of updating filter parameters are executed by the microprocessor of the headset.
- the ANC chip Perform noise reduction processing (step 2404).
- the noise reduction processing of the ANC chip includes processing of the signal of the feedforward path (that is, the sound signal collected by the reference microphone), the processing of the signal of the feedback path (that is, the signal collected by the error microphone), and Processing of the signal of the downstream compensation path (ie downstream audio).
- the earphone can detect abnormal noise and perform noise reduction processing on the abnormal noise, the interference of the abnormal noise is reduced, the stability of the earphone is improved, and the user's listening experience can be improved.
- the following describes the abnormal noise detection process and the noise signal processing process in detail from the perspective of howling noise, clipping noise, noise floor, and wind noise.
- the method for detecting whether there is howling noise specifically includes step 2601 to step 2602.
- Step 2601. Collect the first signal through the error microphone of the earphone.
- the first signal is down-sampled at a frequency of 16 KHz, and then howling noise is detected based on the first signal.
- Step 2602. If the energy peak of the first signal is greater than the first threshold, determine that there is howling noise; if the energy peak of the first signal is less than or equal to the first threshold, determine that there is no howling noise.
- the energy peak value of the first signal is the energy value corresponding to the peak frequency of the first signal.
- the least mean square (LMS) algorithm is used to determine the first signal The peak frequency. If the peak frequency of the first signal is within the above-mentioned howling detection frequency range, the Gotzel algorithm is used to calculate the energy peak of the first signal, that is, the energy corresponding to the peak frequency of the first signal, so as to be based on the first signal's peak frequency. The energy peak determines whether there is howling noise.
- LMS least mean square
- the low-frequency cut-off frequency of the high-pass filter depends on the lowest frequency of howling, such as 600 Hz.
- the LMS algorithm is used to determine the peak frequency of the first signal on the above-mentioned filtered first signal, specifically to minimize the coefficient error function e(n):
- n is the nth sample data of the current frame, n ⁇ L, and L is the number of sample data contained in the current frame.
- each sample point of the current frame is sequentially iterated, and the frequency w m obtained after iterating to L samples is the peak frequency of the current frame convergence, that is, the peak frequency of the first signal.
- the peak frequency of the current frame is saved as the initial frequency of the next frame, and the peak frequency of the next frame can be obtained by continuing to update the next frame, and so on.
- the Gotzel algorithm is used to calculate the energy peak of the first signal, that is, the energy corresponding to the peak frequency of the first signal, so as to be based on the first signal's peak frequency.
- the energy peak determines whether there is howling noise.
- the peak energy of the first signal is recorded as It is determined by the following formula
- n is the nth sample data of the current frame
- n ⁇ L is the number of sample data contained in the current frame.
- Gotzel algorithm is used to iterate each sample point of the current frame in turn to obtain s(L), s(L-1), and then calculate the peak energy of the first signal
- the method for detecting whether there is howling noise specifically includes step 2701 to step 2702.
- Step 2701. Obtain a reverse noise signal.
- the reverse noise signal is down-sampled at a frequency of 16KHz, and then howling noise is detected based on the reverse noise signal.
- Step 2702 If the energy peak of the reverse noise signal is greater than the second threshold, determine that there is howling noise; if the energy peak of the reverse noise signal is less than or equal to the second threshold, determine that there is no howling noise.
- the energy peak of the reverse noise is the energy value corresponding to the peak frequency of the reverse noise signal.
- step 2602 the method for determining the peak frequency and energy peak of the reverse noise signal is similar to the method for determining the peak frequency and energy peak of the first signal. For details, refer to the relevant description of step 2602 above, which will not be repeated here.
- FIG. 28 is a schematic diagram of the working principle of howling detection and noise reduction processing. Refer to FIG. 28 to understand the active noise reduction method described in this application.
- the above method for updating filter parameters specifically includes step 24021a to step 24021c.
- Step 24021a Determine the type of howling noise according to the first signal collected by the error microphone and the second signal collected by the reference microphone.
- howling noise includes howling noise caused by the feedback path and howling noise caused by the feedforward path.
- howling noise caused by the feedback path is called the first howling noise.
- the howling noise caused by the feedforward path is called the second howling noise, and the types of howling noise include the first howling noise and the second howling noise.
- the peak frequency of the first signal collected by the error microphone is recorded as the first frequency.
- the type of howling noise is determined to be the first howling noise; when the ratio of the energy of the first signal error signal at the first frequency to the energy of the second signal at the first frequency is greater than or equal to the preset threshold, the type of howling is determined
- the type of calling noise is the second howling noise.
- Step 24021b When the howling noise is the first howling noise, reduce the gain of the feedback path in the filter parameter, and the first howling noise is howling noise caused by the feedback path.
- updating the filter parameters refers to reducing the gain of the feedback path, for example, updating the gain of the feedback path to 0, or reducing the gain of the feedback path according to actual needs.
- the examples are not limited.
- Step 24021c When the howling noise is the second howling noise, reduce the gain of the feedforward path in the filter parameters, and the second howling noise is howling interference caused by the feedforward path.
- updating the filter parameters refers to reducing the gain of the feedforward path, for example, updating the gain of the feedforward path to 0, or reducing the gain of the feedforward path according to actual requirements ,
- the embodiments of this application are not limited.
- the above method for updating filter parameters specifically includes step 24022.
- Step 24022 Reduce the gain of the feedforward path and the gain of the feedback path in the filter parameters.
- the gain of the feedforward path and the gain of the feedback path can be reduced by the same magnitude (or multiple), for example, the gain of the feedforward path is reduced to 0.8 times the original gain, and the gain of the feedback path is also reduced to 0.8 times the original gain. Times.
- the gain of the feedforward path and the gain of the feedback path can be reduced according to different amplitudes (or multiples). For example, the gain of the feedforward path is reduced to 0.8 times of the original gain, and the gain of the feedback path is also reduced to 0.6 times of the original gain. It is specifically determined according to actual needs, and is not limited in the embodiment of the present application.
- the gain of the feedforward path and the gain of the feedback path may not be updated, but the gain of the ANTI signal (that is, the output of the feedforward path) may be updated (reduced).
- the sum of the signal and the output signal of the feedback path for example, update the gain of the ANTI signal to 0.
- the signal of the feedforward path ie the sound signal collected by the reference microphone
- the signal of the feedback path ie the sound signal collected by the error microphone
- Generate a reverse noise signal reduce the howling noise in the ear canal, can reduce the interference of abnormal noise, improve the stability of the earphone, and then enhance the user's listening experience.
- the method for detecting whether there is clipping noise specifically includes step 2901 to step 2902.
- Step 2901 Collect the first signal through the error microphone of the headset, or collect the second signal through the reference microphone of the headset.
- the first signal or the second signal is collected, the first signal or the second signal is down-sampled at a frequency of 16KHz.
- Step 2902 If the number of first target frames is greater than the preset number or the number of second target frames is greater than the preset number in the preset time period, it is determined that there is clipping noise; the first target frame is within the preset time period When the number of is less than or equal to the preset number or the number of second target frames is less than or equal to the preset number, it is determined that there is clipping noise.
- the first target frame is a signal frame whose energy is greater than the third threshold in the signal frame contained in the first signal
- the second target frame is a signal frame whose energy is greater than the fourth threshold in the signal frame contained in the second signal.
- the clipping noise in the embodiments of the present application refers to low-frequency clipping noise.
- the first signal or the second signal is collected by the earphone, the first signal or the second signal is low-pass filtered to filter out the first signal or the second signal.
- the high-frequency spurious signal in the first signal or the second signal improves the accuracy of the first signal and the second signal, thereby also improving the accuracy of detecting whether there is clipping noise.
- the foregoing preset time period may be 100 milliseconds, 200 millimeters, 500 milliseconds, etc., and the duration of the preset time period may be adjusted according to actual conditions, which is not limited in the embodiment of the present application.
- the above-mentioned first target frame may also be a signal frame in which the maximum value of the signal in the signal frame contained in the first signal is greater than a certain preset threshold
- the second target frame may be the signal frame in the signal frame contained in the second signal.
- FIG. 30 is a schematic diagram of the working principle of clipping detection and noise reduction processing. Refer to FIG. 30 to understand the active noise reduction method described in this application.
- the above-mentioned method for updating filter parameters specifically includes step 24023a to step 24023b.
- Step 24023a Determine the index corresponding to the current filter parameter, where the index is the index of the current filter parameter in the first filter parameter set.
- the filter parameter corresponding to the current index refers to the current filter index parameter preset in the plurality of sets of filter parameters
- the filter parameters may be a plurality of sets of the above-described set of filter parameters N 1 or N 2 filter parameters set, the N 1 The group of filter parameters constitute the first filter parameter set, and the N 2 groups of filter parameters constitute the second filter parameter set.
- Step 24023b Use the filter parameter corresponding to the index in the third filter parameter set to update the filter parameter corresponding to the feedforward path and/or the filter parameter corresponding to the feedback path in the filter parameters.
- the third filter parameter set includes multiple sets of filter parameters corresponding to the feedforward path and/or multiple sets of filter parameters corresponding to the feedback path.
- the index of the filter parameter is 3.
- the third filter parameter set is used Part or all of the filter parameters corresponding to the feedforward path and/or the filter parameters corresponding to the feedback path in the third set of filter parameters replace the filter parameters corresponding to the feedforward path and/or the feedback path in the current filter parameters Filter parameters.
- the method for detecting whether there is a noise floor specifically includes steps 3101 to 3103.
- Step 3101 Collect a second signal through the reference microphone of the headset.
- the second signal is down-sampled at a frequency of 16KHz.
- Step 3102 Perform noise floor tracking on the second signal to obtain an environmental noise signal.
- the second signal is used as the input of the noise floor tracking (NFT) algorithm to output the sound pressure level of the environmental noise signal.
- NFT noise floor tracking
- Step 3103 When the sound pressure level of the environmental noise signal is less than or equal to the fifth threshold, it is determined that there is a noise floor; when the sound pressure level of the environmental noise is greater than the fifth threshold, it is determined that there is no noise.
- the sound pressure level of the environmental noise signal is less than or equal to the fifth threshold, indicating that the environment is relatively quiet. From the description of the above embodiment, it can be seen that when the environment is quiet, the user can perceive the noise to the bottom, that is, when the environment is quiet enough, The noise floor can be detected. Therefore, in the embodiment of the present application, when the sound pressure level of the environmental noise signal is less than or equal to the fifth threshold, it is determined that there is a noise floor, and the noise floor needs to be reduced.
- FIG. 32 is a schematic diagram of the working principle of background noise detection and noise reduction processing. Refer to FIG. 32 to understand the active noise reduction method described in this application.
- the above method for updating filtering parameters specifically includes step 24024.
- Step 24024 Reduce the gain of the feedforward path and the gain of the feedback path in the filter parameters.
- the gain of the feedforward path and the gain of the feedback path respectively have a linear relationship with the environmental noise signal, and the gain of the feedforward path and the gain of the feedback path change with the smooth change of the sound pressure level of the environmental noise signal.
- the smaller the sound pressure level of the environmental noise signal the smaller the gain of the feedforward path and the gain of the feedback path.
- the gain of the feedforward path and the gain of the feedback path are determined according to the linear relationship between the gain of the feedforward path and the gain of the feedback path and the environmental noise signal respectively.
- the method for detecting whether there is wind noise specifically includes step 3301 to step 3302.
- Step 3301 Collect the second signal through the reference microphone of the headset, and collect the third signal through the call microphone of the headset.
- the second signal and the third signal are collected, the second signal and the third signal are down-sampled at a frequency of 16KHz.
- Step 3302 in the case that the correlation between the second signal and the third signal is less than the sixth threshold, determine that there is wind noise interference; if the correlation between the second signal and the third signal is greater than or equal to the sixth threshold In this case, it is determined that there is no wind noise interference.
- the second signal and the third signal are respectively Fourier transformed, and then the correlation function (the existing correlation calculation method) is used to calculate the correlation between the second signal and the third signal, and then based on the correlation
- the size of the sex determines whether there is wind noise. It should be understood that the result of wind noise detection is no wind or wind.
- FIG. 34 is a schematic diagram of the working principle of wind noise detection and noise reduction processing. Refer to FIG. 34 to understand the active noise reduction method described in this application.
- the above-mentioned method for updating filter parameters specifically includes step 24025a to step 24025c.
- Step 24025a Analyze the energy of the second signal to determine the level of wind noise interference.
- the level of wind noise interference may include light wind or strong wind.
- two preset thresholds can be set, such as a first preset threshold and a second preset threshold.
- the first preset threshold is less than the second preset threshold.
- the threshold is set, it is determined that there is no wind.
- the energy of the second signal is greater than the first preset threshold and less than the second preset threshold, the level of wind noise interference is low wind, and when the energy of the second signal is greater than or equal to the second preset At the threshold, the level of wind noise interference is strong wind.
- Step 24025b Monitor the level of wind noise interference, and determine the corresponding wind noise control state.
- the wind noise control state may include one of the following (11 types): no wind state, no wind entering small wind state, small wind entering high wind state, strong wind entering small wind state, strong wind entering small wind and then entering high wind State, small wind enters no wind state, small wind enters no wind and then enters low wind state, small wind hold state, high wind hold state, high wind to small wind retreat state or small wind to no wind retreat state.
- the above-mentioned 11 wind noise control state can also be illustrated by FIG. 35.
- Step 24025c Use the fourth filter parameter to concentrate the filter parameters corresponding to the wind noise control state, and update the filter parameters corresponding to the feedforward path in the filter parameters.
- the fourth filter parameter set includes filter parameters corresponding to the feedforward path corresponding to various wind noise control states.
- the filter parameter corresponding to the feedforward path may be the parameter of the low frequency shelf filter in the feedforward path, including the center frequency and gain of the low frequency shelf filter.
- the filter parameters corresponding to the above-mentioned feedforward path change smoothly with time. For example, in a set time period, one set of filter parameters is used for wind noise control, and another set of filter parameters is used for wind noise control in another set time period.
- the filter parameter corresponding to the feed-forward path is the parameter of the low-frequency shelf filter as an example.
- the embodiment of the present application provides a parameter design solution for the low-frequency shelf filter. Referring to FIG. 35 and FIG. 36, the above can be determined Filter parameters corresponding to 11 different wind noise control states. For example, referring to Fig. 36, for the state where small wind turns to strong wind, wind noise control is performed within 50 milliseconds by means of smooth transition of parameters.
- the center frequency and gain are (712Hz, -11.2dB) ), (1024Hz, -12.4dB), (1544Hz, -14.4dB), (2272Hz, -17.2dB) and (3000Hz, -20dB) are used as the parameters of the low-frequency shelf filter to process the signal of the feedforward path.
- the signal of the feedforward path is processed with a parameter with a gain of -140dB.
- the low-frequency shelf filter is updated to a through filter.
- control duration corresponding to each group of center frequency and gain can be set, which is specifically determined according to actual conditions and is not limited in the embodiment of the present application.
- the wind noise control state determined in the above step 2045b as the state 4 in the above table 1 (the state of strong wind entering small wind and then entering high wind) as an example, 20 seconds, (3000Hz, -20dB), (2636Hz, -18.6dB) , (2272Hz, -17.2dB), (1908Hz, -15.8dB), (1544Hz, -14.4dB), (1180Hz, -13dB), (1024Hz, -12.4dB), (868Hz, -11.8dB), (712Hz , -11.2dB), (556Hz, -10.6dB) and within 500 milliseconds, the center frequency and gain are (712Hz, -11.2dB), (1024Hz, -12.4dB), (1544Hz, -14.4dB), ( 2272Hz, -17.2dB) and (3000Hz, -20dB) are used as the filter parameters corresponding to the updated feedforward path.
- the earphone includes the earphone corresponding to the left ear and the earphone corresponding to the right ear.
- the earphone corresponding to the left ear is referred to as the left earphone for short
- the earphone corresponding to the right ear is referred to as the right earphone.
- the headset When a user uses a headset, the user can wear one headset (left headset or right headset) or two headsets (left headset and right headset).
- the hardware structure of the left earphone and the right earphone are similar, and both have corresponding microphones, ANC chips, and microprocessors. In the noise reduction process, the left earphone and the right earphone respectively perform active noise reduction methods.
- the active noise reduction method further includes: synchronously performing wind noise control on the left and right ears of the user.
- the wind noise control state corresponding to the left ear and the wind noise control state corresponding to the right ear are respectively determined, and then the wind noise control state corresponding to the left ear and the wind noise control state corresponding to the right ear are performed. Synchronization, thereby updating the filter parameter according to the synchronized wind noise control state, the left earphone performs noise reduction processing based on the filter parameter, and the right earphone also performs noise reduction processing based on the filter parameter.
- the above method for synchronizing the wind noise control state corresponding to the left ear and the wind noise control state corresponding to the right ear specifically includes: according to the priority of the wind noise control state, the wind noise control state corresponding to the left ear and the right ear are synchronized. In the wind noise control state corresponding to the ear, the low priority wind noise control state is adjusted to the high priority wind noise control state.
- the left earphone and the right earphone can communicate with each other through Bluetooth.
- the left earphone detects the wind noise control state and the right earphone detects the wind noise control state change the left earphone and the right earphone notify each other of their respective The wind noise control state, and then the wind noise control state synchronization is performed according to the above priority strategy.
- the wind noise control states of the left ear and the right ear need to be synchronized, that is, the wind noise control state corresponding to the left earphone or the right earphone is shown in Table 2. In either case, the respective wind noise control status needs to be sent to the other party for synchronization.
- the priorities of the above six wind noise control states from high to low are: 2, 4, 3, 6, 1, 5.
- the other earphone will enter the wind noise control state synchronously. For example, if the wind noise control state (state number) corresponding to the left earphone is 4, the left earphone will Wind noise control status 4 is sent to the right earphone. If the wind noise control status corresponding to the right earphone is 1, then the right earphone needs to change its corresponding wind noise control status to 4, that is, the wind noise control status corresponding to the right earphone remains Synchronize.
- the priority of wind noise control state 3 can also be the same as wind noise control state 4.
- the priority of the wind noise control state 1 can be the same as the wind noise control state 6. Have the same priority.
- an application corresponding to the headset is installed on the terminal. After the user opens the application and establishes a communication connection with the headset (left headset and/or right headset), the user can perform corresponding operations on the terminal , To control the headset to work in different working modes, for example, to make the headset work in the ANC working mode.
- different noise reduction modes may be further selected in the ANC working mode.
- the user can turn on one or more of the above-mentioned howling noise, clipping noise, noise floor or wind noise according to the characteristics of the environment where the user is currently located. For example, if the user is currently on a windy hillside, the user can turn on the wind noise control mode to detect wind noise and reduce noise.
- the terminal may also display a setting interface in the ANC working mode, which at least includes the options and settings of the ANC control mode in the above embodiment.
- a setting interface in the ANC working mode which at least includes the options and settings of the ANC control mode in the above embodiment.
- the terminal displays the interface shown in FIG. 18A (b) or FIG. 18B (b) in the foregoing embodiment.
- the terminal displays an interface 3702 shown in (b) in Figure 37.
- the interface 3702 includes options for different noise control modes.
- the interface 3702 includes "Howell Call control mode” option 3702a, "clipping control mode” option 3702b, "noise control mode” option 3702c and “wind noise control mode” option 3702d, when the user selects "wind noise control mode” option 3702d in this interface 3702
- “wind noise control mode” option 3702d if the user clicks the "wind noise control mode” option 3702d, the headset will perform wind noise detection and noise reduction processing.
- the user can activate one control mode or multiple control modes at the same time according to actual needs.
- the active noise reduction method provided in the embodiment of the present application further includes: the terminal displays a noise detection result, and the noise detection result includes at least one of the following: howling noise, clipping noise, noise floor, or wind noise.
- the earphone after the earphone detects the abnormal noise, the earphone sends instruction information to the terminal to indicate the type of the abnormal noise, and the terminal displays the noise detection result.
- the terminal may also display a setting list in the ANC working mode, and the setting list includes at least the options set by the ANC control mode in the foregoing embodiment
- ANC noise reduction mode setting options can also include viewing options for noise detection results.
- the terminal displays the interface 3801 as shown in Figure 38(a), and below the "ANC Mode” option in the interface 3801 is displayed "Noise Reduction Mode” Settings” option and "Noise detection result” option.
- the terminal displays the interface 3802 shown in (b) in Figure 38.
- the interface 3802 displays the type of noise currently detected. For example, it is detected that the current noise type is howling noise. .
- the active noise reduction method provided in the embodiment of the present application further includes: the terminal displays an index corresponding to the filter parameter, and the index is an index of the current filter parameter in a preset filter parameter set.
- the index of the filter parameter may be represented by different gears.
- the filter parameter includes N 1 gears, and each gear corresponds to a different filter parameter.
- the gear position of the filter parameter is displayed on the terminal in the form of a disc, or may be displayed in the form of a bar, of course, it may also be displayed in other forms, which is not limited in the embodiment of the present application.
- the earphone detects the presence of abnormal noise, and then updates the filter parameters on the basis of a set of initialized filter parameters, and displays the updated filter parameter index (that is, gear) on the display screen of the terminal, so that the user can intuitively know the current drop noisysy situation (e.g. Figure 20).
- an embodiment of the present application provides a headset.
- the headset includes an acquisition module 3901 and a processing module 3902.
- the obtaining module 3901 is used in the case of ANC headset is in operating mode, acquiring a first set of filter parameters; the first set of filter parameters N 1 headphone set of filter parameters prestored in a group, for example the acquisition module 3901 It is used to execute step 901 in the foregoing method embodiment.
- the processing module 3902 is configured to use the first set of filter parameters to reduce noise.
- the processing module 3902 is configured to perform step 902 in the foregoing method embodiment.
- the headset provided in the embodiment of the present application further includes a generating module 3903, a determining module 3904, a receiving module 3905, a first signal acquisition module 3906, a second signal acquisition module 3907, a detection module 3908, and an update module 3909.
- the generating module 3903 is configured to execute step 903 (including step 9031) and step 1605 in the foregoing method embodiment.
- the determination module 3904 is used to execute step 905, step 1002 to step 1004, or step 1102 to step 1105, or step 1202 to step 1204, or step 1302 to step 1304, or step 1402 to step 1403 and step in the above method embodiment 1609.
- the receiving module 3905 is configured to execute step 1603 and step 1608 in the foregoing embodiment.
- the first signal collection module 3906 is configured to execute step 1001, step 1101, step 1201, step 1301, step 2403, etc. in the foregoing method embodiment.
- the second signal collection module 3907 is configured to execute step 1101, step 1201, step 1301, step 2403, etc. in the foregoing method embodiment.
- the detection module 3908 is used to update the first set of filter parameters. For example, the detection module 3908 is used to perform step 2401 in the above method embodiment.
- the update module 3909 is configured to execute step 2402 in the foregoing method embodiment.
- the foregoing modules can also perform other related actions in the foregoing method embodiments.
- the acquisition module 3901 is also used to perform step 904 and step 1401
- the processing module 3902 is also used to perform step 906, step 1604, step 16010, and step 2404.
- steps 904 and step 1401 are also used to perform step 906, step 1604, step 16010, and step 2404.
- the device embodiment described in FIG. 39 is only illustrative.
- the division of the above-mentioned units (or modules) is only a logical function division, and there may be other divisions in actual implementation, such as multiple units. Or components can be combined or integrated into another system, or some features can be omitted or not implemented.
- the functional units in the various embodiments of the present application may be integrated into one module, or each module may exist alone physically, or two or more units may be integrated into one module.
- the above-mentioned modules in FIG. 39 can be implemented in the form of hardware or software functional units.
- the acquisition module 3901, the processing module 3902, the generation module 3903, the determination module 3904, the detection module 3908, and the update module 3909 may be generated by the processor of the headset after reading the program code stored in the memory Software function module to achieve.
- the above modules can also be implemented by different hardware of the headset, for example, the acquisition module 3901, the generation module 3903, the determination module 3904, the detection module 3908, and the update module 3909 are implemented by the headset's microprocessor (for example, the microprocessor 202 in FIG. 2).
- a part of the processing resources (for example, one core or two cores in a multi-core processor) is implemented in a multi-core processor, and the processing module 3902 is implemented by the ANC chip of the headset (for example, the ANC chip 203 in FIG. 2).
- the above-mentioned first signal acquisition module 3906 is implemented by the error microphone of the earphone
- the second signal acquisition module 3907 is implemented by the reference microphone of the earphone
- the receiving module 3905 is realized by the network interface of the earphone or the like.
- the above functional modules can also be implemented by a combination of software and hardware.
- the detection module 3908 and the update module 3909 are software functional modules generated after the processor reads the program code stored in the memory.
- the terminal includes a determining module 4001 and a sending module 4002.
- the determining module 4001 for determining a first set of filter parameters; the first set of filter parameters N 1 headphone set of filter parameters prestored in a group, for example, determining module 4001 for performing the above-described method steps in the embodiment 1601, Specifically, it includes step 16011b to step 16011e, step 16012b to step 16012e, step 16013b to step 16013e, step 16014b to step 16014d, or step 16015b to step 16015d.
- the sending module 4002 is used to send first indication information to the earphone, and the first indication information is used to instruct the earphone to use the first set of filter parameters to reduce noise.
- the sending module 4002 is used to execute step 1602 in the above method embodiment and so on.
- the terminal provided in the embodiment of the present application further includes a receiving module 4003, an obtaining module 4004, and a display module 4005.
- the receiving module 4003 is used to execute step 16011a, step 16012a, step 16013a, step 16014a, step 16015a, step 1601b, step 1606b, etc. in the foregoing method embodiment.
- the above-mentioned acquisition module 4004 is used to execute step 16011a, step 16012a, step 16013a, step 16015a, etc. in the above method embodiment.
- the above-mentioned display module 4005 is used to execute step 1601a and step 1606a in the above-mentioned method embodiment.
- the above modules can also perform other related actions in the above method embodiments.
- the determining module 4001 is also used to perform step 1601c, step 1606, step 1606c, etc.
- the sending module is also used to perform step 1607.
- the device embodiment described in FIG. 40 is only illustrative.
- the division of the above-mentioned units (or modules) is only a logical function division.
- components can be combined or integrated into another system, or some features can be omitted or not implemented.
- the functional units in the various embodiments of the present application may be integrated into one module, or each module may exist alone physically, or two or more units may be integrated into one module.
- the above-mentioned modules in FIG. 40 can be implemented in the form of hardware or software functional units.
- the above determination module 4001 and acquisition module 4004 may be implemented by software function modules generated after the processor of the terminal reads the program code stored in the memory.
- the above-mentioned modules can also be implemented by different hardware of the terminal.
- the determining module 4001 is implemented by a part of the processing resources in the terminal's processor (for example, one core or two cores in a multi-core processor), or a field programmable gate array is used. (field-programmable gate array, FPGA), or programmable devices such as coprocessors.
- the foregoing sending module 4002 and receiving module 4003 are implemented by the network interface of the terminal and the like.
- the display module 4005 is implemented by the display screen of the terminal.
- N groups of filter parameters are pre-stored on the earphone, and the N groups of filter parameters are respectively used in Environmental sound noise reduction is performed in N kinds of leakage states, and the noise reduction effect of the N groups of filter parameters when applied to the earphone varies with the change of the leakage state between the earphone and the ear canal.
- recording signals corresponding to N different ear canal environments can be processed to generate N sets of filter parameters, and the N sets of filter parameters are stored in the memory of the semi-open active noise reduction headset.
- the N groups of filter parameters are used for noise reduction of ambient sound under N kinds of leakage states, and have universal applicability, and meet the individual needs of different people.
- the method for generating the N groups of filter parameters reference may be made to the related description in the foregoing embodiment, which is not described in detail here.
- the N groups of filter parameters are used as alternative filter parameters for selection.
- a scenario in the process of the user using the active noise reduction headset is: during the online operation of the headset with the ANC function turned on, the wearing state of the headset has changed, resulting in a leakage state between the headset and the ear canal. Changes, the set of filtering parameters currently applied by the headset is no longer the optimal set of filtering parameters, that is, the noise reduction effect of the headset when the current set of filtering parameters is applied for noise reduction becomes worse, which affects the user's listening experience.
- the headset is not off the ear, the user feels that the current wearing posture is uncomfortable, the user manually adjusts the headset, or is affected by other external factors, so that the degree of sealing (or fit) between the headset and the user’s ear canal occurs Changes, for example, the degree of sealing becomes lower or the degree of sealing becomes higher.
- an embodiment of the present application provides an active noise reduction method, which is applied to a headset with an ANC function.
- the active noise reduction method includes steps 4101 to 4103.
- Step 4101 When the earphone is in the ANC working mode, detect whether the leakage state between the earphone and the ear canal has changed.
- the leakage state is formed by the earphone and different ear canal environments.
- the ear canal environment is related to the characteristics of the user’s ear canal and the posture of the user wearing the earphone. Different ear canal characteristics and different postures of wearing the earphone are related.
- the combination can form a variety of ear canal environments and also correspond to a variety of leakage conditions.
- N kinds of leakage states can express the range of the fit between N kinds of earphones and human ears, and can express the degree of sealing between N kinds of earphones and human ears; any kind of leakage state does not specifically refer to a specific earphone wearing state. Instead, perform a large number of statistics based on the impedance characteristics of the leakage state, and obtain typical or differentiated leakage scenarios.
- the wearing state of the earphone corresponds to an ear canal environment, thereby forming a leakage state.
- the wearing state of the earphone is different due to the characteristics of the user's ear canal and the posture of the user wearing the earphone.
- the current wearing state of the earphone corresponds to a stable ear canal environment, that is, to a stable ear canal feature and wearing posture.
- the noise reduction effect of the above-mentioned N groups of filter parameters when applied to the earphone varies with the change of the wearing state of the earphone.
- the frequency band for detecting whether the leakage state between the earphone and the ear canal has changed (hereinafter referred to as the detection frequency band) can be set according to the actual situation, for example, the detection frequency band can be 100Hz-1kHz, 125Hz -500 Hz and other low and medium frequency bands, or other frequency bands, this embodiment of the application does not limit this.
- Step 4102 in a case where a change in the leakage state between the earphone and the ear canal is detected, update the filter parameters of the earphone from the first set of filter parameters to the second set of filter parameters.
- the first set of filter parameters and the second set of filter parameters are two different sets of filter parameters in the N sets of filter parameters pre-stored by the headset, and the N sets of filter parameters are used to perform environmental sound reduction under N types of leakage conditions.
- Noise, N kinds of leakage states are formed by the earphone and N different ear canal environments.
- the noise reduction effect of the earphone when the second set of filter parameters is applied is better than the noise reduction effect of the earphone when the other filter parameters of the N sets of filter parameters are applied.
- the environmental noise is the noise formed by the external environment in the ear canal of the user.
- the environmental noise includes background noise in different scenes, such as high-speed rail scenes, office scenes, airplane flight scenes, etc., which are not limited in the embodiments of the present application.
- the above-mentioned first set of filter parameters is a set of filter parameters applied by the earphone when the leakage state between the earphone and the ear canal does not change.
- the first set of filter parameters may be a set of initial filter parameters determined after the ANC function of the headset is turned on.
- the prompt sound is used as the test audio to be adapted for the user
- a set of optimal filter parameters, or a set of initial filter parameters set by other means; the first set of filter parameters can also be implemented by implementing the active noise reduction method provided in the embodiment of this application.
- the last time The updated set of filtering parameters is not specifically limited in the embodiment of the present application.
- Step 4103 Use the second set of filter parameters to reduce noise.
- using the second set of filter parameters to perform noise reduction specifically includes: using the second set of filter parameters to process the sound signal collected by the reference microphone of the headset and the sound signal collected by the error microphone of the headset to generate Reverse noise signal, the reverse noise signal can attenuate part of the environmental noise signal in the ear canal, thereby weakening the noise signal in the user's ear canal, and realizing the noise reduction of the environmental sound.
- the filter parameters of the earphone are updated from the first set of filter parameters to the second set of filter parameters.
- the above step 4101 can be continued. , To detect whether the leakage state between the earphone and the ear canal changes, and if the leakage state between the earphone and the ear canal changes again, continue to update the filter parameters of the earphone.
- the filter parameters of the earphone can be adaptively updated according to the change of the leakage state between the earphone and the ear canal when the user uses the earphone.
- the noise reduction is performed based on the updated filtering parameters, which can improve the noise reduction effect.
- the active noise reduction method provided in the embodiments of the present application can be applied to a scenario where the headset has no downlink signal, and can also be applied to a scenario where the headset has a downlink signal.
- the method for determining whether the headset has a downlink signal may include: acquiring the downlink signal of the headset during the operation of the headset, and if the energy of the downlink signal of the headset is less than the first preset energy threshold, then It is determined that the earphone has no downlink signal; if the energy of the downlink signal of the earphone is greater than or equal to the first preset energy threshold, it is determined that the earphone has a downlink signal.
- the energy of the downlink signal may be the frame energy of the downlink signal.
- the downlink signal of the headset is obtained as described above, the downlink signal is filtered to obtain the downlink signal in the detection frequency band, and then the frame energy of the downlink signal is calculated When the frame energy of the downlink signal is less than the first preset energy threshold, it is determined that there is no downlink signal.
- the energy of the downlink signal may be the total energy of the amplitude spectrum.
- a short-time Fourier transform is performed on the downlink signal, and the total amplitude spectrum of the downlink signal in the detection frequency band is calculated. Energy. When the total energy of the amplitude spectrum of the downlink signal is less than the first preset energy threshold, it is determined that the headset has no downlink signal.
- the first preset energy threshold corresponding to the different definition methods may be different, and the first preset energy threshold can be set according to actual needs. Not limited.
- step 4101 (that is, detecting whether the leakage state between the earphone and the ear canal has changed) may go through steps 41011a to 41011c.
- Step 41011a Collect the first signal through the error microphone of the headset, and collect the second signal through the reference microphone of the headset.
- Step 41011b Calculate the long-term energy ratio frame by frame according to the first signal and the second signal.
- the sampling frequency of the first signal or the second signal is a frequency of 16 kHz
- the duration of each frame signal can be preset, for example, set to 5 milliseconds (ms) or 20 ms, which is specifically set according to actual conditions.
- the application examples are not limited.
- the long-term energy ratio of the audio frame is an indicator that reflects the noise reduction effect.
- a larger long-term energy ratio indicates a worse noise reduction effect, and a smaller long-term energy ratio indicates a better noise reduction effect.
- the long-term energy ratio of the current frame can be implemented by the following A1-A2.
- A1. Calculate the average energy ratio of the current frame of the first signal and the second signal.
- the following formula (1) is used to calculate the average energy ratio of the current frame of the first signal and the second signal.
- R(m) is the average energy ratio of the current frame of the first signal and the second signal
- P err (m) is the average energy of the current frame of the first signal
- Pref (m) is the current frame of the second signal
- the average energy of the current frame is the mth frame.
- A2. Determine the long-term energy ratio of the current frame according to the average energy ratio of the current frame of the first signal and the second signal.
- the long-term energy ratio of the current frame is a smooth result of the energy ratio of the current frame and the historical frame (the historical frame in the embodiment of the present application refers to the previous frame of the current frame).
- the long-term energy ratio of the current frame may be a smooth result of the energy ratio of the current frame and the long-term energy ratio of the historical frame.
- the following formula (2) is used to calculate the long-term energy ratio of the current frame.
- R smooth (m) is the long-term energy ratio of the current frame
- R(m) is the average energy ratio of the current frame
- R smooth (m-1) is the long-term energy ratio of the historical frame
- ⁇ is the smoothing factor.
- the frame is the m-1th frame.
- the detection frequency band can be 100Hz-1kHz
- the first signal is collected by the error microphone
- the second signal is collected by the reference microphone
- the first signal and the second signal can be processed by a bandpass filter. Filter processing to obtain the first signal and the second signal in the detection frequency band.
- the long-term energy ratio of the current frame can also be implemented by the following B1-B3.
- a short-time Fourier transform is performed on the first signal and the second signal to obtain the frequency spectrum of the first signal and the second signal.
- the order of the aforementioned short-time Fourier transform may be 256. If the signal frame of the first signal or the second signal contains less than 256 samples, the first signal or the second signal is framed Processing, the number of sample points of the signal frame is assembled into 256 samples, that is, the frequency band of 0Hz-16kHz corresponds to 256 frequency points.
- the long-term stationary energy of the current frame of the first signal can be calculated using the following formula (3).
- P err (m, w i ) is the frequency point w i , the long-term stationary energy of the current frame of the first signal
- P err (m-1, w i ) is the frequency point w i
- a and b are smoothing coefficients.
- the long-term stationary energy of the current frame of the second signal can be calculated using the following formula (4).
- Pref (m, w i ) is the long-term stationary energy of the current frame of the second signal at the frequency point w i
- Pref (m-1, w i ) is the frequency point w i
- the second signal Long-term stationary energy of historical frames
- a and b are smoothing coefficients.
- B3. Determine the long-term energy ratio of the current frame according to the long-term stationary energy of the current frame of the first signal and the long-term stationary energy of the current frame of the second signal.
- R(m, w i ) is the long-term stationary energy ratio of the current frame of the first signal and the second signal frame at the frequency point w i.
- the average frame of the long-term stationary energy ratio of all frequency points of the current frame is calculated, and the average value of the long-term stationary energy ratio is the long-term energy ratio of the current frame, specifically referring to the following formula (6).
- R smooth (m) is the long-term energy ratio of the current frame
- K is the total number of frequency points corresponding to the current frame.
- the detection frequency band may be 100Hz-1kHz.
- the transformation result in the detection frequency band is selected to calculate the length of the current frame. Time-to-energy ratio.
- Step 41011c when the long-term energy ratio of the current frame is increased, and the difference between the long-term energy ratio of the current frame and the long-term energy ratio of the historical frame is greater than the first threshold, determine the leakage between the earphone and the ear canal The state has changed; otherwise, it is determined that the leakage state between the earphone and the ear canal has not changed.
- the long-term energy ratio R smooth (m) of the current frame is obtained, and the difference between the long-term energy ratio of the current frame and the long-term energy ratio of the historical frame R smooth (m)-R smooth (m-1) is used.
- R smooth (m)-R smooth (m-1)>0 the long-term energy ratio of the current frame increases, and the noise reduction effect of the headset becomes worse;
- R smooth (m)-R smooth (m-1) ⁇ 0 the long-term energy ratio of the current frame is reduced, and the noise reduction effect of the earphone becomes better.
- the magnitude of the increase in the long-term energy ratio of the current frame is greater than the first preset threshold, that is, R smooth (m)-R smooth (m-1)> ⁇ 1 ( ⁇ 1 is the first threshold, and ⁇ 1 is greater than 0. ), indicating that the leakage state between the earphone and the ear canal has changed, and the noise reduction effect of the earphone is relatively poor due to the change in the leakage state between the earphone and the ear canal.
- the filter parameters of the earphone need to be updated to improve The noise reduction effect of headphones.
- the degree of sealing between the earphone and the human ear may become higher, or the degree of sealing of the earphone may become lower, that is, the higher or lower degree of sealing of the earphone may affect the earphone.
- the noise reduction effect of the earphone results in the deterioration of the noise reduction effect when the earphone applies the current set of filter parameters (for example, the first set of filter parameters mentioned above) for noise reduction.
- the magnitude of the increase in the long-term energy ratio of the current frame is less than or equal to the first preset threshold, that is, R smooth (m)-R smooth (m-1) ⁇ 1 ( ⁇ 1 is the first threshold, ⁇ 1 Greater than 0), indicating that the leakage state between the earphone and the ear canal has not changed, and the noise reduction effect of the earphone has not deteriorated.
- the first preset threshold that is, R smooth (m)-R smooth (m-1) ⁇ 1 ( ⁇ 1 is the first threshold, ⁇ 1 Greater than 0
- the N sets of pre-stored filter parameters corresponding to the N types of leakage states in turn reflect that the degree of sealing between the headset and the human ear changes from high to low, or the N sets of pre-stored filter parameters in the headphones sequentially correspond to the N types of leakage states that reflect the headphones.
- the degree of sealing with the human ear changes from low to high, which is not limited in the embodiment of the present application.
- the N types of leakage states corresponding to the N sets of filter parameters pre-stored in the earphone in turn reflect the change in the degree of sealing between the earphone and the human ear as an example to illustrate the process of updating the filter parameters.
- sexual description
- the above step 4102 (update the filter parameters of the earphone from the first set of filter parameters to the second set of filter parameters) It can be implemented through step 41021a to step 41021c, or through step 41021a to step 41021b, and step 41021d to step 41021f.
- Step 41021a Update the filter parameters of the earphone from the first set of filter parameters to the third set of filter parameters.
- the index of the first group of filter parameters in the pre-stored N groups of filter parameters is n
- the index of the third group of filter parameters is n-1.
- R smooth (m)-R smooth (m-1)> ⁇ 1 it can be known that the leakage state between the earphone and the ear canal has changed. At this time, it is impossible to know whether the degree of sealing between the earphone and the human ear becomes higher or lower. It should be understood that if the degree of sealing between the earphone and the human ear becomes higher, when the filter parameter of the earphone is updated, the index of the filter parameter should be reduced, for example, the index of the filter parameter of the earphone should be reduced to n-1. If the degree of sealing between the earphone and the human ear becomes lower, when the filter parameter of the earphone is updated, the index of the filter parameter should be increased, for example, the index of the filter parameter of the earphone should be increased to n+1.
- the direction of updating the filter parameter of the earphone may be: reducing the index of the filter parameter or increasing the index of the filter parameter.
- the filter parameter is updated in a manner of reducing the index of the filter parameter.
- the filter parameters of the headset are updated from the first set of filter parameters (index n) to the third set of filter parameters (index n-1), and the noise reduction effect when the third set of filter parameters is applied to the headset is detected, and further Yes, according to the noise reduction effect when the earphone applies the third set of filter parameters, it is determined whether the direction of updating the filter parameters this time is appropriate, that is, whether the method of reducing the index of the filter parameters is appropriate.
- Step 41021b Determine the long-term energy ratio of the current frame when the earphone applies the third set of filter parameters for noise reduction.
- the long-term energy ratio of the current frame is used to measure the noise reduction effect of the earphone. If the earphone applies the third set of filter parameters for noise reduction, the long-term energy ratio of the current frame continues to increase, that is, R smooth (m) -R smooth (m-1)>0, it means that the noise reduction effect becomes worse. If the earphone applies the third set of filter parameters for noise reduction, the long-term energy ratio of the current frame will decrease, that is, R smooth (m)-R smooth (m-1) ⁇ 0, it means that the noise reduction effect becomes better.
- Step 41021c If the earphone applies the third set of filter parameters for noise reduction, the long-term energy ratio of the current frame is reduced, then the index of the third set of filter parameters is used as the starting point, and the index of the filter parameters is reduced one by one until the earphone applies the current
- the difference between the long-term energy ratio of the current frame and the long-term energy ratio of the historical frame is less than the second threshold, and the set of filter parameters corresponding to the current index is the second set of filter parameters .
- the long-term energy ratio of the current frame is reduced, that is, R smooth (m)-R smooth (m-1) ⁇ 0, which indicates the noise reduction of the earphone
- the effect becomes better.
- the direction of updating the filter parameter of the earphone in the above step 41021a is appropriate, that is, the method of reducing the index of the filter parameter is feasible.
- the third set of filter parameters may not be the best Filter parameters.
- the filter parameters of the earphone are updated from the first set of filter parameters to the third set of filter parameters, when the earphone applies the third set of filter parameters for noise reduction, the long duration of the current frame is When the reduction of the energy ratio is greater than the second threshold, starting from the index of the third set of filter parameters, continue to reduce the index of the filter parameters one by one until the earphone applies a set of filter parameters corresponding to a certain index to reduce noise, The difference between the long-term energy ratio of the current frame and the long-term energy ratio of the historical frame is less than the second threshold, and the set of filter parameters is determined as the second set of filter parameters, and subsequently, the headset applies the second set of filter parameters for noise reduction .
- Step 41021d If the earphone applies the third set of filter parameters for noise reduction, the long-term energy ratio of the current frame is increased, then the filter parameters of the earphone are updated from the third set of filter parameters to the fourth set of filter parameters.
- the index of the fourth group of filter parameters is n+1.
- the long-term energy ratio of the current frame increases, that is, R smooth (m)-R smooth (m-1)>0, indicating the noise reduction of the earphone
- the index of the filter parameter of the earphone should be increased.
- the filter parameter of the earphone is increased from n-1 to n+1, that is, step 41021d is to update the filter in the direction of increasing the index of the filter parameter. parameter.
- Step 41021e Determine the long-term energy ratio of the current frame when the earphone applies the fourth set of filter parameters for noise reduction.
- Step 41021f If the long-term energy ratio of the current frame decreases, starting from the index of the fourth group of filter parameters, increase the index of the filter parameters one by one until the earphone applies a group of filter parameters corresponding to the current index for noise reduction, The difference between the long-term energy ratio of the current frame and the long-term energy ratio of the historical frame is less than the second threshold, and a group of filter parameters corresponding to the current index is the second group of filter parameters.
- the long-term energy ratio of the current frame is reduced, that is, R smooth (m)-R smooth (m-1) ⁇ 0, indicating that the earphone has noise reduction
- the effect becomes better.
- the direction of updating the filter parameter of the earphone in the above step 41021d is appropriate, that is, the way of increasing the index of the filter parameter is feasible.
- the fourth set of filter parameters may not be the best filter parameters.
- the long-term energy ratio of the current frame is When the reduction is greater than the second threshold, the index of the fourth set of filter parameters is used as the starting point, and the indexes of the filter parameters are increased one by one until the earphone applies a set of filter parameters corresponding to a certain index to reduce noise, the current frame's The difference between the long-term energy ratio and the long-term energy ratio of the historical frame is less than the second threshold, and the set of filter parameters is determined as the second set of filter parameters, and subsequently, the earphone applies the second set of filter parameters for noise reduction.
- the filter parameters can also be updated by increasing the index of the filter parameters, for example, the earphones Adjust the index of the filter parameter from n to n+1, and then determine the noise reduction effect when the filter parameter with index n+1 is applied to noise reduction. If the filter parameter with index n+1 is applied to the earphone to reduce noise The noise effect becomes better, indicating that it is feasible to increase the index of the filter parameter, and then determine whether to continue to increase the index of the filter parameter; if the earphone applies the filter parameter of index n+1 for noise reduction, the noise reduction effect becomes worse.
- the filter parameters of the earphone are updated from the first group of filter parameters to the second group of filter parameters.
- the parameter process is the opposite of the above steps 41021a to 41021f. Based on the description of steps 41021a to 41021f, it can be clarified that when the N sets of pre-stored filter parameters of the headset correspond to the N types of leakage states in turn, they reflect the degree of sealing between the headset and the human ear.
- the process of updating the filter parameters of the earphone from the first set of filter parameters to the second set of filter parameters will not be described in detail in the embodiment of the present application.
- step 4101 can pass through step 41012a to step 41012d.
- Step 41012a Collect the first signal through the error microphone of the headset, collect the second signal through the reference microphone of the headset, and acquire the reverse noise signal played by the speaker of the headset.
- Step 41012b Determine the current frequency response curve information of the secondary channel according to the first signal, the second signal and the reverse noise signal.
- the method for determining the current frequency response curve information of the secondary channel according to the first signal, the second signal and the reverse noise signal may specifically include: calculating the error microphone error of the earphone according to the first signal and the second signal. Residual signal; then use the reverse noise signal as a reference signal to adaptively filter the residual signal of the error microphone to obtain the current frequency response curve information of the secondary channel.
- the first signal, the second signal, and the reverse noise signal are respectively subjected to short-time Fourier transform, and the transform result of the target noise reduction frequency band is selected to calculate the current frequency response curve information of the secondary channel.
- the target noise reduction frequency band may be 100 Hz-1 kHz.
- the following formula (7) can be used to calculate the residual signal of the error microphone at each frequency point of the earphone, and the residual signal of the error microphone is the error microphone
- the signal ie, the first signal
- w i is the frequency, the frequency spectrum of the residual signal of the error microphone X res (w i) (i.e., amplitude), X err (w i) w i is the frequency, the spectrum of the first signal, X ref (w i ) is the frequency spectrum of the second signal at the frequency point w i , and M PP (w i ) is the frequency response curve information (ie the transfer function of the primary channel) of a variety of offline designed primary channels at the frequency point w i The average value of the value.
- X ref (w i )*M PP (w i ) is the environmental noise signal caused by the change of the leakage state.
- the detection frequency band may be 100Hz-1kHz.
- the transformation result in the detection frequency band is selected Used to calculate the current frequency response curve information of the secondary channel.
- the reverse noise signal is used as the reference signal, and the Kalman filter and the normalized least mean square (NLMS) filter are used to obtain the residual signal of the error microphone.
- NLMS normalized least mean square
- Step 41012c Determine the target frequency response curve information matching the current frequency response curve information of the secondary channel from the frequency response curve information of the N sets of secondary channels corresponding to the N sets of pre-stored filter parameters.
- the index of the first group of filter parameters in the pre-stored N groups of filter parameters is n
- the index of a group of filter parameters corresponding to the target frequency response curve information is x
- Step 41012d When the index x of a group of filter parameters corresponding to the target frequency response curve information and the index n of the first group of filter parameters satisfy
- the index x of a set of filter parameters corresponding to the target frequency response curve information and the index n of the first set of filter parameters satisfy
- the large deviation between the historical frequency response curve information of the first-level channel indicates that the noise reduction effect of applying the first set of filter parameters for noise reduction has deteriorated. In this case, it is determined that the leakage state between the earphone and the ear canal occurs Variety.
- the foregoing step 4102 may be implemented through step 41022a.
- Step 41022a Using the index n of the first group of filter parameters as a starting point, adjust the index of the filter parameters from n to x one by one, and a group of filter parameters corresponding to the index x is the second group of filter parameters.
- the index of the filter parameter is updated from n to x.
- the index of the filter parameter is Adjust one by one until the index of the filter parameter is x, so that the noise reduction effect smoothly transitions to the best effect.
- the above-mentioned active noise reduction method in steps 41012a to 41012c and step 41022a is suitable for a noisy environment (that is, a noisy environment), and is not suitable for a quiet environment.
- the reverse noise is very small.
- the frequency response curve information of the secondary channel calculated with too small reverse noise is not accurate.
- the following method may be used to determine whether the environment is noisy: the third signal is collected through the earphone's out-of-ear microphone, which may include a call microphone or a reference microphone; and the energy of the third signal is determined Whether it is greater than the second preset energy threshold. If the energy of the third signal is greater than the preset threshold, it indicates that the environment is noisy; otherwise, the environment is relatively quiet.
- the energy of the third signal may be the long-term stationary energy of the third signal, and the long-term stationary energy is the long-term stationary energy of each frequency point in the detection frequency band after the short-time Fourier transform of the third signal average of.
- the out-of-ear microphone of the headset may also be other out-of-ear microphones capable of collecting environmental noise other than the aforementioned call microphone and reference microphone, which is not limited in the embodiment of the present application.
- the above method of updating the filter parameters of the earphone from the first set of filter parameters to the second set of filter parameters specifically includes: when the energy of the third signal is greater than the second preset energy threshold or the energy of the second signal is greater than the third preset When the energy threshold is set, the filter parameters of the earphone are updated from the first set of filter parameters to the second set of filter parameters.
- step 4101 may pass through step 41013a to step 41013d.
- Step 41013a Collect the first signal through the error microphone of the earphone, and obtain the downlink signal.
- Step 41013b Determine the current frequency response curve information of the secondary channel according to the first signal and the downlink signal.
- the above method for determining the current frequency response curve information of the secondary channel based on the first signal and the downlink signal may specifically include: using the downlink signal as a reference signal, and adaptively filtering the first signal to obtain the secondary channel Current frequency response curve information.
- the lower row signal is used as the reference signal
- the Kalman filter and the NLMS filter are used to perform adaptive filtering on the first signal
- the amplitude of the converged filter is calculated, namely Get the current frequency response curve information of the secondary channel.
- Step 41013c Determine the target frequency response curve information matching the current frequency response curve information of the secondary channel from the frequency response curve information of the N sets of secondary channels corresponding to the N sets of pre-stored filter parameters.
- the index of a group of filter parameters corresponding to the target frequency response curve information is x, and the index of the above-mentioned first group of filter parameters in the pre-stored N groups of filter parameters is n.
- Step 41013d when the index of a set of filter parameters corresponding to the target frequency response curve information and the index of the first set of filter parameters satisfy
- the detection frequency band may be 125Hz-500Hz.
- the transformation result in the detection frequency band is selected Used to calculate the current frequency response curve information of the secondary channel.
- the foregoing step 4102 may be implemented through step 41023a.
- Step 41023a Using the index n of the first group of filter parameters as a starting point, adjust the index of the filter parameters from n to x one by one, and a group of filter parameters corresponding to the index x is the second group of filter parameters.
- step 41023a Please refer to the description of step 41022a in the foregoing embodiment, which will not be repeated here.
- FIG. 45 shows a schematic diagram of a possible structure of the earphone involved in the foregoing embodiment.
- the headset includes a detection module 4501, an update module 4502, and a processing module 4503.
- the detection module 4501 is used for detecting whether the leakage state between the earphone and the ear canal has changed when the earphone is in the ANC working mode, for example, performing step 4101 (including step 4101 1b to step 4101 1c, or step 4012b to step 4101 in the above method embodiment). 41012d, or step 41013b to step 41013d).
- the update module 4502 is configured to update the filter parameters of the earphone from the first set of filter parameters to the second set of filter parameters when the detection module detects that the leakage state between the earphone and the ear canal has changed, for example, execute the above method embodiment
- step 4102 may include step 41021a to step 41021f, or 41022a, or step 41023a.
- the processing module 4503 is configured to use the second set of filter parameters to reduce noise, for example, perform step 4103 in the foregoing method embodiment.
- the headset provided in the embodiment of the present application further includes a first signal acquisition module 4504 and a second signal acquisition module 4505.
- the first signal collection module 4504 is configured to collect the first signal through the error microphone of the earphone, for example, perform the actions of collecting the first signal in step 41011a, step 41012a, and step 41013a in the foregoing method embodiment.
- the second signal collection module 4505 is configured to collect the second signal through the reference microphone of the earphone, for example, perform the actions of collecting the second signal in step 41011a and step 41012a in the foregoing method embodiment.
- the earphone provided by the embodiment of the present application further includes an acquisition module 4506.
- the acquisition module 4506 is used to acquire the reverse noise signal played by the speaker of the earphone. Action; or the acquisition module 4506 is used to acquire the downlink signal of the headset, for example, execute the action of collecting the downlink signal in step 41013a in the above method embodiment.
- the headset provided in the embodiment of the present application further includes a third signal collection module 4507 and a determination module 4508, and the third signal collection module 4507 is configured to collect the third signal through the call microphone of the headset.
- the determining module 4508 is used to determine whether the energy of the third signal is greater than the second preset energy threshold, so as to determine whether the environment is noisy.
- Each module of the above-mentioned earphone can also be used to perform other actions in the above-mentioned method embodiment, and all relevant content of each step involved in the above-mentioned method embodiment can be quoted from the functional description of the corresponding functional module, which will not be repeated here.
- the structure of the headset described in FIG. 45 is only schematic.
- the division of each unit or module of the headset is only a logical function division.
- the modules can be combined or can be divided. Integrate into another system, or some features can be ignored or not implemented.
- Each functional unit or module in each embodiment of the present application may be integrated into one module, or each module may exist alone physically, or two or more units or modules may be integrated into one module.
- the above-mentioned modules in FIG. 45 can be implemented in the form of hardware or software functional units.
- the detection module 4501, the update module 4502, the processing module 4503, the acquisition module 4506, and the determination module 4508 may be software functional modules generated after the processor of the headset reads the program code stored in the memory. accomplish.
- the above modules can also be implemented by different hardware of the headset.
- the detection module 4501, the update module 4502, the acquisition module 4506, and the determination module 4508 are processed by part of the headset's microprocessor (for example, the microprocessor 202 in FIG. 2).
- Resources for example, one core or two cores in a multi-core processor
- the processing module 4502 is implemented by the ANC chip of the headset (for example, the ANC chip 203 in FIG. 2).
- the first signal acquisition module 4504 is implemented by the error microphone of the earphone
- the second signal acquisition module 4505 is implemented by the reference microphone of the earphone
- the third signal acquisition module 4507 is implemented by the call microphone or the reference microphone of the earphone.
- the above functional modules can also be implemented in a combination of software and hardware.
- the detection module 4501, the update module 4502, and the determination module 4508 are software functional modules generated after the processor reads the program code stored in the memory.
- the above embodiments it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof.
- a software program it can be implemented in the form of a computer program product in whole or in part.
- the computer program product includes one or more computer instructions.
- the computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices.
- the computer instruction may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium.
- the computer instruction may be transmitted from a website, computer, server, or data center through a cable (Such as coaxial cable, optical fiber, digital subscriber line (digital subscriber line, DSL)) or wireless (such as infrared, wireless, microwave, etc.) to another website, computer, server, or data center.
- the computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or a data center integrated with one or more available media.
- the usable medium can be a magnetic medium (for example, a floppy disk, a magnetic disk, a tape), an optical medium (for example, a digital video disc (DVD)), or a semiconductor medium (for example, a solid state drive (SSD)), etc. .
- the disclosed system, device, and method can be implemented in other ways.
- the device embodiments described above are merely illustrative.
- the division of the modules or units is only a logical function division. In actual implementation, there may be other division methods, for example, multiple units or components may be divided. It can be combined or integrated into another system, or some features can be ignored or not implemented.
- the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
- the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
- the functional units in the various embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
- the above-mentioned integrated unit can be implemented in the form of hardware or software functional unit.
- the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium.
- the technical solution of the present application essentially or the part that contributes to the existing technology or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium , Including several instructions to make a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor execute all or part of the steps of the method described in each embodiment of the present application.
- the aforementioned storage media include: flash memory, mobile hard disk, read-only memory, random access memory, magnetic disk or optical disk and other media that can store program codes.
Landscapes
- Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Acoustics & Sound (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Soundproofing, Sound Blocking, And Sound Damping (AREA)
- Headphones And Earphones (AREA)
- Circuit For Audible Band Transducer (AREA)
Abstract
Description
状态编号 | 状态 |
0 | 无风状态 |
1 | 无风进小风状态 |
2 | 小风进大风状态 |
3 | 大风进小风状态 |
4 | 大风进小风再进大风状态 |
5 | 小风进无风状态 |
6 | 小风进无风再进小风状态 |
7 | 小风保持状态 |
8 | 大风保持状态 |
9 | 大风到小风回退状态 |
10 | 小风到无风回退状态 |
状态编号 | 状态 |
1 | 无风进小风 |
2 | 小风进大风 |
3 | 大风进小风 |
4 | 大风进小风再进大风 |
5 | 小风进无风 |
6 | 小风进无风再进小风 |
Claims (65)
- 一种主动降噪方法,其特征在于,应用于具有主动降噪ANC功能的耳机,所述方法包括:当所述耳机处于ANC工作模式时,获取第一组滤波参数;所述第一组滤波参数是所述耳机预存储的N 1组滤波参数中的一组;所述N 1组滤波参数分别用于在N 1种泄漏状态下进行环境音降噪;所述N 1种泄漏状态是由所述耳机与N 1种不同的耳道环境形成的;其中,所述耳机在当前的佩戴状态下,针对同一环境噪声,所述耳机应用所述第一组滤波参数时的降噪效果优于所述耳机应用所述N 1组滤波参数中其它滤波参数时的降噪效果;N 1为大于或等于2的正整数;利用所述第一组滤波参数进行降噪。
- 根据权利要求1所述的方法,其特征在于,所述方法还包括:至少根据所述第一组滤波参数和第二组滤波参数生成N 2组滤波参数;所述N 2组滤波参数分别对应不同的ANC降噪强度;所述第二组滤波参数是所述耳机预存储的N 1组滤波参数中的一组;所述第二组滤波参数用于在所述N 1种泄漏状态中泄漏程度最小的状态下进行环境音降噪。
- 根据权利要求2所述的方法,其特征在于,所述方法还包括:获取目标ANC降噪强度;根据目标ANC降噪强度从所述N 2组滤波参数中确定第三组滤波参数;利用所述第三组滤波参数进行降噪。
- 根据权利要求1至3任一项所述的方法,其特征在于,所述获取第一组滤波参数,包括:从终端接收第一指示信息,所述第一指示信息用于指示所述耳机利用所述第一组滤波参数进行降噪。
- 根据权利要求1至3任一项所述的方法,其特征在于,所述耳机包括误差麦克风;所述获取第一组滤波参数,包括:通过所述耳机的误差麦克风采集第一信号,并且获取所述耳机的下行信号;根据所述第一信号和所述下行信号确定次级通道的当前频响曲线信息;从预设的N 1个次级通道的频响曲线信息中,确定与所述当前频响曲线信息匹配的目标频响曲线信息;将所述目标频响曲线信息对应的一组滤波参数确定为所述第一组滤波参数,所述N 1组滤波参数对应N 1个次级通道的频响曲线信息。
- 根据权利要求1至3任一项所述的方法,其特征在于,所述耳机包括误差麦克风和参考麦克风;所述获取第一组滤波参数,包括:通过所述耳机的误差麦克风采集第一信号,并且通过所述耳机的参考麦克风采集第二信号,以及获取所述耳机的下行信号;基于所述第一信号和所述第二信号确定所述误差麦克风的残差信号;根据所述误差麦克风的残差信号和所述下行信号确定次级通道的当前频响曲线信息;从预设的N 1个次级通道的频响曲线信息中,确定与所述当前频响曲线信息匹配的目标频响曲线信息;将所述目标频响曲线信息对应的一组滤波参数确定为所述第一组滤波参数,所述N 1组滤波参数对应N 1个次级通道的频响曲线信息。
- 根据权利要求1至3任一项所述的方法,其特征在于,所述耳机包括误差麦克风和参考麦克风;所述获取第一组滤波参数,包括:通过所述耳机的误差麦克风采集第一信号,并且通过所述耳机的参考麦克风采集第二信号;根据所述第一信号和所述第二信号确定初级通道的当前频响曲线信息;从预设的N 1个初级通道的频响曲线信息中,确定与所述当前频响曲线信息匹配的目标频响曲线信息;将所述目标频响曲线信息对应的一组滤波参数确定为所述第一组滤波参数,所述N 1组滤波参数对应N 1个初级通道的频响曲线信息。
- 根据权利要求1至3任一项所述的方法,其特征在于,所述耳机包括误差麦克风和参考麦克风;所述获取第一组滤波参数,包括:通过所述耳机的误差麦克风采集第一信号,通过所述耳机的参考麦克风采集第二信号,并且获取所述耳机的下行信号;根据所述第一信号和所述第二信号确定初级通道的当前频响曲线信息,并且根据所述第一信号和所述下行信号确定次级通道的当前频响曲线信息;以及确定当前频响比值曲线信息,所述当前频响比值曲线信息是所述初级通道的当前频响曲线信息与所述次级通道的当前频响曲线信息之比;从预设的N 1个频响比值曲线信息中,确定与所述当前频响比值曲线信息匹配的目标频响比值曲线信息;将所述目标频响比值曲线信息对应的一组滤波参数确定为所述第一组滤波参数,所述N 1组滤波参数对应N 1个频响比值曲线信息。
- 根据权利要求1至3任一项所述的方法,其特征在于,所述耳机包括误差麦克风和参考麦克风;所述获取第一组滤波参数,包括:确定所述N 1组滤波参数分别对应的误差麦克风和参考麦克风的频响差值曲线信息;将所述N 1组滤波参数对应的N 1个频响差值曲线信息中,目标频段对应的幅度最小的频响差值曲线确定为目标频响差值曲线,所述误差麦克风和所述参考麦克风的频响差值曲线信息是所述误差麦克风的频响曲线信息和所述参考麦克风的频响曲线信息之差;将所述目标频响差值曲线信息对应的一组滤波参数确定为所述第一组滤波参数。
- 根据权利要求1至9任一项所述的方法,其特征在于,至少根据所述第一组滤波参数和所述第二组滤波参数生成N 2组滤波参数,包括:对所述第一组滤波参数和所述第二组滤波参数进行插值,生成所述N 2组滤波参数。
- 根据权利要求1至10任一项所述的方法,其特征在于,所获取目标ANC降噪强度,包括:从所述终端接收第二指示信息,所述第二指示信息用于指示所述耳机利用所述目标ANC降噪强度对应的第三组滤波参数进行降噪。
- 根据权利要求1至10任一项所述的方法,其特征在于,所述获取目标ANC降噪强度,包括:根据当前环境噪声的状态确定所述目标ANC降噪强度。
- 根据权利要求1至12任一项所述的方法,其特征在于,在获取第一组滤波参数之前,所述方法还包括:接收第一指令,所述耳机工作于ANC工作模式,所述第一指令用于控制所述耳机工作于ANC工作模式;或者,检测所述耳机是否入耳;在检测到所述耳机已入耳的情况下,所述耳机工作于ANC工作模式。
- 根据权利要求1至13任一项所述的方法,其特征在于,所述获取第一组滤波参数包括:接收第二指令,所述第二指令用于指示所述耳机获取所述第一组滤波参数;其中,所述第一组滤波参数与所述耳机在接收所述第二指令之前采用的滤波参数不同。
- 根据权利要求1至14任一项所述的方法,其特征在于,在获取第一组滤波参数之后,至少根据所述第一组滤波参数和所述第二组滤波参数生成N 2组滤波参数之前,所述方法还包括:接收第三指令,所述第三指令用于触发所述耳机生成所述N 2组滤波参数。
- 根据权利要求1至15任一项所述的方法,其特征在于,所述N 1组滤波参数是根据次级通道SP模式的录音信号和初级通道PP模式的录音信号确定的;其中,所述SP模式的录音信号包括下行信号、鼓膜麦克风的信号以及所述耳机的误差麦克风的信号;所述PP模式的录音信号包括鼓膜麦克风的信号、所述耳机的误差麦克风的信号以及所述耳机的参考麦克风的信号。
- 根据权利要求1至16任一项所述的方法,其特征在于,所述方法还包括:检测是否存在异常噪声,所述异常噪声包括下述至少一种:啸叫噪声、削波噪声或底噪;在检测到存在异常噪声的情况下,更新滤波参数,所述滤波参数包括所述第一组滤波参数或所述第三组滤波参数;通过所述耳机的参考麦克风和误差麦克风采集声音信号;基于更新后的滤波参数,对所述参考麦克风采集的声音信号和所述误差麦克风采集的声音信号进行处理,生成反向噪声信号。
- 根据权利要求1至17任一项所述的方法,其特征在于,所述耳机包括半开放式主动降噪耳机。
- 一种主动降噪方法,其特征在于,应用于与耳机建立通信连接的终端,所述耳机处于ANC工作模式,所述方法包括:确定第一组滤波参数;所述第一组滤波参数是所述耳机预存储的N 1组滤波参数中的一组;所述N 1组滤波参数分别用于在N 1种泄漏状态下进行环境音降噪;所述N 1种泄漏状态是由所述耳机与N 1种不同的耳道环境形成的;其中,所述耳机在当前的佩 戴状态下,针对同一环境噪声,所述耳机应用所述第一组滤波参数时的降噪效果优于所述耳机应用所述N 1组滤波参数中其它滤波参数时的降噪效果;N 1为大于或等于2的正整数;向所述耳机发送第一指示信息,所述第一指示信息用于指示所述耳机利用所述第一组滤波参数进行降噪。
- 根据权利要求19所述的方法,其特征在于,所述确定第一组滤波参数,包括:接收所述耳机的误差麦克风采集的第一信号,并且获取所述耳机的下行信号;根据所述第一信号和所述下行信号确定次级通道的当前频响曲线信息;从预设的N 1个次级通道的频响曲线信息中,确定与所述当前频响曲线信息匹配的目标频响曲线信息;将所述目标频响曲线信息对应的一组滤波参数确定为所述第一组滤波参数,所述N 1组滤波参数对应N 1个次级通道的频响曲线信息。
- 根据权利要求19所述的方法,其特征在于,所述确定第一组滤波参数,包括:接收所述耳机的误差麦克风采集的第一信号和所述耳机的参考麦克风采集第二信号,并且获取所述耳机的下行信号;基于所述第一信号和所述第二信号确定所述误差麦克风的残差信号;根据所述误差麦克风的残差信号和所述下行信号确定次级通道的当前频响曲线信息;从预设的N 1个次级通道的频响曲线信息中,确定与所述当前频响曲线信息匹配的目标频响曲线信息;将所述目标频响曲线信息对应的滤波参数确定为所述第一组滤波参数,所述N 1组滤波参数对应N 1个次级通道的频响曲线信息。
- 根据权利要求19所述的方法,其特征在于,所述确定第一组滤波参数,包括:接收所述耳机的误差麦克风采集的第一信号和所述耳机的参考麦克风采集的第二信号;根据所述第一信号和所述第二信号确定初级通道的当前频响曲线信息;从预设的N 1个初级通道的频响曲线信息中,确定与所述当前频响曲线信息匹配的目标频响曲线信息;将所述目标频响曲线信息对应的滤波参数确定为所述第一组滤波参数,所述N 1组滤波参数对应N 1个初级通道的频响曲线信息。
- 根据权利要求19所述的方法,其特征在于,所述确定第一组滤波参数,包括:接收所述耳机的误差麦克风采集的第一信号和所述耳机的参考麦克风采集的第二信号,并且获取所述耳机的下行信号;根据所述第一信号和所述第二信号确定初级通道的当前频响曲线信息,并且根据所述第一信号和所述下行信号确定次级通道的当前频响曲线信息;以及确定当前频响比值曲线信息,所述当前频响比值曲线信息是所述初级通道的当前频响曲线信息与所述次级通道的当前频响曲线信息之比;从预设的N 1个频响比值曲线信息中,确定与所述当前频响比值曲线信息匹配的目标频响比值曲线信息;将所述目标频响比值曲线信息对应的滤波参数确定为所述第一组滤波参数,所述N 1组滤波参数对应N 1个频响比值曲线信息。
- 根据权利要求19所述的方法,其特征在于,所述确定第一组滤波参数,包括:确定所述N 1组滤波参数分别对应的误差麦克风和参考麦克风的频响差值曲线信息;将所述N 1组滤波参数对应的N 1个频响差值曲线信息中,目标频段对应的幅度最小的频响差值曲线确定为目标频响差值曲线,所述误差麦克风和所述参考麦克风的频响差值曲线信息是所述误差麦克风的频响曲线信息和所述参考麦克风的频响曲线信息之差;将所述目标频响差值曲线信息对应的滤波参数确定为所述第一组滤波参数。
- 根据权利要求19至24任一项所述的方法,其特征在于,所述确定第一组滤波参数之前,所述方法还包括:接收对所述终端的第一界面的第一选项的操作,所述第一界面是对所述耳机的工作模式进行设置的界面;响应于对所述第一选项的操作,向所述耳机发送第一指令,所述第一指令用于控制所述耳机工作于ANC工作模式。
- 根据权利要求25所述的方法,其特征在于,接收对所述终端的第一界面的第一选项的操作之后,所述方法还包括:显示ANC控制列表;所述ANC控制列表中至少包括下述选项中的至少一个:第一控制选项、第二控制选项或第三控制选项;其中,所述第一控制选项用于触发确定所述第一组滤波参数,所述第二控制选项用于触发生成N 2组滤波参数,所述第三控制选项用于触发重新确定第一组滤波参数。
- 根据权利要求26所述的方法,其特征在于,所述确定第一组滤波参数,包括:接收对所述ANC控制列表中的第一控制选项的操作,显示第一控件,所述第一控件包括N 1个预设位置,所述N 1个预设位置对应所述N 1组滤波参数;接收对所述第一控件中的第一位置的操作;所述第一位置为所述N 1个预设位置中的一个,所述第一位置对应的一组滤波参数应用于所述耳机时的降噪效果优于所述N 1个预设位置中的其他位置对应的滤波参数应用于耳机时的降噪效果;响应于对所述第一位置的操作,确定所述第一位置对应的一组滤波参数为所述第一组滤波参数。
- 根据权利要求26或27所述的方法,其特征在于,所述方法还包括:接收对所述ANC控制列表中的第三控制选项的操作;响应于对所述第三控制选项的操作,重新确定第一组滤波参数。
- 根据权利要求26或27所述的方法,其特征在于,所述方法还包括:接收对所述ANC控制列表中的第三控制选项的操作;响应于对所述第三控制选项的操作,向所述耳机发送第二指令,所述第二指令用于指示所述耳机获取所述第一组滤波参数;其中,所述第一组滤波参数与所述耳机在接收所述第二指令之前采用的滤波参数不同。
- 根据权利要求26至29任一项所述的方法,其特征在于,所述方法还包括:接收对所述ANC控制列表中的第二控制选项的操作;响应于对所述第二控制选项的操作,向所述耳机发送第三指令,所述第三指令用于触发所述耳机生成N 2组滤波参数,所述N 2组滤波参数是根据所述第一组滤波参数第二组滤波参数生成的,所述第二组滤波参数是所述N 1组滤波参数中的一组;所述第二组滤波参数用于在所述N 1种泄漏状态中泄漏程度最小的状态下进行环境音降噪。
- 根据权利要求30所述的方法,其特征在于,接收对所述ANC控制列表中的第二控制选项的操作之后,所述方法还包括:显示第二控件;所述第二控件包括N 2个预设位置,所述N 2个预设位置对应N 2种ANC降噪强度,所述N 2种ANC降噪强度对应N 2组滤波参数;接收对所述第二控件中的第二位置的操作;所述第二位置为所述N 2个预设位置中的一个,所述第二位置处的ANC降噪强度所对应的滤波参数应用于所述耳机时的降噪效果优于所述N 2个预设位置中的其他位置处的ANC降噪强度所对应的滤波参数应用于所述耳机时的降噪效果;响应于对所述第二位置的操作,确定所述第二位置对应的ANC降噪强度为目标ANC降噪强度;向所述耳机发送第二指示信息,所述第二指示信息用于指示所述耳机利用所述目标ANC降噪强度对应的第三组滤波参数进行降噪。
- 一种耳机,其特征在于,所述耳机具有主动降噪ANC功能,所述耳机包括获取模块和处理模块:所述获取模块,用于在所述耳机处于ANC工作模式的情况下,获取第一组滤波参数;所述第一组滤波参数是所述耳机预存储的N 1组滤波参数中的一组;所述N 1组滤波参数分别用于在N 1种泄漏状态下进行环境音降噪;所述N 1种泄漏状态是由所述耳机与N 1种不同的耳道环境形成的;其中,所述耳机在当前的佩戴状态下,针对同一环境噪声,所述耳机应用所述第一组滤波参数时的降噪效果优于所述耳机应用所述N 1组滤波参数中其它滤波参数时的降噪效果;N 1为大于或等于2的正整数;所述处理模块,用于利用所述第一组滤波参数进行降噪。
- 根据权利要求32所述的耳机,其特征在于,所述耳机还包括生成模块;所述生成模块,用于至少根据所述第一组滤波参数和第二组滤波参数生成N 2组滤波参数;所述N 2组滤波参数分别对应不同的ANC降噪强度;所述第二组滤波参数是所述耳机预存储的N 1组滤波参数中的一组;所述第二组滤波参数用于在所述N 1种泄漏状态中泄漏程度最小的状态下进行环境音降噪。
- 根据权利要求33所述的耳机,其特征在于,所述耳机还包括确定模块;所述获取模块,还用于获取目标ANC降噪强度;所述确定模块,用于根据目标ANC降噪强度从所述N 2组滤波参数中确定第三组滤波参数;所述处理模块,还用于利用所述第三组滤波参数进行降噪。
- 根据权利要求32至34任一项所述的耳机,其特征在于,所述耳机还包括接收模块;所述接收模块,用于从终端接收第一指示信息,所述第一指示信息用于指示所述 耳机利用所述第一组滤波参数进行降噪。
- 根据权利要求32至34任一项所述的耳机,其特征在于,所述耳机还包括第一信号采集模块;所述第一信号采集模块,用于通过所述耳机的误差麦克风采集第一信号;所述获取模块,还用于获取所述耳机的下行信号;所述确定模块,还用于根据所述第一信号和所述下行信号确定次级通道的当前频响曲线信息;并且从预设的N 1个次级通道的频响曲线信息中,确定与所述当前频响曲线信息匹配的目标频响曲线信息;以及将所述目标频响曲线信息对应的一组滤波参数确定为所述第一组滤波参数,所述N 1组滤波参数对应N 1个次级通道的频响曲线信息。
- 根据权利要求32至34任一项所述的耳机,其特征在于,所述耳机还包括第一信号采集模块和第二信号采集模块;所述第一信号采集模块,用于通过所述耳机的误差麦克风采集第一信号;所述第二信号采集模块,用于通过所述耳机的参考麦克风采集第二信号;所述获取模块,还用于获取所述耳机的下行信号;所述确定模块,还用于基于所述第一信号和所述第二信号确定所述误差麦克风的残差信号;并且根据所述误差麦克风的残差信号和所述下行信号确定次级通道的当前频响曲线信息;从预设的N 1个次级通道的频响曲线信息中,确定与所述当前频响曲线信息匹配的目标频响曲线信息;以及将所述目标频响曲线信息对应的一组滤波参数确定为所述第一组滤波参数,所述N 1组滤波参数对应N 1个次级通道的频响曲线信息。
- 根据权利要求32至34任一项所述的耳机,其特征在于,所述耳机还包括第一信号采集模块和第二信号采集模块;所述第一信号采集模块,用于通过所述耳机的误差麦克风采集第一信号;所述第二信号采集模块,用于通过所述耳机的参考麦克风采集第二信号;所述确定模块,还用于根据所述第一信号和所述第二信号确定初级通道的当前频响曲线信息;并且从预设的N 1个初级通道的频响曲线信息中,确定与所述当前频响曲线信息匹配的目标频响曲线信息;以及将所述目标频响曲线信息对应的一组滤波参数确定为所述第一组滤波参数,所述N 1组滤波参数对应N 1个初级通道的频响曲线信息。
- 根据权利要求32至34任一项所述的耳机,其特征在于,所述耳机还包括第一信号采集模块和第二信号采集模块;所述第一信号采集模块,用于通过所述耳机的误差麦克风采集第一信号;所述第二信号采集模块,用于通过所述耳机的参考麦克风采集第二信号;所述获取模块,还用于获取所述耳机的下行信号;所述确定模块,还用于根据所述第一信号和所述第二信号确定初级通道的当前频响曲线信息,并且根据所述第一信号和所述下行信号确定次级通道的当前频响曲线信息;以及确定当前频响比值曲线信息,所述当前频响比值曲线信息是所述初级通道的当前频响曲线信息与所述次级通道的当前频响曲线信息之比;进而从预设的N 1个频响比值曲线信息中,确定与所述当前频响比值曲线信息匹配的目标频响比值曲线信息;并且将所述目标频响比值曲线信息对应的一组滤波参数确定为所述第一组滤波参数,所述N 1组滤波参数对应N 1个频响比值曲线信息。
- 根据权利要求32至34任一项所述的耳机,其特征在于,所述确定模块,还用于确定所述N 1组滤波参数分别对应的误差麦克风和参考麦克风的频响差值曲线信息;并且将所述N 1组滤波参数对应的N 1个频响差值曲线信息中,目标频段对应的幅度最小的频响差值曲线确定为目标频响差值曲线,所述误差麦克风和所述参考麦克风的频响差值曲线信息是所述误差麦克风的频响曲线信息和所述参考麦克风的频响曲线信息之差;以及将所述目标频响差值曲线信息对应的一组滤波参数确定为所述第一组滤波参数。
- 根据权利要求32至40任一项所述的耳机,其特征在于,所述生成模块,具体用于对所述第一组滤波参数和所述第二组滤波参数进行插值,生成所述N 2组滤波参数。
- 根据权利要求32至41任一项所述的耳机,其特征在于,所述接收模块,还用于从所述终端接收第二指示信息,所述第二指示信息用于指示所述耳机利用所述目标ANC降噪强度对应第三组滤波参数进行降噪。
- 根据权利要求32至41任一项所述的耳机,其特征在于,所述确定模块,还用于根据当前环境噪声的状态确定所述目标ANC降噪强度。
- 根据权利要求32至43任一项所述的耳机,其特征在于,所述耳机还包括检测模块;所述接收模块,还用于接收第一指令,所述耳机工作于ANC工作模式,所述第一指令用于控制所述耳机工作于ANC工作模式;所述检测模块,用于检测所述耳机是否入耳;在所述检测模块检测到所述耳机已入耳的情况下,所述耳机工作于ANC工作模式。
- 根据权利要求32至44任一项所述的耳机,其特征在于,所述接收模块,用于接收第二指令,所述第二指令用于指示所述耳机获取所述第一组滤波参数;其中,所述第一组滤波参数与所述耳机在接收所述第二指令之前采用的滤波参数不同。
- 根据权利要求32至45任一项所述的耳机,其特征在于,所述接收模块,还用于接收第三指令,所述第三指令用于触发所述耳机生成所述N 2组滤波参数。
- 根据权利要求32至46任一项所述的耳机,其特征在于,所述N 1组滤波参数是根据次级通道SP模式的录音信号和初级通道PP模式的录音信号确定的;其中,所述SP模式的录音信号包括下行信号、鼓膜麦克风的信号以及所述耳机的误差麦克风的信号;所述PP模式的录音信号包括鼓膜麦克风的信号、所述耳机的误差麦克风的信号以及所述耳机的参考麦克风的信号。
- 根据权利要求32至47任一项所述的耳机,其特征在于,所述耳机还包括更新模块;所述检测模块,还用于检测是否存在异常噪声,所述异常噪声包括下述至少一种:啸叫噪声、削波噪声或底噪;所述更新模块,用于在所述检测模块检测到存在异常噪声的情况下,更新滤波参数,所述滤波参数包括所述第一组滤波参数或所述第三组滤波参数;所述第一信号采集模块,还用于通过所述耳机的参考麦克风采集声音信号;所述第二信号采集模块,还用于通过所述耳机的误差麦克风采集声音信号;所述处理模块,还用于基于更新后的滤波参数,对所述参考麦克风采集的声音信号和所述误差麦克风采集的声音信号进行处理,生成反向噪声信号。
- 一种终端,其特征在于,所述终端与耳机建立通信连接,所述耳机处于ANC工作模式,所述终端包括确定模块和发送模块;所述确定模块,用于确定第一组滤波参数;所述第一组滤波参数是所述耳机预存储的N 1组滤波参数中的一组;所述N 1组滤波参数分别用于在N 1种泄漏状态下进行环境音降噪;所述N 1种泄漏状态是由所述耳机与N 1种不同的耳道环境形成的;其中,所述耳机在当前的佩戴状态下,针对同一环境噪声,所述耳机应用所述第一组滤波参数时的降噪效果优于所述耳机应用所述N 1组滤波参数中其它滤波参数时的降噪效果;N 1为大于或等于2的正整数;所述发送模块,用于向所述耳机发送第一指示信息,所述第一指示信息用于指示所述耳机利用所述第一组滤波参数进行降噪。
- 根据权利要求49所述的终端,其特征在于,所述终端还包括接收模块和获取模块;所述接收模块,用于接收所述耳机的误差麦克风采集的第一信号;所述获取模块,用于获取所述耳机的下行信号;所述确定模块,具体用于根据所述第一信号和所述下行信号确定次级通道的当前频响曲线信息;并且从预设的N 1个次级通道的频响曲线信息中,确定与所述当前频响曲线信息匹配的目标频响曲线信息;以及将所述目标频响曲线信息对应的一组滤波参数确定为所述第一组滤波参数,所述N 1组滤波参数对应N 1个次级通道的频响曲线信息。
- 根据权利要求49所述的终端,其特征在于,所述终端还包括接收模块和获取模块;所述接收模块,用于接收所述耳机的误差麦克风采集的第一信号和所述耳机的参考麦克风采集第二信号;所述获取模块,用于获取所述耳机的下行信号;所述确定模块,具体用于基于所述第一信号和所述第二信号确定所述误差麦克风的残差信号;根据所述误差麦克风的残差信号和所述下行信号确定次级通道的当前频响曲线信息;并且从预设的N 1个次级通道的频响曲线信息中,确定与所述当前频响曲线信息匹配的目标频响曲线信息;以及将所述目标频响曲线信息对应的滤波参数确定为所述第一组滤波参数,所述N 1组滤波参数对应N 1个次级通道的频响曲线信息。
- 根据权利要求49所述的终端,其特征在于,所述终端还包括接收模块;所述接收模块,用于接收所述耳机的误差麦克风采集的第一信号和所述耳机的参考麦克风采集的第二信号;所述确定模块,具体用于根据所述第一信号和所述第二信号确定初级通道的当前频响曲线信息;并且从预设的N 1个初级通道的频响曲线信息中,确定与所述当前频响曲线信息匹配的目标频响曲线信息;以及将所述目标频响曲线信息对应的滤波参数确 定为所述第一组滤波参数,所述N 1组滤波参数对应N 1个初级通道的频响曲线信息。
- 根据权利要求49所述的终端,其特征在于,所述终端还包括接收模块和获取模块;所述接收模块,用于接收所述耳机的误差麦克风采集的第一信号和所述耳机的参考麦克风采集的第二信号;所述获取模块,用于获取所述耳机的下行信号;所述确定模块,具体用于根据所述第一信号和所述第二信号确定初级通道的当前频响曲线信息,并且根据所述第一信号和所述下行信号确定次级通道的当前频响曲线信息;以及确定当前频响比值曲线信息,所述当前频响比值曲线信息是所述初级通道的当前频响曲线信息与所述次级通道的当前频响曲线信息之比;进而从预设的N 1个频响比值曲线信息中,确定与所述当前频响比值曲线信息匹配的目标频响比值曲线信息;并且将所述目标频响比值曲线信息对应的滤波参数确定为所述第一组滤波参数,所述N 1组滤波参数对应N 1个频响比值曲线信息。
- 根据权利要求49所述的终端,其特征在于,所述确定模块,具体用于确定所述N 1组滤波参数分别对应的误差麦克风和参考麦克风的频响差值曲线信息;并且将所述N 1组滤波参数对应的N 1个频响差值曲线信息中,目标频段对应的幅度最小的频响差值曲线确定为目标频响差值曲线,所述误差麦克风和所述参考麦克风的频响差值曲线信息是所述误差麦克风的频响曲线信息和所述参考麦克风的频响曲线信息之差;以及将所述目标频响差值曲线信息对应的滤波参数确定为所述第一组滤波参数。
- 根据权利要求49至54任一项所述的终端,其特征在于,所述接收模块,还用于接收对所述终端的第一界面的第一选项的操作,所述第一界面是对所述耳机的工作模式进行设置的界面;所述发送模块,还用于响应于对所述第一选项的操作,向所述耳机发送第一指令,所述第一指令用于控制所述耳机工作于ANC工作模式。
- 根据权利要求55所述的终端,其特征在于,所述终端还包括显示模块;所述显示模块,用于显示ANC控制列表;所述ANC控制列表中至少包括下述选项中的至少一个:第一控制选项、第二控制选项或第三控制选项;其中,所述第一控制选项用于触发确定所述第一组滤波参数,所述第二控制选项用于触发生成N 2组滤波参数,所述第三控制选项用于触发重新确定第一组滤波参数。
- 根据权利要求56所述的终端,其特征在于,所述接收模块,还用于接收对所述ANC控制列表中的第一控制选项的操作;所述显示模块,还用于显示第一控件,所述第一控件包括N 1个预设位置,所述N 1个预设位置对应所述N 1组滤波参数;所述接收模块,还用于接收对所述第一控件中的第一位置的操作;所述第一位置为所述N 1个预设位置中的一个,所述第一位置对应的一组滤波参数应用于所述耳机时的降噪效果优于所述N 1个预设位置中的其他位置对应的滤波参数应用于耳机时的降噪效果;所述确定模块,具体用于响应于对所述第一位置的操作,确定所述第一位置对应 的一组滤波参数为所述第一组滤波参数。
- 根据权利要求56或57所述的终端,其特征在于,所述接收模块,还用于接收对所述ANC控制列表中的第三控制选项的操作;所述确定模块,还用于响应于对所述第三控制选项的操作,重新确定第一组滤波参数。
- 根据权利要求56或27所述的终端,其特征在于,所述接收模块,还用于接收对所述ANC控制列表中的第三控制选项的操作;所述发送模块,还用于响应于对所述第三控制选项的操作,向所述耳机发送第二指令,所述第二指令用于指示所述耳机获取所述第一组滤波参数;其中,所述第一组滤波参数与所述耳机在接收所述第二指令之前采用的滤波参数不同。
- 根据权利要求56至59任一项所述的终端,其特征在于,所述接收模块,还用于接收对所述ANC控制列表中的第二控制选项的操作;所述发送模块,还用于响应于对所述第二控制选项的操作,向所述耳机发送第三指令,所述第三指令用于触发所述耳机生成N 2组滤波参数,所述N 2组滤波参数是根据所述第一组滤波参数第二组滤波参数生成的,所述第二组滤波参数是所述N 1组滤波参数中的一组;所述第二组滤波参数用于在所述N 1种泄漏状态中泄漏程度最小的状态下进行环境音降噪。
- 根据权利要求60所述的终端,其特征在于,所述显示模块,还用于显示第二控件;所述第二控件包括N 2个预设位置,所述N 2个预设位置对应N 2种ANC降噪强度,所述N 2种ANC降噪强度对应N 2组滤波参数;所述接收模块,还用于接收对所述第二控件中的第二位置的操作;所述第二位置为所述N 2个预设位置中的一个,所述第二位置处的ANC降噪强度所对应的滤波参数应用于所述耳机时的降噪效果优于所述N 2个预设位置中的其他位置处的ANC降噪强度所对应的滤波参数应用于所述耳机时的降噪效果;所述确定模块,还用于响应于对所述第二位置的操作,确定所述第二位置对应的ANC降噪强度为目标ANC降噪强度;所述发送模块,还用于向所述耳机发送第二指示信息,所述第二指示信息用于指示所述耳机利用所述目标ANC降噪强度对应的第三组滤波参数进行降噪。
- 一种耳机,其特征在于,包括存储器和与所述存储器连接的至少一个处理器,所述存储器用于存储指令,所述指令被至少一个处理器读取后,执行如权利要求1至18任一项所述的方法。
- 一种计算机可读存储介质,其特征在于,包括计算机程序,当所述计算机程序在计算机上运行时,执行如权利要求1至18任一项所述的方法。
- 一种终端,其特征在于,包括存储器和与所述存储器连接的至少一个处理器,所述存储器用于存储指令,所述指令被至少一个处理器读取后,执行如权利要求19至31任一项所述的方法。
- 一种计算机可读存储介质,其特征在于,包括计算机程序,当所述计算机程序在计算机上运行时,执行如权利要求19至31任一项所述的方法。
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2022568881A JP2023525138A (ja) | 2020-05-14 | 2021-03-31 | アクティブノイズキャンセリング方法および装置 |
KR1020227043382A KR20230009487A (ko) | 2020-05-14 | 2021-03-31 | 능동 잡음 제거 방법 및 장치 |
US17/986,549 US20230080298A1 (en) | 2020-05-14 | 2022-11-14 | Active Noise Cancellation Method and Apparatus |
Applications Claiming Priority (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010407692 | 2020-05-14 | ||
CN202010407692.7 | 2020-05-14 | ||
CN202011120314.7 | 2020-10-19 | ||
CN202011120314.7A CN113676804B (zh) | 2020-05-14 | 2020-10-19 | 一种主动降噪方法及装置 |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US17/986,549 Continuation US20230080298A1 (en) | 2020-05-14 | 2022-11-14 | Active Noise Cancellation Method and Apparatus |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2021227696A1 true WO2021227696A1 (zh) | 2021-11-18 |
Family
ID=78526319
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2021/084774 WO2021227695A1 (zh) | 2020-05-14 | 2021-03-31 | 一种主动降噪方法及装置 |
PCT/CN2021/084775 WO2021227696A1 (zh) | 2020-05-14 | 2021-03-31 | 一种主动降噪方法及装置 |
Family Applications Before (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2021/084774 WO2021227695A1 (zh) | 2020-05-14 | 2021-03-31 | 一种主动降噪方法及装置 |
Country Status (4)
Country | Link |
---|---|
US (1) | US20230080298A1 (zh) |
JP (1) | JP2023525138A (zh) |
KR (1) | KR20230009487A (zh) |
WO (2) | WO2021227695A1 (zh) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2023160286A1 (zh) * | 2022-02-28 | 2023-08-31 | 荣耀终端有限公司 | 降噪参数适配方法和装置 |
EP4369736A4 (en) * | 2022-09-21 | 2024-05-15 | Shenzhen Goodix Tech Co Ltd | ACTIVE NOISE CANCELLING PROCESS AND ACTIVE NOISE CANCELLING HEARING PIECE |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114040300B (zh) * | 2021-11-29 | 2023-02-28 | 歌尔科技有限公司 | 耳机主动降噪方法、装置、耳机及计算机可读存储介质 |
CN115580806B (zh) * | 2022-11-25 | 2023-03-10 | 杭州兆华电子股份有限公司 | 基于滤波器的权重自动计算的耳机降噪方法及降噪耳机 |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104246870A (zh) * | 2012-04-26 | 2014-12-24 | 美国思睿逻辑有限公司 | 在耳用扬声器通道中的适应性噪音消除(anc)的协调控制 |
US20150243271A1 (en) * | 2014-02-22 | 2015-08-27 | Apple Inc. | Active noise control with compensation for acoustic leak in personal listening devices |
CN105376668A (zh) * | 2015-11-24 | 2016-03-02 | 广东欧珀移动通信有限公司 | 一种耳机降噪方法及装置 |
US20170099538A1 (en) * | 2014-04-08 | 2017-04-06 | Doppler Labs, Inc. | Active acoustic filter with automatic selection of filter parameters based on ambient sound |
US20170270905A1 (en) * | 2006-11-14 | 2017-09-21 | Sony Corporation | Noise reducing device, noise reducing method, noise reducing program, and noise reducing audio outputting device |
CN108495227A (zh) * | 2018-05-25 | 2018-09-04 | 会听声学科技(北京)有限公司 | 主动降噪方法、主动降噪系统和耳机 |
CN110809211A (zh) * | 2020-01-08 | 2020-02-18 | 恒玄科技(北京)有限公司 | 对耳机主动降噪的方法、主动降噪系统以及耳机 |
CN110933554A (zh) * | 2019-12-13 | 2020-03-27 | 恒玄科技(上海)股份有限公司 | 主动降噪方法、系统以及耳机 |
CN110996215A (zh) * | 2020-02-26 | 2020-04-10 | 恒玄科技(北京)有限公司 | 确定耳机降噪参数的方法、装置以及计算机可读介质 |
CN111083591A (zh) * | 2019-12-13 | 2020-04-28 | 恒玄科技(北京)有限公司 | 一种降噪耳机的配置方法、装置及降噪耳机 |
CN111107461A (zh) * | 2019-12-13 | 2020-05-05 | 恒玄科技(北京)有限公司 | 一种降噪耳机的配置方法、装置及智能终端、降噪耳机 |
CN111836147A (zh) * | 2019-04-16 | 2020-10-27 | 华为技术有限公司 | 一种降噪的装置和方法 |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DK2237573T3 (da) * | 2009-04-02 | 2021-05-03 | Oticon As | Adaptiv feedbackundertrykkelsesfremgangsmåde og anordning dertil |
US9462376B2 (en) * | 2013-04-16 | 2016-10-04 | Cirrus Logic, Inc. | Systems and methods for hybrid adaptive noise cancellation |
US9747887B2 (en) * | 2016-01-12 | 2017-08-29 | Bose Corporation | Systems and methods of active noise reduction in headphones |
CN111010646B (zh) * | 2020-03-11 | 2020-06-26 | 恒玄科技(北京)有限公司 | 一种对耳机透传的方法、系统以及耳机 |
-
2021
- 2021-03-31 WO PCT/CN2021/084774 patent/WO2021227695A1/zh active Application Filing
- 2021-03-31 WO PCT/CN2021/084775 patent/WO2021227696A1/zh active Application Filing
- 2021-03-31 KR KR1020227043382A patent/KR20230009487A/ko unknown
- 2021-03-31 JP JP2022568881A patent/JP2023525138A/ja active Pending
-
2022
- 2022-11-14 US US17/986,549 patent/US20230080298A1/en active Pending
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20170270905A1 (en) * | 2006-11-14 | 2017-09-21 | Sony Corporation | Noise reducing device, noise reducing method, noise reducing program, and noise reducing audio outputting device |
CN104246870A (zh) * | 2012-04-26 | 2014-12-24 | 美国思睿逻辑有限公司 | 在耳用扬声器通道中的适应性噪音消除(anc)的协调控制 |
US20150243271A1 (en) * | 2014-02-22 | 2015-08-27 | Apple Inc. | Active noise control with compensation for acoustic leak in personal listening devices |
US20170099538A1 (en) * | 2014-04-08 | 2017-04-06 | Doppler Labs, Inc. | Active acoustic filter with automatic selection of filter parameters based on ambient sound |
CN105376668A (zh) * | 2015-11-24 | 2016-03-02 | 广东欧珀移动通信有限公司 | 一种耳机降噪方法及装置 |
CN108495227A (zh) * | 2018-05-25 | 2018-09-04 | 会听声学科技(北京)有限公司 | 主动降噪方法、主动降噪系统和耳机 |
CN111836147A (zh) * | 2019-04-16 | 2020-10-27 | 华为技术有限公司 | 一种降噪的装置和方法 |
CN110933554A (zh) * | 2019-12-13 | 2020-03-27 | 恒玄科技(上海)股份有限公司 | 主动降噪方法、系统以及耳机 |
CN111083591A (zh) * | 2019-12-13 | 2020-04-28 | 恒玄科技(北京)有限公司 | 一种降噪耳机的配置方法、装置及降噪耳机 |
CN111107461A (zh) * | 2019-12-13 | 2020-05-05 | 恒玄科技(北京)有限公司 | 一种降噪耳机的配置方法、装置及智能终端、降噪耳机 |
CN110809211A (zh) * | 2020-01-08 | 2020-02-18 | 恒玄科技(北京)有限公司 | 对耳机主动降噪的方法、主动降噪系统以及耳机 |
CN110996215A (zh) * | 2020-02-26 | 2020-04-10 | 恒玄科技(北京)有限公司 | 确定耳机降噪参数的方法、装置以及计算机可读介质 |
Non-Patent Citations (1)
Title |
---|
SHOTA SUZUKI ; SHIGEKI MIYABE ; NORIYOSHI KAMADO ; HIROSHI SARUWATARI ; KIYOHIRO SHIKANO ; TOSHIYUKI NOMURA: "Audio object individual operation and its application to earphone leakage noise reduction", PROCEEDINGS OF THE 4TH INTERNATIONAL SYMPOSIUM ON COMMUNICATIONS, CONTROL AND SIGNAL PROCESSING, 3 March 2010 (2010-03-03), Piscataway, NJ, USA , pages 1 - 5, XP031675654, ISBN: 978-1-4244-6285-8 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2023160286A1 (zh) * | 2022-02-28 | 2023-08-31 | 荣耀终端有限公司 | 降噪参数适配方法和装置 |
EP4369736A4 (en) * | 2022-09-21 | 2024-05-15 | Shenzhen Goodix Tech Co Ltd | ACTIVE NOISE CANCELLING PROCESS AND ACTIVE NOISE CANCELLING HEARING PIECE |
Also Published As
Publication number | Publication date |
---|---|
KR20230009487A (ko) | 2023-01-17 |
WO2021227695A1 (zh) | 2021-11-18 |
JP2023525138A (ja) | 2023-06-14 |
US20230080298A1 (en) | 2023-03-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113676804B (zh) | 一种主动降噪方法及装置 | |
WO2021227696A1 (zh) | 一种主动降噪方法及装置 | |
US10405081B2 (en) | Intelligent wireless headset system | |
US20230134787A1 (en) | Headset Noise Processing Method, Apparatus, and Headset | |
US20230164475A1 (en) | Mode Control Method and Apparatus, and Terminal Device | |
US20150230033A1 (en) | Hearing Assistance System | |
WO2016167878A1 (en) | Hearing assistance systems configured to enhance wearer's ability to communicate with other individuals | |
CN113496708B (zh) | 拾音方法、装置和电子设备 | |
CN114157945B (zh) | 一种数据处理方法及相关装置 | |
US20230091607A1 (en) | Psychoacoustics-based audio encoding method and apparatus | |
CN113852899A (zh) | 包括助听器和处理设备的听力系统 | |
CN115145527A (zh) | 一种调节音量的方法、系统及电子设备 | |
US20230162718A1 (en) | Echo filtering method, electronic device, and computer-readable storage medium | |
CN114120950B (zh) | 一种人声屏蔽方法和电子设备 | |
WO2023274180A1 (zh) | 一种提升扬声器的音质的方法及装置 | |
CN113129916A (zh) | 一种音频采集方法、系统及相关装置 | |
CN114390406B (zh) | 一种控制扬声器振膜位移的方法及装置 | |
WO2024027259A1 (zh) | 信号处理方法及装置、设备控制方法及装置 | |
CN117093182B (zh) | 一种音频播放方法、电子设备和计算机可读存储介质 | |
CN116233696B (zh) | 气流杂音抑制方法、音频模组、发声设备和存储介质 | |
WO2024046416A1 (zh) | 一种音量调节方法、电子设备及系统 | |
WO2023185698A1 (zh) | 一种佩戴检测方法及相关装置 | |
WO2023020420A1 (zh) | 音量显示方法、电子设备及存储介质 | |
WO2023197997A1 (zh) | 穿戴设备、拾音方法及装置 | |
CN115206278A (zh) | 一种声音降噪的方法和装置 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 21805110 Country of ref document: EP Kind code of ref document: A1 |
|
ENP | Entry into the national phase |
Ref document number: 2022568881 Country of ref document: JP Kind code of ref document: A |
|
ENP | Entry into the national phase |
Ref document number: 20227043382 Country of ref document: KR Kind code of ref document: A |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 21805110 Country of ref document: EP Kind code of ref document: A1 |