CN115835081A - Noise reduction method and device for earphone equipment, earphone equipment and storage medium - Google Patents

Noise reduction method and device for earphone equipment, earphone equipment and storage medium Download PDF

Info

Publication number
CN115835081A
CN115835081A CN202211493694.8A CN202211493694A CN115835081A CN 115835081 A CN115835081 A CN 115835081A CN 202211493694 A CN202211493694 A CN 202211493694A CN 115835081 A CN115835081 A CN 115835081A
Authority
CN
China
Prior art keywords
noise
signal
external environment
module
noise reduction
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211493694.8A
Other languages
Chinese (zh)
Inventor
王若蕙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Goertek Techology Co Ltd
Original Assignee
Goertek Techology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Goertek Techology Co Ltd filed Critical Goertek Techology Co Ltd
Priority to CN202211493694.8A priority Critical patent/CN115835081A/en
Publication of CN115835081A publication Critical patent/CN115835081A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a noise reduction method and a device of earphone equipment, the earphone equipment and a storage medium, wherein the method comprises the following steps: acquiring external environment noise and penetrating noise signals; performing DCT conversion on the external environment noise through the DCT conversion module to obtain a frequency domain signal corresponding to the external environment noise; generating an anti-noise signal from the frequency domain signal and the penetrating noise signal; outputting the anti-noise signal to reduce noise for the ambient noise. According to the technical scheme, after the external environment noise and the penetration signal are obtained, the external environment noise is converted into the frequency domain signal by using DCT (discrete cosine transformation), and then the anti-noise signal aiming at the external environment noise is generated by the frequency domain signal and the penetration signal so as to reduce the noise reduction mode, so that the calculation amount of noise identification and comparison in the noise reduction process of the earphone is reduced, and the noise reduction performance of the earphone is improved.

Description

