Noise reduction parameter setting method and apparatus, earphone device and storage medium
AssigneeGoertek Technology Co., Ltd.
InventorXiaofeng Wen
Life of this patent
Estimating the term…
Abstract
Disclosed are a noise reduction parameter setting method and apparatus, an earphone device and a storage medium. The method includes: obtaining, via the earphone device, the environmental signal picked up by the feedforward microphone and the noise signal picked up by the feedback microphone; and calculating the energy difference value between the environmental signal and the noise signal; obtaining the preset target noise reduction parameter value corresponding to the energy difference value, and setting the noise reduction parameter for the active noise reduction mode in the earphone device according to the target noise reduction parameter value.
Claims8
A noise reduction parameter setting method, applied to an earphone device comprising a feedforward microphone and a feedback microphone, comprising:
- obtaining an environmental signal picked up by the feedforward microphone and a noise signal picked up by the feedback microphone;
- calculating an energy difference value between the environmental signal and the noise signal;
- and
- obtaining a preset target noise reduction parameter value corresponding to the energy difference value, and setting a noise reduction parameter for an active noise reduction mode in the earphone device according to the target noise reduction parameter value;
- wherein obtaining the preset target noise reduction parameter value corresponding to the energy difference value comprises:
- determining a target difference value level to which the energy difference value belongs from a plurality of preset difference value levels;
- and
- obtaining a preset noise reduction parameter value corresponding to the target difference value level as the target noise reduction parameter value;
- wherein after calculating the energy difference value between the environmental signal and the noise signal, the method further comprises:
- detecting whether the energy difference value is less than a preset minimum threshold;
- obtaining the preset target noise reduction parameter value corresponding to the energy difference value, and setting the noise reduction parameter for the active noise reduction mode in the earphone device according to the target noise reduction parameter value, in response to that the energy difference value is greater than or equal to the preset minimum threshold;
- or
- outputting preset prompting information to prompt a user to adjust a wearing state of an earphone, in response to that the energy difference value is less than the preset minimum threshold.
A noise reduction parameter setting apparatus, provided in an earphone device comprising a feedforward microphone and a feedback microphone, comprising:
- an obtaining module, configured to obtain an environmental signal picked up by the feedforward microphone and a noise signal picked up by the feedback microphone;
- a calculation module, configured to calculate an energy difference value between the environmental signal and the noise signal;
- and
- a setting module, configured to obtain a preset target noise reduction parameter value corresponding to the energy difference value, and set a noise reduction parameter for an active noise reduction mode in the earphone device according to the target noise reduction parameter value;
- wherein obtaining the preset target noise reduction parameter value corresponding to the energy difference value comprises:
- determining a target difference value level to which the energy difference value belongs from a plurality of preset difference value levels;
- and
- obtaining a preset noise reduction parameter value corresponding to the target difference value level as the target noise reduction parameter value;
- wherein after calculating the energy difference value between the environmental signal and the noise signal, the method further comprises:
- detecting whether the energy difference value is less than a preset minimum threshold;
- obtaining the preset target noise reduction parameter value corresponding to the energy difference value, and setting the noise reduction parameter for the active noise reduction mode in the earphone device according to the target noise reduction parameter value, in response to that the energy difference value is greater than or equal to the preset minimum threshold;
- or
- outputting preset prompting information to prompt a user to adjust a wearing state of an earphone, in response to that the energy difference value is less than the preset minimum threshold.
Dependencies are inferred from the claim text.