Sound signal processing method and headset device
AssigneeHonor Device Co., Ltd.
InventorsLu Guo, Jun Wang
Life of this patent
Estimating the term…
Abstract
A sound signal processing method and a headset device. A target filter and a first audio processing unit are added. The target filter processes an external sound signal collected by an external microphone, to obtain an environmental sound attenuation signal and a voice attenuation signal. The first audio processing unit removes, based on the environmental sound attenuation signal and the voice attenuation signal, a second external environmental sound signal and a second voice signal from an in-ear sound signal collected by an error microphone, to obtain a blocking signal, and transmits the blocking signal to a feedback filter. The feedback filter may generate an inverted noise signal corresponding to the blocking signal and play the inverted noise signal through a speaker.
Claims20
A headset device, comprising:
- an external microphone configured to collect an external sound signal, wherein the external sound signal comprises a first external environmental sound signal and a first voice signal;
- an error microphone configured to collect an in-ear sound signal, wherein the in-ear sound signal comprises a second external environmental sound signal, a second voice signal, and a blocking signal, and wherein a signal strength of the second external environmental sound signal is less than a signal strength of the first external environmental sound signal, and a signal strength of the second voice signal is less than a signal strength of the first voice signal;
- a feedforward filter coupled to the external microphone, wherein the feedforward filter is configured to process the external sound signal to obtain a to-be-compensated sound signal;
- a target filter coupled to the external microphone, wherein the target filter is configured to process the external sound signal to obtain an environmental sound attenuation signal and a voice attenuation signal;
- a first audio processing unit coupled to the target filter and the error microphone, wherein the first audio processing unit is configured to remove the second external environmental sound signal and the second voice signal from the in-ear sound signal based on the environmental sound attenuation signal and the voice attenuation signal, to obtain the blocking signal;
- a feedback filter coupled to the first audio processing unit, wherein the feedback filter is configured to process the blocking signal to obtain an inverted noise signal;
- a second audio processing unit coupled to the feedforward filter and the feedback filter, wherein the second audio processing unit is configured to mix the to-be-compensated sound signal and the inverted noise signal, to obtain a mixed audio signal;
- a speaker coupled to the second audio processing unit and configured to play the mixed audio signal;
- a vibration sensor configured to collect a vibration signal during sound production by a user;
- and
- a first control unit configured to obtain a corresponding feedback filter parameter based on a target volume during sound production by the user,
- wherein the target volume is based on one or more of the vibration signal, the external sound signal, and the in-ear sound signal,
- wherein the feedback filter is configured to process the blocking signal based on the feedback filter parameter to obtain the inverted noise signal,
- wherein a first volume is based on an amplitude of the vibration signal,
- wherein a second volume is based on a signal strength of the external sound signal,
- wherein a third volume is based on a signal strength of the in-ear sound signal,
- wherein the target volume during sound production by the user is based on the first volume, the second volume, and the third volume;
- and
- wherein the first control unit is configured to calculate a weighted average of the first volume, the second volume, and the third volume, to obtain the target volume.
A method, comprising:
- collecting an external sound signal that comprises a first external environmental sound signal and a first voice signal, wherein a second volume is based on a signal strength of the external sound signal;
- collecting an in-ear sound signal that comprises a second external environmental sound signal, a second voice signal, and a blocking signal, wherein a signal strength of the second external environmental sound signal is less than a signal strength of the first external environmental sound signal, wherein a signal strength of the second voice signal is less than a signal strength of the first voice signal, and wherein a third volume is based on a signal strength of the in-ear sound signal;
- processing the external sound signal to obtain a to-be-compensated sound signal;
- processing the external sound signal to obtain an environmental sound attenuation signal and a voice attenuation signal;
- removing the second external environmental sound signal and the second voice signal from the in-ear sound signal based on the environmental sound attenuation signal and the voice attenuation signal, to obtain the blocking signal;
- collecting a vibration signal during sound production by a user, wherein a first volume is based on an amplitude of the vibration signal;
- calculating a weighted average of the first volume, the second volume, and the third volume, to obtain a target volume;
- obtaining a corresponding feedback filter parameter based on the target volume during sound production by the user, wherein the target volume is based on one or more of the vibration signal, the external sound signal, and the in-ear sound signal;
- processing the blocking signal based on the feedback filter parameter to obtain an inverted noise signal;
- mixing the to-be-compensated sound signal and the inverted noise signal to obtain a mixed audio signal;
- and
- playing the mixed audio signal.
A non-transitory computer program product comprising computer executable instructions that when executed by a processor, configure an electronic device to:
- collect an external sound signal that comprises a first external environmental sound signal and a first voice signal, wherein a second volume is based on a signal strength of the external sound signal;
- collect an in-ear sound signal that comprises a second external environmental sound signal, a second voice signal, and a blocking signal, wherein a signal strength of the second external environmental sound signal is less than a signal strength of the first external environmental sound signal, wherein a signal strength of the second voice signal is less than a signal strength of the first voice signal, and wherein a third volume is based on a signal strength of the in-ear sound signal;
- process the external sound signal to obtain a to-be-compensated sound signal;
- process the external sound signal to obtain an environmental sound attenuation signal and a voice attenuation signal;
- remove the second external environmental sound signal and the second voice signal from the in-ear sound signal based on the environmental sound attenuation signal and the voice attenuation signal, to obtain the blocking signal;
- collect a vibration signal during sound production by a user, wherein a first volume is based on an amplitude of the vibration signal;
- calculate a weighted average of the first volume, the second volume, and the third volume, to obtain a target volume;
- obtain a corresponding feedback filter parameter based on the target volume during sound production by the user, wherein the target volume is based on one or more of the vibration signal, the external sound signal, and the in-ear sound signal;
- process the blocking signal based on the feedback filter parameter to obtain an inverted noise signal;
- mix the to-be-compensated sound signal and the inverted noise signal to obtain a mixed audio signal;
- and
- play the mixed audio signal.
Dependencies are inferred from the claim text.