Noise reduction method and device for earphone equipment, earphone equipment and storage medium
Technical Field
The present invention relates to the field of earphone device technologies, and in particular, to a noise reduction method, apparatus, device, and storage medium for earphone device.
Background
Along with the improvement of the life quality of people, people also put higher requirements on the noise reduction function of the earphone. In recent two years, earphones with active noise reduction functions are introduced to high-grade, medium-grade and low-grade brands in various countries, so that noise of medium and low frequency bands in the environment is reduced, and user experience is improved.
Active noise reduction headsets currently on the market can be classified into three categories according to the different filter architectures: fixed filter type, pure adaptive filter type, and adaptive switching filter type. The earphone with the fixed filter is used in different environmental noises, the filter of the earphone is fixed and the noise reduction amount of the earphone is also fixed, the pure adaptive filter type earphone has no fixed form, the filter is usually calculated through an Fx-LMS Algorithm (Least Mean Square Algorithm) according to the real-time change of the environmental noises, the convergence rate and the stability of the Algorithm are key factors influencing the noise reduction performance of the earphone, the adaptive filter switching type earphone needs to continuously monitor the environmental noises in real time and carry out frequency distribution comparison between Fourier transform and a preset noise mode, the calculated amount is large, so that the energy consumption of an earphone product is high, the battery endurance is insufficient, and the user experience is influenced.
In summary, how to reduce the amount of computation in the noise reduction process of the headphone to improve the noise reduction performance of the headphone is an urgent technical problem to be solved in the art.
Disclosure of Invention
The invention mainly aims to provide a noise reduction method, a noise reduction device, noise reduction equipment and a storage medium of earphone equipment, and aims to reduce the noise reduction calculated amount of an earphone so as to improve the noise reduction performance of the earphone on the premise of not additionally increasing hardware equipment.
In order to achieve the above object, the present invention provides a noise reduction method for a headphone apparatus, which is applied to a headphone apparatus including a Discrete Cosine Transform (DCT) module, the noise reduction method for the headphone apparatus including:
acquiring external environment noise and penetrating noise signals;
performing DCT transformation on the external environment noise through the DCT transformation module to obtain a frequency domain signal corresponding to the external environment noise;
generating an anti-noise signal from the frequency domain signal and the penetrating noise signal;
outputting the anti-noise signal to reduce noise for the ambient noise.
Optionally, the step of performing DCT transform on the external environment noise by the DCT transform module to obtain a frequency domain signal corresponding to the external environment noise includes:
determining an intermediate variable based on the time domain sequence of the external environment noise through the DCT conversion module, and multiplying the intermediate variable by a compensation coefficient to obtain a DCT conversion coefficient;
and performing DCT conversion on the external environment noise according to the DCT conversion coefficient to obtain a frequency domain signal corresponding to the external environment noise.
Optionally, the headset device comprises: a feed-forward microphone and a feedback microphone;
the step of obtaining ambient noise and penetrating noise signals comprises:
acquiring external environment noise through the feedforward microphone;
and acquiring an infiltration noise signal infiltrated into the earphone device through the feedback microphone.
Optionally, the headset device comprises: a frequency comparison module;
the step of generating an anti-noise signal from the frequency domain signal and the penetrating noise signal comprises:
selecting a target noise mode corresponding to the frequency of the frequency domain signal from noise modes of the frequency comparison module;
and processing the external environment noise and the penetrating noise signal through a noise reduction filter bank corresponding to the target noise mode to generate an anti-noise signal.
Optionally, the noise reduction filter bank corresponding to the target noise mode includes: a feedforward noise reduction filter bank and a feedback noise reduction filter bank;
the step of processing the ambient noise and the penetrating noise signal by a noise reduction filter bank corresponding to the target noise pattern to generate an anti-noise signal comprises:
processing the external environment noise through the feedforward noise reduction filter bank to obtain a first output;
processing the penetrating noise signal through the feedback noise reduction filter bank to obtain a second output;
adding the first output and the second output to generate an anti-noise signal.
Optionally, the headset device comprises: the digital-to-analog conversion module and the power amplification module;
prior to the step of outputting the anti-noise signal to reduce noise for the ambient noise, the noise reduction method of the headphone device further includes:
performing digital-to-analog conversion on the anti-noise signal through the digital-to-analog conversion module to obtain an analog signal;
performing power amplification on the analog signal through the power amplification module to obtain an anti-noise amplification signal;
the step of outputting the anti-noise signal for noise reduction with respect to the ambient noise comprises:
outputting the anti-noise amplified signal to reduce noise for the ambient noise.
Optionally, the headset device comprises: the analog-to-digital conversion module and the pre-amplification module;
after the step of acquiring the ambient noise and the penetrating noise signal, the noise reduction method of the headphone apparatus further includes:
performing analog-to-digital conversion on the external environment noise according to the analog-to-digital conversion module to obtain an external noise digital signal;
pre-amplifying the external noise digital signal through the pre-amplification module to obtain an external noise amplification signal;
performing analog-to-digital conversion on the penetration noise signal according to the analog-to-digital conversion module to obtain a penetration noise digital signal;
pre-amplifying the penetrating noise digital signal through the pre-amplification module to obtain a penetrating noise amplification signal;
the step of performing DCT transform on the external environment noise by the DCT transform module to obtain a frequency domain signal corresponding to the external environment noise includes:
performing DCT transformation on the external noise amplification signal according to the DCT transformation module to obtain a frequency domain signal corresponding to the external noise amplification signal;
the step of generating an anti-noise signal from the frequency domain signal and the penetrating noise signal comprises:
an anti-noise signal is generated from the frequency domain signal and the osmotic noise amplification signal.
In addition, in order to achieve the above object, the present invention further provides a noise reduction device for headphone equipment, including:
the noise acquisition module is used for acquiring external environment noise and penetrating noise signals;
the signal conversion module is used for performing DCT (discrete cosine transformation) conversion on the external environment noise through the DCT conversion module to obtain a frequency domain signal corresponding to the external environment noise;
an anti-noise generation module to generate an anti-noise signal from the frequency domain signal and the penetrating noise signal;
a noise reduction module to output the anti-noise signal to reduce noise for the ambient noise.
Wherein, each functional module of the noise reduction device of the earphone equipment of the invention realizes the steps of the noise reduction method of the earphone equipment when in operation.
Further, to achieve the above object, the present invention also provides the apparatus comprising: a memory, a processor and a noise reduction program of a headphone apparatus stored on the memory and executable on the processor, the noise reduction program of the headphone apparatus implementing the steps of the noise reduction method of a headphone apparatus as described above when executed by the processor.
In addition, in order to achieve the above object, the present invention further provides a storage medium, where a noise reduction program of a headphone apparatus is stored, and the noise reduction program of the headphone apparatus implements the steps of the noise reduction method of the headphone apparatus when being executed by a processor.
The invention provides a noise reduction method, a device, equipment and a storage medium of earphone equipment, wherein the noise reduction method of the earphone equipment comprises the following steps: acquiring external environment noise and penetrating noise signals; performing DCT conversion on the external environment noise through the DCT conversion module to obtain a frequency domain signal corresponding to the external environment noise; generating an anti-noise signal from the frequency domain signal and the penetrating noise signal;
outputting the anti-noise signal to reduce noise for the ambient noise.
When the method is used for processing the external environment noise, firstly, the feedforward microphone and the feedback microphone in the earphone device are used for respectively acquiring the external environment noise and the penetrating noise signal, then, the DCT conversion module in the earphone device is used for converting the external environment noise from a time domain to a frequency domain to obtain a frequency domain signal corresponding to the external environment noise, then, an anti-noise signal is generated according to the frequency domain signal and the penetrating noise signal, and finally, the anti-noise signal is output to reduce the noise of the external environment noise.
Compared with the traditional mode of converting time domain signals into frequency domain signals by using Discrete Fourier Transform (DFT), the invention realizes noise reduction aiming at external environment noise under the condition of lower calculated amount by using DCT, and improves the effect of noise reduction performance of the earphone.
Drawings
Fig. 1 is a diagram illustrating a structure of a noise reduction method of a headphone apparatus according to the present invention;
FIG. 2 is a schematic diagram of an apparatus structure of an apparatus hardware operating environment according to an embodiment of the present invention;
fig. 3 is a schematic flow chart of an embodiment of a noise reduction method for an earphone device according to the present invention;
fig. 4 is a schematic diagram illustrating a first principle of a noise reduction method of an earphone device according to an embodiment of the present invention;
fig. 5 is a schematic diagram illustrating a second principle of a noise reduction method of an earphone device according to an embodiment of the present invention;
fig. 6 is a schematic functional block diagram of a noise reduction apparatus of an earphone device according to an embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that all directional indicators (such as up, down, left, right, front, back \8230;) in the embodiments of the present invention are only used to explain the relative positional relationship between the components, the motion situation, etc. in a specific posture (as shown in the attached drawings), and if the specific posture is changed, the directional indicator is changed accordingly.
In the present invention, unless otherwise expressly stated or limited, the terms "connected," "secured," and the like are to be construed broadly, and for example, "secured" may be a fixed connection, a removable connection, or an integral part; can be mechanically or electrically connected; they may be directly connected or indirectly connected through intervening media, or they may be connected internally or in any other suitable relationship, unless expressly stated otherwise. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations.
In addition, descriptions such as "first", "second", etc. in the present invention are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In addition, technical solutions between various embodiments may be combined with each other, but must be realized by a person skilled in the art, and when the technical solutions are contradictory or cannot be realized, such a combination should not be considered to exist, and is not within the protection scope of the present invention.
An embodiment of the present invention provides an earphone device, and a schematic structural diagram of the earphone device is shown in fig. 1. Wherein, 1 is the shell of the active noise reduction earphone. And 2 is a speaker for playing the generated anti-noise signal. And 3, a feedforward microphone which is used for collecting an external noise signal, converting a sound signal into a voltage signal and performing sound-electricity conversion. And 4, a feedback microphone, generally located in the sound outlet tube of the earphone, and used for collecting noise signals in a coupling cavity formed by the earphone shell and the ear canal, converting the sound signals into voltage signals and performing sound and electricity conversion. And 5, a digital-to-analog conversion and pre-amplification module for amplifying and converting the signal of the microphone (analog type) into a digital signal, so as to facilitate the processing of a subsequent digital circuit. And 6, an environmental noise acquisition module which is used for acquiring the external environmental noise according to the set acquisition frequency and time window and transmitting the acquired signal to the DCT conversion module. And 7, a DCT transformation module which is used for carrying out DCT transformation on the collected signals to realize the transformation from a time domain to a frequency domain. And 8, a frequency comparison module which is used for comparing the frequency domain signal after DCT transformation with a pre-stored noise mode, confirming that the environmental noise is consistent with which noise mode, and sending a control command to a noise reduction filter bank to select a matched filter. And 9, a preset noise template memory is used, and a set of noise patterns are prestored in the module. The noise reduction filter bank 10 provides a set of preset different filters, which are divided into a feedforward FF part and a feedback FB part, and the function of the noise reduction filter bank is to process signals collected by a microphone and generate anti-noise signals. Reference numeral 11 denotes an adder, and functions to add the output of the feedforward noise reduction filter and the output of the feedback noise reduction filter. And 12, a digital-to-analog conversion and power amplification module which is used for performing digital-to-analog conversion and power amplification on the anti-noise signal.
As shown in fig. 2, fig. 2 is a schematic device structure diagram of a hardware operating environment of a headset device according to an embodiment of the present invention.
As shown in fig. 2, in a hardware operating environment of the headset device, the headset device may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, a communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001.
Those skilled in the art will appreciate that the headphone device structure shown in fig. 2 does not constitute a limitation of the device and may include more or fewer components than shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 2, a memory 1005, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and a noise reduction program of the headphone apparatus.
In the device shown in fig. 2, the network interface 1004 is mainly used for connecting to a backend server and performing data communication with the backend server; the user interface 1003 is mainly used for connecting a client (user side) and performing data communication with the client; and the processor 1001 may be configured to call a noise reduction program of the headset device stored in the memory 1005 and perform the following operations:
acquiring external environment noise and penetrating noise signals;
performing DCT conversion on the external environment noise through the DCT conversion module to obtain a frequency domain signal corresponding to the external environment noise;
generating an anti-noise signal from the frequency domain signal and the penetrating noise signal;
outputting the anti-noise signal to reduce noise for the ambient noise.
Optionally, the processor 1001 may be further configured to call a noise reduction program of the headset device stored in the memory 1005, and perform the following operations:
determining an intermediate variable based on the time domain sequence of the external environment noise through the DCT conversion module, and multiplying the intermediate variable by a compensation coefficient to obtain a DCT conversion coefficient;
and performing DCT transformation on the external environment noise according to the DCT transformation coefficient to obtain a frequency domain signal corresponding to the external environment noise.
Optionally, the headset device comprises: a feedforward microphone and a feedback microphone, the processor 1001 may be further configured to call a noise reduction program of the headphone apparatus stored in the memory 1005, and perform the following operations:
acquiring external environment noise through the feedforward microphone;
and acquiring an infiltration noise signal infiltrated into the earphone device through the feedback microphone.
Optionally, the headset device comprises: the frequency comparison module, the processor 1001 may be further configured to call a noise reduction program of the earphone device stored in the memory 1005, and perform the following operations:
selecting a target noise mode corresponding to the frequency of the frequency domain signal from the noise modes of the frequency comparison module;
and processing the external environment noise and the penetrating noise signal through a noise reduction filter bank corresponding to the target noise mode to generate an anti-noise signal.
Optionally, the noise reduction filter bank corresponding to the target noise mode includes: the processor 1001 may be further configured to call a noise reduction program of the headphone apparatus stored in the memory 1005, and perform the following operations:
processing the external environment noise through the feedforward noise reduction filter bank to obtain a first output;
processing the penetrating noise signal through the feedback noise reduction filter bank to obtain a second output;
adding the first output and the second output to generate an anti-noise signal.
Optionally, the headset device comprises: the processor 1001 may be further configured to call a noise reduction program of the headphone device stored in the memory 1005, and perform the following operations before the step of outputting the anti-noise signal to reduce noise for the external environment noise:
performing digital-to-analog conversion on the anti-noise signal through the digital-to-analog conversion module to obtain an analog signal;
performing power amplification on the analog signal through the power amplification module to obtain an anti-noise amplification signal;
the step of outputting the anti-noise signal for noise reduction with respect to the ambient noise comprises:
outputting the anti-noise amplified signal to reduce noise for the ambient noise. Optionally, the headset device comprises: the analog-to-digital conversion module and the pre-amplification module, and the processor 1001 may be further configured to call a noise reduction program of the headphone apparatus stored in the memory 1005, and after the step of acquiring the external environment noise and the penetrating noise signal, further perform the following operations:
performing analog-to-digital conversion on the external environment noise according to the analog-to-digital conversion module to obtain an external noise digital signal;
pre-amplifying the external noise digital signal through the pre-amplification module to obtain an external noise amplification signal;
performing analog-to-digital conversion on the penetration noise signal according to the analog-to-digital conversion module to obtain a penetration noise digital signal;
pre-amplifying the penetrating noise digital signal through the pre-amplification module to obtain a penetrating noise amplification signal;
the step of performing DCT transform on the external environment noise by the DCT transform module to obtain a frequency domain signal corresponding to the external environment noise includes:
performing DCT transformation on the external noise amplification signal according to the DCT transformation module to obtain a frequency domain signal corresponding to the external noise amplification signal;
the step of generating an anti-noise signal from the frequency domain signal and the penetrating noise signal comprises:
an anti-noise signal is generated from the frequency domain signal and the osmotic noise amplification signal.
Based on the above hardware structure, the overall concept of the noise reduction method of the headphone apparatus of the present invention is presented.
In the embodiment of the invention, along with the improvement of the life quality of people, people also put higher requirements on the noise reduction function of the earphone. In recent two years, earphones with active noise reduction functions are introduced to high-grade, medium-grade and low-grade brands in various countries, so that noise of medium and low frequency bands in the environment is reduced, and user experience is improved.
Active noise reduction headsets currently on the market can be classified into three categories according to the different filter architectures: fixed filter type, pure adaptive filter type, and adaptive switching filter type. The earphone with the fixed filter is used in different environmental noises, the filter of the earphone is fixed and the noise reduction amount is also fixed and unchanged, a pure adaptive filter type earphone is not in a fixed form, the filter is usually calculated through an Fx-LMS algorithm according to the real-time change of the environmental noises, the convergence rate and the stability of the algorithm are key factors influencing the noise reduction performance of the earphone, the adaptive filter switching type earphone needs to continuously monitor the environmental noises in real time and carry out frequency distribution comparison between Fourier transform and a preset noise mode, the calculation amount is large, the energy consumption of an earphone product is high, the battery endurance is insufficient, and the user experience is influenced.
In summary, how to reduce the amount of computation in the noise reduction process of the headphone to improve the noise reduction performance of the headphone is an urgent technical problem to be solved in the art.
In view of the above problem, an embodiment of the present invention provides a noise reduction method for an earphone device, where the method includes: acquiring external environment noise and penetrating noise signals; performing DCT transformation on the external environment noise through the DCT transformation module to obtain a frequency domain signal corresponding to the external environment noise; generating an anti-noise signal from the frequency domain signal and the penetrating noise signal; outputting the anti-noise signal to reduce noise for the ambient noise.
When the method is used for processing the external environment noise, firstly, the feedforward microphone and the feedback microphone in the earphone device are used for respectively acquiring the external environment noise and the penetrating noise signal, then, the DCT conversion module in the earphone device is used for converting the external environment noise from a time domain to a frequency domain to obtain a frequency domain signal corresponding to the external environment noise, then, an anti-noise signal is generated according to the frequency domain signal and the penetrating noise signal, and finally, the anti-noise signal is output to reduce the noise of the external environment noise.
Compared with the traditional mode of converting time domain signals into frequency domain signals by using DFT, the invention realizes the noise reduction aiming at external environment noise under the condition of lower calculated amount by using DCT and improves the noise reduction performance of the earphone.
Based on the above general concept of the noise reduction method of the headphone device of the present invention, various embodiments of the noise reduction method of the headphone device of the present invention are proposed.
Referring to fig. 3, fig. 3 is a flowchart illustrating a noise reduction method for an earphone device according to a first embodiment of the present invention. It should be noted that although a logical sequence is shown in the flowchart, in some cases, the steps of the noise reduction method of the headphone apparatus of the present invention may be executed in a different sequence from the sequence shown here.
In this embodiment, the noise reduction method of the headphone apparatus of the present invention is applied to the headphone apparatus described above. In this embodiment, the noise reduction method for an earphone device of the present invention includes:
step S10: acquiring external environment noise and penetrating noise signals;
in this embodiment, under the condition that it is detected that the user wears the headphone apparatus, the headphone apparatus collects, through a microphone apparatus provided in the headphone apparatus, ambient noise of an environment where the user is located and an infiltration noise signal of the ambient noise infiltrating into the headphone apparatus.
It should be noted that the microphone device of the earphone device may be a feedforward microphone disposed outside the earphone structure, or may be a feedback microphone disposed in a front cavity of a speaker inside the earphone and near a diaphragm of the speaker.
Illustratively, under the condition that the earphone device is detected to be worn by a user, the earphone device collects an external environment noise signal through a feedforward microphone arranged outside the earphone structure to obtain the external environment noise, and collects the external environment noise permeating into the earphone through a feedback microphone arranged in a front cavity inside the earphone and close to the position of a loudspeaker diaphragm to obtain a permeating noise signal.
Step S20, performing DCT transformation on the external environment noise through the DCT transformation module to obtain a frequency domain signal corresponding to the external environment noise;
in this embodiment, after the earphone device obtains the external environment noise and the penetrating noise signal through the microphone device, the DCT transform module in the earphone device performs DCT transform processing on the external environment noise, converts the time domain signal into a frequency domain signal, and further obtains a frequency domain signal corresponding to the external environment noise.
Exemplarily, assuming that the external environment noise is road vehicle noise, the headphone device inputs the road vehicle noise into the DCT transformation module after acquiring the road vehicle noise through the feedforward microphone, and the DCT transformation module converts an original time domain signal of the road vehicle noise into a frequency domain signal, thereby obtaining a frequency domain signal for the road vehicle noise.
Step S30: generating an anti-noise signal from the frequency domain signal and the penetrating noise signal;
in this embodiment, after the headphone device converts the external environment noise into a frequency domain signal corresponding to the external environment noise through a DCT transform module provided in the headphone device, a noise reduction filter bank matched with the frequency domain signal is selected through the frequency domain signal, and the external environment noise and the penetrating noise signal are processed through the noise reduction filter bank to generate the anti-noise signal.
Exemplarily, assuming that the external environment noise is road vehicle noise, after the DCT transform module in the earphone device converts the road vehicle noise into a road noise frequency domain signal, the earphone device selects a noise reduction filter bank corresponding to the road noise frequency domain signal according to the road noise frequency domain signal, and then processes the road vehicle noise and road vehicle penetrating noise penetrating into the earphone device through the noise reduction filter bank, thereby generating a road vehicle noise resistant signal.
Step S40: outputting the anti-noise signal to reduce noise for the ambient noise.
In this embodiment, after the earphone device generates the anti-noise signal for the external environment noise through the anti-noise filter bank, the anti-noise signal is output through the speaker device of the earphone device itself, and the penetration noise signal corresponding to the external environment noise is weakened through the anti-noise signal to achieve the noise reduction effect.
It should be noted that, in this embodiment, the speaker device in the earphone device may be a speaker, or may be another device capable of playing the anti-noise signal.
For example, assuming that the external environment noise is road vehicle noise, the earphone device generates a road vehicle noise-resistant signal through the noise reduction filter bank, and then plays the road vehicle noise-resistant signal through a speaker in the earphone or other devices capable of playing the noise-resistant signal in the earphone, so as to achieve the noise reduction effect. The schematic diagram of this process is shown in fig. 4, where in the feedforward system, P is the transfer function of the acoustic channel from the feedforward noise reduction microphone (FF Mic) to the tympanic membrane, G is the transfer function of the acoustic channel from the horn to the tympanic membrane (referred to as FFG), hf is the response of the feedforward noise reduction circuit, and in the feedback system, G is the transfer function of the acoustic channel from the horn to the error microphone or feedback noise reduction microphone (Err Mic) (referred to as FBG), hb is the response of the feedback noise reduction circuit, c is the control signal (including feedforward and feedback components) from the horn, d is the noise signal penetrating into the ear cup, and e is the residual noise signal after mixing d and c. It is to be understood that assuming the same sound field at the error microphone and at the eardrum of the human ear, the noise residual reference point for the feed forward noise reduction is moved from the eardrum to the error microphone, i.e. let FFG = FBG. The transfer function between the error signal e to the ambient noise d is then defined as the hybrid system sensitivity function S:
S=e/d=(1+GHf/P)/(1-GHb)
the sensitivity function reflects the amount of noise reduction of the system. The maximum noise reduction of Hybrid is approximately equal to the superposition of the feedback and feedforward maximum noise reduction.
In this embodiment, according to the present invention, the feedforward microphone in the earphone device is used to collect external environment noise, the feedback microphone is used to collect an infiltration noise signal, the external environment noise is converted into a frequency domain signal corresponding to the external environment noise through DCT transformation, an anti-noise signal is generated through the frequency domain signal and the infiltration noise signal, and then the anti-noise signal is played through the speaker device to reduce noise, so that the effect of improving the active noise reduction performance of the earphone while reducing the amount of calculation in the noise reduction process of the earphone is achieved without adding additional hardware devices.
Further, based on the above first embodiment of the noise reduction method of the headphone apparatus of the present invention, a second embodiment of the noise reduction method of the headphone apparatus of the present invention is proposed.
In this embodiment, the earphone device comprises a feedforward microphone and a feedback microphone, and the step S10: acquiring the ambient noise and the penetrating noise signal may include:
step S101: acquiring external environment noise through the feedforward microphone;
in this embodiment, the earphone device can collect the external environment noise of the earphone through the feedforward microphone outside the structure of the earphone device so as to facilitate subsequent processing.
Step S102: and acquiring an infiltration noise signal infiltrated into the earphone device through the feedback microphone.
In this embodiment, the earphone device may collect an infiltration noise signal of external environment noise infiltrating into the earphone device through a feedback microphone disposed inside the earphone structure and near the position of the internal speaker diaphragm.
For example, assuming that the user wearing the earphone device is in vehicle noise, the external environment noise may be road vehicle noise, the penetrating noise signal may be road vehicle penetrating noise, and the earphone device collects the road vehicle noise signal through a feedforward microphone disposed outside the structure thereof and collects the road vehicle penetrating noise signal through a feedback microphone disposed inside the earphone structure and near the position of the internal speaker diaphragm.
Alternatively, in a possible embodiment, the step S20: the DCT transforming, by the DCT transforming module, the external environment noise to obtain a frequency domain signal corresponding to the external environment noise may include:
step S201: determining an intermediate variable based on the time domain sequence of the external environment noise through the DCT conversion module, and multiplying the intermediate variable by a compensation coefficient to obtain a DCT conversion coefficient;
in this embodiment, after obtaining the external environment noise and the penetrating noise through the microphone device, the headphone device obtains an intermediate variable of a time domain sequence corresponding to the external environment noise through the DCT transformation module, and then multiplies the intermediate variable by the DCT transformation compensation coefficient to obtain a DCT transformation coefficient.
Step S202: and performing DCT conversion on the external environment noise according to the DCT conversion coefficient to obtain a frequency domain signal corresponding to the external environment noise.
In this embodiment, after the headphone device obtains the DCT coefficient through the time domain sequence calculation of the external environment noise, the external environment noise signal is converted into a frequency domain signal corresponding to the external environment noise through the DCT coefficient.
Exemplarily, assuming that the external environment noise is road vehicle noise, the headphone device first obtains an intermediate variable of a time domain sequence corresponding to the road vehicle noise through a DCT transformation module, then multiplies the intermediate variable by a DCT transformation compensation coefficient to obtain a DCT transformation coefficient, and then converts the road vehicle noise into a road noise frequency domain signal through the DCT transformation coefficient. The DCT transformation formula is as follows:
Figure BDA0003964657120000131
wherein u is 0 to N-1, and when u is 0, c (0) is
Figure BDA0003964657120000132
Otherwise, c (u) is
Figure BDA0003964657120000133
f[n]The original signal is a time domain N point sequence, N is the point number of the original signal, F (u) is a DCT transformed coefficient, u is a generalized frequency variable, c (u) is a compensation coefficient, and the DCT transformation matrix can be an orthogonal matrix.
Optionally, in a possible embodiment, the earphone device includes: a frequency comparison module, wherein the step S30: generating an anti-noise signal from the frequency domain signal and the penetrating noise signal may include:
step S301: selecting a target noise mode corresponding to the frequency of the frequency domain signal from noise modes of the frequency comparison module;
in this embodiment, the earphone device converts the external environment noise into a frequency domain signal corresponding to the external environment noise through the DCT transform module, then compares the frequency of the frequency domain signal with the frequency of each noise mode in the frequency comparison module, and selects a noise mode closest to the frequency of the frequency domain signal as the target noise mode.
It should be noted that the noise mode in the frequency comparison module has frequency domain features extracted from different noise scenes, and the target noise mode is the noise mode with the closest frequency domain signal to the external environment noise frequency domain signal and the highest similarity degree in the frequency comparison module.
Step S302: and processing the external environment noise and the penetrating noise signal through a noise reduction filter bank corresponding to the target noise mode to generate an anti-noise signal.
In this embodiment, after the target noise mode is selected by the earphone device, the noise reduction filter bank corresponding to the target noise mode is selected according to the target noise mode, and then the noise reduction filter bank processes the external environment noise and the penetrating noise signal to generate the anti-noise signal.
It should be noted that, in the present embodiment, the noise reduction filter bank is a filter bank that is designed and debugged in advance, and the filter bank corresponds to each noise pattern in the frequency comparison template, that is, the vehicle noise reduction filter bank corresponding to the vehicle noise pattern, and a scenic district that includes a yelling noise filter bank corresponding to a scenic district that includes a yelling noise.
Illustratively, assuming that the external environment noise is road vehicle noise, and noise patterns such as scenic spot loud noise, campus loud noise, and vehicle noise are assumed in the frequency comparison module of the earphone device, after the earphone device converts the road vehicle noise into road noise frequency domain signals corresponding to the road vehicle noise through the DCT transformation module, the frequency of the road noise frequency domain signals is compared with the frequency of each noise pattern in the frequency comparison module, a vehicle noise pattern most similar to the road noise frequency domain signals is selected as a target noise pattern, a vehicle noise reduction filter bank corresponding to the vehicle noise pattern is selected through the vehicle noise pattern, and the road vehicle noise and the vehicle noise penetrating signals are processed through the vehicle noise reduction filter bank to generate the anti-noise signals.
Optionally, the noise reduction filter bank corresponding to the target noise mode includes: a feedforward noise reduction filter bank and a feedback noise reduction filter bank, in the step S302: processing the ambient noise and the penetrating noise signal by a noise reduction filter bank corresponding to the target noise pattern to generate an anti-noise signal may include:
step S3021: processing the external environment noise through the feedforward noise reduction filter bank to obtain a first output;
in this embodiment, after selecting the noise reduction filter bank corresponding to the frequency domain signal according to the frequency domain signal, the headphone device processes the external environment noise through the feedforward noise reduction filter bank in the noise reduction filter bank to obtain the first output signal.
Step S3022: processing the penetrating noise signal through the feedback noise reduction filter bank to obtain a second output;
in this embodiment, after selecting the noise reduction filter bank corresponding to the frequency domain signal according to the frequency domain signal, the headphone device processes the external environment penetrating noise through the feedback noise reduction filter bank in the noise reduction filter bank to obtain a second output signal.
Step S3023: adding the first output and the second output to generate an anti-noise signal.
In this embodiment, the headphone apparatus adds the first output signal of the noise reduction filter bank that processes the external environment noise and the second output signal that processes the penetrating noise signal to generate the anti-noise signal.
Exemplarily, assuming that the external environment noise is road vehicle noise, the frequency domain signal corresponding to the road vehicle noise is a vehicle noise frequency domain signal, and the penetrating noise signal is a vehicle noise penetrating signal, the headphone device selects a vehicle noise reduction filter bank corresponding to the vehicle noise frequency domain signal according to the vehicle noise frequency domain signal, then processes the road vehicle noise through a vehicle noise feedforward noise reduction filter bank in the vehicle noise reduction filter bank to obtain a first output signal, and synchronously or asynchronously, the headphone device processes the vehicle noise penetrating signal through a vehicle noise feedback noise reduction filter bank in the vehicle noise reduction filter bank to obtain a second output signal, and then adds the first output and the second output to generate the anti-noise signal. Fig. 5 is a schematic diagram of a noise reduction method of the headphone device according to an embodiment of the present invention, where FF mic is a feedforward noise reduction microphone, errmic is a feedback noise reduction microphone, FF-H is a feedforward noise reduction filter bank, FB-H is a feedback noise reduction filter bank, and SPK is a speaker in the headphone.
In this embodiment, the feedforward microphone in the earphone device collects external environment noise, the feedback microphone collects an infiltration noise signal, the external environment noise is converted into a frequency domain signal corresponding to the external environment noise through DCT transformation, an anti-noise signal is generated through the frequency domain signal and the infiltration noise signal, and then the anti-noise signal is played through the speaker device to reduce noise, so that the active noise reduction performance of the earphone is improved while the amount of calculation in the noise reduction process of the earphone is reduced without additionally adding hardware devices.
Further, based on the above first and second embodiments of the noise reduction method of the headphone device of the present invention, a third embodiment of the noise reduction method of the headphone device of the present invention is proposed.
In this embodiment, the headphone apparatus includes: before the step S40 of outputting the anti-noise signal to perform noise reduction on the external environment noise, the noise reduction method of the headphone device of the present invention may further include:
step S50: performing digital-to-analog conversion on the anti-noise signal through the digital-to-analog conversion module to obtain an analog signal;
in this embodiment, before the earphone device outputs the anti-noise signal for noise reduction, the earphone device converts the anti-noise signal from a digital signal to an analog signal through a digital-to-analog conversion module, so as to facilitate the output of a speaker in the earphone device.
Step S60: performing power amplification on the analog signal through the power amplification module to obtain an anti-noise amplification signal;
in this embodiment, the anti-noise signal is subjected to digital-to-analog conversion to obtain an analog signal, and the earphone device performs power amplification on the analog signal to obtain an anti-noise amplified signal.
Illustratively, taking the external environment noise as the road vehicle noise as an example, before the headphone device outputs the anti-vehicle noise signal, the headphone device converts the anti-vehicle noise signal from a digital signal to an anti-vehicle noise analog signal through the digital-to-analog conversion module, and then performs power amplification on the obtained anti-vehicle noise analog signal to obtain an anti-vehicle noise amplified signal.
Based on this, the step S40 of outputting the anti-noise signal to perform noise reduction on the external environment noise includes:
step S401: outputting the anti-noise amplified signal to reduce noise for the ambient noise.
In this embodiment, the earphone device generates an anti-noise signal for the external environment noise through the noise reduction filter bank, and then performs digital-to-analog conversion on the anti-noise signal to obtain an anti-noise analog signal, and then performs power amplification on the anti-noise analog signal to obtain an anti-noise amplified signal, and then outputs the anti-noise amplified signal through the speaker device of the earphone device itself, so as to weaken the penetrating noise signal corresponding to the external environment noise through the anti-noise amplified signal to achieve the noise reduction effect.
Exemplarily, taking the external environment noise as the road vehicle noise as an example, the earphone device generates a vehicle noise resisting signal for the road vehicle noise through the noise reduction filter bank, then performs digital-to-analog conversion on the vehicle noise resisting signal to obtain a vehicle noise resisting analog signal, then performs power amplification on the vehicle noise resisting analog signal to obtain a vehicle noise resisting amplified signal, and then outputs the vehicle noise resisting amplified signal through the speaker device of the earphone device, so as to reduce the road vehicle noise through the vehicle noise resisting amplified signal, thereby achieving the effect of weakening the road vehicle noise.
Optionally, the headset device comprises: the analog-to-digital conversion module and the pre-amplification module, in the step S10: after the external environment noise and the penetrating noise signal are acquired, the noise reduction method of the earphone device further comprises the following steps:
step S70: performing analog-to-digital conversion on the external environment noise according to the analog-to-digital conversion module to obtain an external noise digital signal;
in this embodiment, after the earphone device obtains the external environment noise and the penetrating noise signal, the earphone device converts the external environment noise from the analog signal to the digital signal through the analog-to-digital conversion module.
Step S80: pre-amplifying the external noise digital signal through the pre-amplification module to obtain an external noise amplification signal;
in this embodiment, after the earphone device converts the external environment noise from the analog signal to the digital signal, the pre-amplification module pre-amplifies the external noise digital signal to obtain an external noise amplified signal.
It should be noted that, if a digital microphone is used in the headset, the analog-to-digital conversion module is not needed, and for convenience of understanding, it is assumed that all the microphone devices used in the headset in this embodiment are non-digital microphones.
Exemplarily, assuming that the external environment noise is road vehicle noise, after the earphone device acquires the road vehicle noise, the road vehicle noise is converted into a road noise digital signal by an analog-to-digital conversion module, and then the road noise digital signal is pre-amplified by a pre-amplification module to obtain a road noise amplification signal, so that the earphone device can process the road noise.
Based on this, the above step S20: performing, by the DCT transformation module, DCT transformation on the external environment noise to obtain a frequency domain signal corresponding to the external environment noise, including:
step S201: performing DCT transformation on the external noise amplification signal according to the DCT transformation module to obtain a frequency domain signal corresponding to the external noise amplification signal;
in this embodiment, after the earphone device obtains the external environment noise through the microphone device, the external noise amplification signal is obtained through the analog-to-digital conversion and pre-amplification module, the intermediate variable of the time domain sequence corresponding to the external noise amplification signal is obtained through the DCT transformation module, and then the intermediate variable is multiplied by the DCT transformation compensation coefficient to obtain the DCT transformation coefficient.
Exemplarily, assuming that the external environment noise is road vehicle noise, after the earphone device acquires the road vehicle noise through a microphone, the earphone device sequentially processes the road vehicle noise through an analog-to-digital conversion and pre-amplification module in the earphone device to finally obtain a road noise amplification signal, then obtains an intermediate variable of a time domain sequence corresponding to the road noise amplification signal through a DCT transformation module, and then multiplies the intermediate variable by a DCT transformation compensation coefficient to obtain a DCT transformation coefficient, thereby facilitating subsequent processing.
S90, performing analog-to-digital conversion on the penetration noise signal according to the analog-to-digital conversion module to obtain a penetration noise digital signal;
in this embodiment, after the earphone device obtains the external environment noise and the penetrating noise signal, the earphone device converts the penetrating noise signal from an analog signal to a penetrating noise digital signal through the analog-to-digital conversion module.
Step S100: pre-amplifying the penetrating noise digital signal through the pre-amplification module to obtain a penetrating noise amplification signal;
in this embodiment, after the headphone device converts the penetrating noise signal from the analog signal to the penetrating noise digital signal, the penetrating noise digital signal is pre-amplified by the pre-amplification module to obtain a penetrating noise amplified signal.
Exemplarily, assuming that the external environment noise is road vehicle noise, after the headphone device obtains road vehicle penetration noise, the road vehicle penetration noise is converted into a road vehicle penetration digital signal through the analog-to-digital conversion module, and then the road vehicle penetration digital signal is pre-amplified through the pre-amplification module to obtain a vehicle penetration noise amplification signal.
Based on this, the above step S30: generating an anti-noise signal from the frequency domain signal and the penetrating noise signal, comprising:
step S301: an anti-noise signal is generated from the frequency domain signal and the osmotic noise amplification signal.
In this embodiment, after the earphone device selects the corresponding noise reduction filter bank through the frequency domain signal, the earphone device processes the external environment noise and the penetrating noise amplification signal through the noise reduction filter bank to generate the anti-noise signal.
Exemplarily, assuming that the external environment noise is road vehicle noise, the penetrating noise signal is a vehicle noise penetrating signal, the earphone device first converts the vehicle noise penetrating signal into a vehicle noise penetrating digital signal through the analog-to-digital conversion module, then processes the vehicle noise penetrating digital signal through the pre-amplification module to obtain a vehicle penetrating noise amplification signal, and then processes the road vehicle noise and the vehicle penetrating noise amplification signal through the noise reduction filter bank selected by the frequency domain signal, thereby generating a vehicle noise resistant signal.
In this embodiment, after obtaining the external environment noise and the penetrating noise signal, the present invention performs analog-to-digital conversion and pre-amplification on the external environment noise and the penetrating noise, and performs digital-to-analog conversion and power amplification on the anti-noise signal after generating the anti-noise signal, thereby facilitating transmission and processing of each noise signal in the earphone device.
In addition, the embodiment of the invention also provides a noise reduction device of the earphone equipment.
Referring to fig. 6, the noise reduction apparatus of the headphone device of the present invention includes:
the noise acquisition module 10 is used for acquiring external environment noise and penetrating noise signals;
the signal conversion module 20 is configured to perform DCT transformation on the external environment noise through the DCT transformation module to obtain a frequency domain signal corresponding to the external environment noise;
an anti-noise generation module 30 for generating an anti-noise signal from the frequency domain signal and the penetrating noise signal;
a noise reduction module 40 configured to output the anti-noise signal to reduce noise for the external environment noise.
Optionally, the signal conversion module 20 includes:
the computing unit is used for determining an intermediate variable based on the time domain sequence of the external environment noise through the DCT conversion module and multiplying the intermediate variable by a compensation coefficient to obtain a DCT conversion coefficient;
and the conversion unit is used for carrying out DCT conversion on the external environment noise according to the DCT conversion coefficient to obtain a frequency domain signal corresponding to the external environment noise.
Optionally, the headset device comprises: feedforward microphone and feedback microphone, noise acquisition module 10, includes:
a first acquisition unit for acquiring external environment noise through the feedforward microphone;
a second obtaining unit, configured to obtain, through the feedback microphone, an infiltration noise signal infiltrated into the earphone device.
Optionally, the earphone device comprises: the frequency comparison module, the anti-noise generation module 30, includes:
a noise pattern determination unit configured to select a target noise pattern corresponding to a frequency of the frequency domain signal among noise patterns of the frequency comparison module;
and the noise processing unit is used for processing the external environment noise and the penetrating noise signal through a noise reduction filter bank corresponding to the target noise mode to generate an anti-noise signal.
Optionally, the noise reduction filter bank corresponding to the target noise mode includes: feedforward noise reduction filter bank and feedback noise reduction filter bank, noise processing unit includes:
the first output subunit is used for processing the external environment noise through the feedforward noise reduction filter bank to obtain a first output;
the second output subunit is used for processing the penetrating noise signal through the feedback noise reduction filter bank to obtain a second output;
an anti-noise generation unit to add the first output and the second output to generate an anti-noise signal.
Optionally, the headset device comprises: the digital-to-analog conversion module and the power amplification module; the noise reduction device of the headphone device of the present invention further comprises:
the signal conversion module is used for performing digital-to-analog conversion on the anti-noise signal through the digital-to-analog conversion module to obtain an analog signal;
the signal amplification module is used for carrying out power amplification on the analog signal through the power amplification module to obtain an anti-noise amplification signal;
and the noise reduction module 40 is further configured to output the anti-noise amplification signal to reduce noise for the external environment noise.
Optionally, the earphone device comprises: the analog-to-digital conversion module and the pre-amplification module; the signal conversion module is also used for carrying out analog-to-digital conversion on the external environment noise according to the analog-to-digital conversion module so as to obtain an external noise digital signal; and according to the analog-to-digital conversion module, performing analog-to-digital conversion on the penetration noise signal to obtain a penetration noise digital signal;
the signal amplification module is further used for pre-amplifying the external noise digital signal through the pre-amplification module to obtain an external noise amplification signal; pre-amplifying the penetrating noise digital signal through the pre-amplifying module to obtain a penetrating noise amplifying signal;
the signal conversion module 20 is further configured to perform DCT transformation on the external noise amplification signal according to the DCT transformation module to obtain a frequency domain signal corresponding to the external noise amplification signal;
an anti-noise generation module 30, further configured to generate an anti-noise signal from the frequency domain signal and the penetrating noise amplification signal.
The function implementation of each module in the noise reduction apparatus of the headphone device corresponds to each step in the noise reduction method embodiment of the headphone device, and the function and implementation process thereof are not described in detail herein.
Furthermore, the present invention also provides a storage medium, which stores a noise reduction program of a headphone apparatus, and when the noise reduction program of the headphone apparatus is executed by a processor, the steps of the noise reduction method of the headphone apparatus of the present invention as described above are implemented.
The specific embodiment of the storage medium of the present invention is substantially the same as the embodiments of the noise reduction method of the earphone device, and is not described herein again.

Claims (10)

1. A noise reduction method of a headphone device, the headphone device comprising a DCT transform module, the noise reduction method of the headphone device comprising:
acquiring external environment noise and penetrating noise signals;
performing DCT conversion on the external environment noise through the DCT conversion module to obtain a frequency domain signal corresponding to the external environment noise;
generating an anti-noise signal from the frequency domain signal and the penetrating noise signal;
outputting the anti-noise signal to reduce noise for the ambient noise.
2. The method for reducing noise of an earphone device according to claim 1, wherein the step of performing DCT transform on the external environment noise through the DCT transform module to obtain a frequency domain signal corresponding to the external environment noise comprises:
determining an intermediate variable based on the time domain sequence of the external environment noise through the DCT conversion module, and multiplying the intermediate variable by a compensation coefficient to obtain a DCT conversion coefficient;
and performing DCT conversion on the external environment noise according to the DCT conversion coefficient to obtain a frequency domain signal corresponding to the external environment noise.
3. The noise reduction method for a headphone apparatus according to claim 1, characterized in that the headphone apparatus comprises: a feed-forward microphone and a feedback microphone;
the step of obtaining ambient noise and penetrating noise signals comprises:
acquiring external environment noise through the feedforward microphone;
and acquiring an infiltration noise signal infiltrated into the earphone device through the feedback microphone.
4. The noise reduction method for a headphone apparatus according to claim 1, characterized in that the headphone apparatus comprises: a frequency comparison module;
the step of generating an anti-noise signal from the frequency domain signal and the penetrating noise signal comprises:
selecting a target noise mode corresponding to the frequency of the frequency domain signal from the noise modes of the frequency comparison module;
and processing the external environment noise and the penetrating noise signal through a noise reduction filter bank corresponding to the target noise mode to generate an anti-noise signal.
5. The method of reducing noise of an earphone device according to claim 4, wherein the noise reduction filter bank corresponding to the target noise pattern comprises: a feedforward noise reduction filter bank and a feedback noise reduction filter bank;
the step of processing the ambient noise and the penetrating noise signal by a noise reduction filter bank corresponding to the target noise pattern to generate an anti-noise signal comprises:
processing the external environment noise through the feedforward noise reduction filter bank to obtain a first output;
processing the penetrating noise signal through the feedback noise reduction filter bank to obtain a second output;
adding the first output and the second output to generate an anti-noise signal.
6. The noise reduction method for an ear speaker device according to claim 1, wherein the ear speaker device comprises: the digital-to-analog conversion module and the power amplification module;
prior to the step of outputting the anti-noise signal to reduce noise for the ambient noise, the noise reduction method of the headphone device further includes:
performing digital-to-analog conversion on the anti-noise signal through the digital-to-analog conversion module to obtain an analog signal;
performing power amplification on the analog signal through the power amplification module to obtain an anti-noise amplification signal;
the step of outputting the anti-noise signal for noise reduction with respect to the ambient noise comprises:
outputting the anti-noise amplified signal to reduce noise for the ambient noise.
7. The noise reduction method for an ear speaker device according to claim 1, wherein the ear speaker device comprises: the analog-to-digital conversion module and the pre-amplification module;
after the step of acquiring the ambient noise and the penetrating noise signal, the noise reduction method of the headphone apparatus further includes:
performing analog-to-digital conversion on the external environment noise according to the analog-to-digital conversion module to obtain an external noise digital signal;
pre-amplifying the external noise digital signal through the pre-amplification module to obtain an external noise amplification signal;
performing analog-to-digital conversion on the penetration noise signal according to the analog-to-digital conversion module to obtain a penetration noise digital signal;
pre-amplifying the penetrating noise digital signal through the pre-amplification module to obtain a penetrating noise amplification signal;
the step of performing DCT transform on the external environment noise by the DCT transform module to obtain a frequency domain signal corresponding to the external environment noise includes:
performing DCT transformation on the external noise amplification signal according to the DCT transformation module to obtain a frequency domain signal corresponding to the external noise amplification signal;
the step of generating an anti-noise signal from the frequency domain signal and the penetrating noise signal comprises:
an anti-noise signal is generated from the frequency domain signal and the osmotic noise amplification signal.
8. A noise reduction device of a headphone apparatus, characterized by comprising:
the noise acquisition module is used for acquiring external environment noise and penetrating noise signals;
the signal conversion module is used for performing DCT (discrete cosine transformation) conversion on the external environment noise through the DCT conversion module to obtain a frequency domain signal corresponding to the external environment noise;
an anti-noise generation module to generate an anti-noise signal from the frequency domain signal and the penetrating noise signal;
a noise reduction module to output the anti-noise signal to reduce noise for the ambient noise.
9. An earphone device, characterized in that the earphone device comprises: DCT transformation module, a memory, a processor and a noise reduction program of a headphone apparatus stored on the memory and executable on the processor, which when executed by the processor implements the steps of the noise reduction method of a headphone apparatus as claimed in any one of claims 1 to 7.
10. A storage medium, characterized in that the storage medium has stored thereon a noise reduction program of a headphone apparatus, which when executed by a processor, implements the steps of the noise reduction method of a headphone apparatus as claimed in any one of claims 1 to 7.
CN202211493694.8A 2022-11-25 2022-11-25 Noise reduction method and device for earphone equipment, earphone equipment and storage medium Pending CN115835081A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211493694.8A CN115835081A (en) 2022-11-25 2022-11-25 Noise reduction method and device for earphone equipment, earphone equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211493694.8A CN115835081A (en) 2022-11-25 2022-11-25 Noise reduction method and device for earphone equipment, earphone equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115835081A true CN115835081A (en) 2023-03-21

Family

ID=85531736

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211493694.8A Pending CN115835081A (en) 2022-11-25 2022-11-25 Noise reduction method and device for earphone equipment, earphone equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115835081A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117198264A (en) * 2023-11-06 2023-12-08 江西红声技术有限公司 Active noise reduction processing method, system, readable storage medium and computer equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117198264A (en) * 2023-11-06 2023-12-08 江西红声技术有限公司 Active noise reduction processing method, system, readable storage medium and computer equipment

Similar Documents

Publication Publication Date Title
US9595252B2 (en) Noise reduction audio reproducing device and noise reduction audio reproducing method
US20140169601A1 (en) Hearing instrument
KR102004460B1 (en) Digital hearing device using bluetooth circuit and digital signal processing
CN112954530B (en) Earphone noise reduction method, device and system and wireless earphone
CN110996203B (en) Earphone noise reduction method, device and system and wireless earphone
JP6954296B2 (en) Signal processing equipment, signal processing methods, and programs
CN111294719B (en) Method and device for detecting in-ear state of ear-wearing type device and mobile terminal
CN112399301B (en) Earphone and noise reduction method
CN115835081A (en) Noise reduction method and device for earphone equipment, earphone equipment and storage medium
EP3967060A1 (en) A hearing apparatus with bone conduction sensor
CN112116918A (en) Speech signal enhancement processing method and earphone
US20220312129A1 (en) Feedback elimination in a hearing aid
JP3112268B2 (en) Noise reduction device
CN111800696B (en) Hearing assistance method, earphone, and computer-readable storage medium
JP4521461B2 (en) Sound processing apparatus, sound reproducing apparatus, and sound processing method
CN111464930B (en) Howling detection method and device for earphone and storage medium
JP2023551556A (en) Audio signal processing method and system for echo suppression
CN114466278B (en) Method for determining parameters corresponding to earphone mode, earphone, terminal and system
CN213846995U (en) Microphone signal processing circuit and electronic device
CN111757211B (en) Noise reduction method, terminal device and storage medium
CN113630684A (en) Earphone with active noise reduction function and noise reduction method thereof
JP3435687B2 (en) Sound pickup device
CN216162841U (en) Earphone noise reduction device and earphone system
US20230412978A1 (en) Electronic device for listening to external sound and operating method of electronic device
CN114125625B (en) Noise reduction adjustment method, earphone and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination