CN111968615A - Noise reduction processing method and device, terminal equipment and readable storage medium - Google Patents
Noise reduction processing method and device, terminal equipment and readable storage medium Download PDFInfo
- Publication number
- CN111968615A CN111968615A CN202010899141.7A CN202010899141A CN111968615A CN 111968615 A CN111968615 A CN 111968615A CN 202010899141 A CN202010899141 A CN 202010899141A CN 111968615 A CN111968615 A CN 111968615A
- Authority
- CN
- China
- Prior art keywords
- signal
- noise
- noise signal
- noise reduction
- noising
- 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.)
- Withdrawn
Links
- 230000009467 reduction Effects 0.000 title claims abstract description 101
- 238000003672 processing method Methods 0.000 title claims abstract description 26
- 238000012545 processing Methods 0.000 claims abstract description 59
- 238000001914 filtration Methods 0.000 claims abstract description 42
- 238000009826 distribution Methods 0.000 claims abstract description 30
- 238000000034 method Methods 0.000 claims description 20
- 238000004590 computer program Methods 0.000 claims description 15
- 230000008569 process Effects 0.000 claims description 10
- 230000008447 perception Effects 0.000 claims description 2
- 238000012544 monitoring process Methods 0.000 abstract description 5
- 230000006870 function Effects 0.000 description 9
- 238000004422 calculation algorithm Methods 0.000 description 7
- 238000006243 chemical reaction Methods 0.000 description 7
- 230000007613 environmental effect Effects 0.000 description 7
- 238000010586 diagram Methods 0.000 description 4
- 230000003044 adaptive effect Effects 0.000 description 3
- 238000004891 communication Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- 238000004364 calculation method Methods 0.000 description 2
- 239000000463 material Substances 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 238000005070 sampling Methods 0.000 description 2
- 230000004075 alteration Effects 0.000 description 1
- 238000012937 correction Methods 0.000 description 1
- 210000005069 ears Anatomy 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000011156 evaluation Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000001629 suppression Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10K—SOUND-PRODUCING DEVICES; METHODS OR DEVICES FOR PROTECTING AGAINST, OR FOR DAMPING, NOISE OR OTHER ACOUSTIC WAVES IN GENERAL; ACOUSTICS NOT OTHERWISE PROVIDED FOR
- G10K11/00—Methods or devices for transmitting, conducting or directing sound in general; Methods or devices for protecting against, or for damping, noise or other acoustic waves in general
- G10K11/16—Methods or devices for protecting against, or for damping, noise or other acoustic waves in general
- G10K11/175—Methods or devices for protecting against, or for damping, noise or other acoustic waves in general using interference effects; Masking sound
- G10K11/178—Methods or devices for protecting against, or for damping, noise or other acoustic waves in general using interference effects; Masking sound by electro-acoustically regenerating the original acoustic waves in anti-phase
- G10K11/1785—Methods, e.g. algorithms; Devices
- G10K11/17853—Methods, e.g. algorithms; Devices of the filter
- G10K11/17854—Methods, e.g. algorithms; Devices of the filter the filter being an adaptive filter
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10K—SOUND-PRODUCING DEVICES; METHODS OR DEVICES FOR PROTECTING AGAINST, OR FOR DAMPING, NOISE OR OTHER ACOUSTIC WAVES IN GENERAL; ACOUSTICS NOT OTHERWISE PROVIDED FOR
- G10K11/00—Methods or devices for transmitting, conducting or directing sound in general; Methods or devices for protecting against, or for damping, noise or other acoustic waves in general
- G10K11/16—Methods or devices for protecting against, or for damping, noise or other acoustic waves in general
- G10K11/175—Methods or devices for protecting against, or for damping, noise or other acoustic waves in general using interference effects; Masking sound
- G10K11/178—Methods or devices for protecting against, or for damping, noise or other acoustic waves in general using interference effects; Masking sound by electro-acoustically regenerating the original acoustic waves in anti-phase
- G10K11/1787—General system configurations
- G10K11/17879—General system configurations using both a reference signal and an error signal
-
- 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
-
- 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
Landscapes
- Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Acoustics & Sound (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Soundproofing, Sound Blocking, And Sound Damping (AREA)
Abstract
The application discloses a noise processing method and device, terminal equipment and a readable storage medium. The noise processing method comprises the following steps: acquiring a first noise signal, filtering the first noise signal to obtain a first de-noising signal, and performing first de-noising according to the first de-noising signal; acquiring a second noise signal after the first noise reduction processing, and respectively calculating the energy distribution of the first noise signal and the energy distribution of the second noise signal; and adjusting the filtering parameters according to the energy distribution of the first noise signal and the second noise signal to filter the second noise signal to obtain a second denoising signal, and performing second denoising according to the second denoising signal. Accurate monitoring of the second time has been added on the basis of the processing of making an uproar of first falling, carries out the energy aassessment to the ambient noise sound field after making an uproar, and the parameter of filtering of making an uproar falls in the continuous adjustment, makes to fall and falls more accurate and accord with present noise environment, has optimized the noisy problem of conversation and meeting scene environment, has promoted user experience.
Description
Technical Field
The present application relates to the field of consumer technologies, and in particular, to a noise reduction processing method and apparatus, a terminal device, and a readable storage medium.
Background
In the related art, the application of active noise reduction in the earphone industry is very wide, and sound waves opposite to environmental noise can be generated by opening an active noise reduction switch, so that the noise reduction effect is achieved, and the effect is better in noisy environments such as airplanes and subways. However, the earphone end realizes active noise reduction, the scene is relatively limited, negative pressure is generated on ears when active noise reduction is started, and user communication under a free scene is influenced. Meanwhile, the noise reduction chip needs to be placed at the earphone end, and the cost of the whole earphone is increased.
Disclosure of Invention
The embodiment of the application provides a noise reduction processing method and device, terminal equipment and a readable storage medium.
The noise reduction processing method of the embodiment of the application is used for terminal equipment, and comprises the following steps: acquiring a first noise signal, filtering the first noise signal to obtain a first de-noising signal, and performing first de-noising according to the first de-noising signal; acquiring a second noise signal after first noise reduction processing, and respectively calculating the energy distribution of the first noise signal and the second noise signal; and adjusting filtering parameters according to the energy distribution of the first noise signal and the second noise signal to filter the second noise signal to obtain a second de-noising signal, and performing second de-noising according to the second de-noising signal.
The noise reduction processing device of the embodiment of the application is used for realizing noise reduction processing of terminal equipment, and comprises a first noise reduction module, an energy estimation module and a second noise reduction module, wherein the first noise reduction module is used for acquiring a first noise signal, filtering the first noise signal to obtain a first noise reduction signal, and performing first noise reduction processing according to the first noise reduction signal; the energy estimation module is used for acquiring a second noise signal after first noise reduction processing, and respectively calculating the energy distribution of the first noise signal and the second noise signal; and the second noise reduction module is used for adjusting filtering parameters according to the energy distribution of the first noise signal and the second noise signal so as to filter the second noise signal to obtain a second noise reduction signal, and performing second noise reduction according to the second noise reduction signal.
The terminal device of the embodiment of the present application includes one or more processors and a memory, where the memory stores a computer program, and the computer program is executed by the processors to implement the noise reduction processing method of the above embodiment.
The readable storage medium of the embodiments of the present application has stored thereon a computer program that, when executed by one or more processors, implements the noise reduction processing method of the above-described embodiments.
In the noise reduction processing method and device, the terminal device and the storage medium of the embodiment, the second accurate monitoring is added on the basis of the first noise reduction processing, energy evaluation is carried out on an environmental noise sound field after noise reduction, noise reduction filtering parameters are continuously adjusted, noise reduction is more accurate and is in accordance with the current noise environment, an active noise reduction scheme of a free field is realized through an audio acquisition device and a loudspeaker of the terminal device, an active noise reduction chip and an algorithm, the problem of noisy conversation and conference scene environments is optimized, and user experience is improved.
Additional aspects and advantages of embodiments of the present application will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of embodiments of the present application.
Drawings
The above and/or additional aspects and advantages of the present application will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 is a block diagram of a terminal device according to an embodiment of the present application.
Fig. 2 is a schematic flow chart of a noise processing method according to an embodiment of the present application.
Fig. 3 is a block diagram of a noise processing device according to an embodiment of the present application.
Fig. 4 is another schematic flow chart of the noise processing method according to the embodiment of the present application.
Fig. 5 is a further flowchart illustrating a noise processing method according to an embodiment of the present application.
Fig. 6 is a schematic diagram of an energy distribution of a noise signal according to an embodiment of the present application.
Fig. 7 is a further flowchart of the noise processing method according to the embodiment of the present application.
Fig. 8 is another block diagram of the terminal device according to the embodiment of the present application.
Description of the main element symbols:
the noise processing apparatus 10, the first noise reduction module 12, the obtaining unit 122, the first filtering unit 124, the de-noising signal generating unit 126, the energy estimating module 14, the signal converting unit 142, the calculating unit 144, the second noise reduction module 16, the comparing unit 162, the feedback unit 164, the second filtering unit 166, the terminal device 100, the processor 20, the memory 30, the computer program 32, the audio acquiring apparatus 40, the analog-to-digital converting module 50, the digital-to-analog converting module 60, and the speaker 70.
Detailed Description
Reference will now be made in detail to embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the accompanying drawings are illustrative and are only for the purpose of explaining the present application and are not to be construed as limiting the present application.
Referring to fig. 1, in the terminal device 100 provided in the embodiments of the present application, an active noise reduction scheme of a free field can be implemented by the terminal device 100 through the audio acquisition device 40 and the speaker 70 provided therein and the active noise reduction chip and algorithm, so as to reduce low-frequency noise in an environment in a specific scene, optimize a problem of noisy meeting scene environment, and improve user experience. For example, in a scene of indoor communication, a user may cancel noise of a noise source within a predetermined range of the terminal device 100 by turning on active noise reduction of the terminal device 100 to emit a reverse cancellation sound wave, so as to suppress environmental noise and ensure user communication.
In some embodiments, the terminal device 100 may be a Mobile phone, a tablet Computer, a notebook Computer, an Ultra-Mobile Personal Computer (UMPC), a netbook, a Personal Digital Assistant (PDA), or the like.
The embodiment of the application provides a noise processing method, which can be used for actively reducing noise of the terminal device 100, optimizing the problem of noisy meeting scene environment, and improving user experience.
The present application provides a noise processing apparatus 10, and the noise processing apparatus 10 can be used for realizing noise processing of a terminal device 100. The noise processing method according to the embodiment of the present application can be applied to the noise processing device 10 according to the embodiment of the present application, that is, the noise processing device 10 according to the embodiment of the present application can implement the noise processing of the terminal device 100 by using the noise processing method according to the embodiment of the present application.
In some embodiments, the noise processing apparatus 10 may be part of the terminal device 100. Alternatively, the terminal device 100 includes the noise processing apparatus 10.
In some embodiments, the noise processing apparatus 10 may be a discrete component assembled in such a way as to have the aforementioned functions, or a chip having the aforementioned functions in the form of an integrated circuit, or a computer software code segment that causes a computer to have the aforementioned functions when run on the computer.
In some embodiments, the noise processing device 10 may be a stand-alone device or an additional peripheral device attached to a computer or computer system as hardware. The noise processing apparatus 10 may also be integrated into a computer or computer system, for example, when the noise processing apparatus 10 is part of the terminal device 100, the noise processing apparatus 10 may be integrated into the processor 20.
In some embodiments, the noise processing apparatus 10 is a part of the terminal device 100, and as software, a code segment corresponding to the terminal device 100 may be stored on the memory 30 and executed on the processor 20 to implement the aforementioned functions. Or the noise processing apparatus 10, comprises one or more of the computer programs 32 described above, or one or more of the computer programs 32 described above comprises the noise processing apparatus 10.
Referring to fig. 2 and 3, in some embodiments, a noise processing method according to an embodiment of the present disclosure includes:
step S1, acquiring a first noise signal, filtering the first noise signal to obtain a first de-noising signal, and performing first de-noising according to the first de-noising signal;
step S2, acquiring the second noise signal after the first noise reduction processing, and respectively calculating the energy distribution of the first noise signal and the second noise signal;
step S3, adjusting the filtering parameters according to the energy distribution of the first noise signal and the second noise signal to filter the second noise signal to obtain a second de-noising signal, and performing a second de-noising process according to the second de-noising signal.
Specifically, the noise processing apparatus 10 includes a first noise reduction module 12, an energy estimation module 14 and a second noise reduction module 16, and step S1 may be implemented by the first noise reduction module 12, step S2 may be implemented by the energy estimation module 14, and step S3 may be implemented by the second noise reduction module 16. That is, the first noise reduction module 12 may be configured to obtain a first noise signal, perform filtering processing on the first noise signal to obtain a first noise-removed signal, and perform the first noise reduction processing according to the first noise-removed signal. The energy estimation module 14 may be configured to obtain the second noise signal after the first noise reduction processing, and calculate energy distributions of the first noise signal and the second noise signal respectively. The second noise reduction module 16 may be configured to adjust the filtering parameter according to the energy distribution of the first noise signal and the second noise signal to perform filtering processing on the second noise signal to obtain a second denoised signal, and perform second noise reduction processing according to the second denoised signal.
It should be noted that the terminal device 100 may include the audio collecting apparatus 40 and the analog-to-digital converting module 50, and the terminal device 100 may collect the data signal of the noise source through the audio collecting apparatus 40 and form an analog signal, and then the analog signal is converted into a digital signal by the analog-to-digital converting module 50 so that the data signal of the noise source is transmitted and processed in the terminal device 100.
In one example, the audio collecting device 40 may be a microphone array, and the microphone array may collect data signals of noise sources in different directions of the terminal device 100, so as to ensure the accuracy of noise monitoring.
In the noise reduction processing method and device in the embodiment of the application, the second accurate monitoring is added on the basis of the first noise reduction processing, energy assessment is carried out on an environmental noise sound field after noise reduction, noise reduction filtering parameters are continuously adjusted, noise reduction is more accurate and the current noise environment is met, an active noise reduction scheme of a free field is realized through the audio acquisition device 40 and the loudspeaker 70 of the terminal device 100, an active noise reduction chip and an active noise reduction algorithm, the problem of noisy conversation and conference scene environment is optimized, and user experience is improved.
In some embodiments, the first noise reduction module 12 and the second noise reduction module 16 may be the same adaptive filtered Least Mean Square (LMS) algorithm module.
The first noise reduction module 12 may filter the first noise signal after the active noise reduction of the terminal device 100 is started to implement the first noise reduction processing, and after the first noise reduction processing is completed, the first noise reduction module 12 may switch to the second noise reduction module 16, and then adjust the filtering parameter according to the energy distribution of the first noise signal and the second noise signal, and perform the second noise reduction processing.
Referring to fig. 4, in some embodiments, step S1 includes:
step S12, acquiring a first noise signal according to the acquired noise source data;
step S14, performing filtering processing on the first noise signal by using a filter to obtain an output signal, and calculating an error between the output signal and the first noise signal; and
and step S16, adjusting the filtering parameters of the filter according to the error to reduce the error, and generating a first denoising signal according to the output signal of the filter when the variation of the error is smaller than a preset range.
Specifically, the first noise reduction module 12 may include an acquisition unit 122, a first filtering unit 124, and a denoised signal generating unit 126, and step S12 may be implemented by the acquisition unit 122, step S14 may be implemented by the first filtering unit 124, and step S16 may be implemented by the denoised signal generating unit 126. That is, the acquisition unit 122 may be configured to acquire the first noise signal from the acquired noise source data. The first filtering unit 124 may be configured to perform a filtering process on the first noise signal by using a filter to obtain an output signal, and calculate an error between the output signal and the first noise signal. The denoising signal generating unit 126 may be configured to adjust a filtering parameter of the filter according to the error to reduce the error, and generate a first denoising signal according to an output signal of the filter when a variation of the error is smaller than a preset range.
In step S12, based on the noise source data after analog-to-digital conversion, a noise array d (t) at time t is acquired as a noise signal; in step S14, the noise array d (t) at time t is used as the input signal of the filter, the output array y (t) of the filter at time t is obtained as the output signal of the filter, and then the output array y (t) is compared with the noise array d (t) to obtain the error array e (t) therebetween; in step S16, the weight coefficient w (t) of the filter at time t is modified by the error array e (t), so that the modified error array e (t) is reduced, and iteration is performed sequentially, and finally the error array e (t) gradually reaches the minimum value. When the error array e (t) reaches the minimum value, it indicates that the variation of the error array e (t) is smaller than the predetermined range, that is, the error array e (t) tends to be stable, and the influence of the weight coefficient of the continuous correction filter on the output array y (t) is small. At this time, a first denoised signal is generated from the output signal y (t).
In certain embodiments, step S1 includes:
and generating reverse cancellation sound waves according to the first denoising signal to perform first denoising processing.
Specifically, the first noise reduction module 12 may be configured to generate a reverse cancellation sound wave according to the first noise reduction signal to perform the first noise reduction processing.
It should be noted that the terminal device 100 may include the digital-to-analog conversion module 60 and the speaker 70, and the first noise module may convert the first noise-removed signal into an analog signal by using the digital-to-analog conversion module 60 and control the speaker 70 to generate a reverse cancellation sound wave to perform the first noise reduction processing, where the reverse cancellation sound wave is superimposed with the noise to be removed, so as to suppress the ambient noise, which may make the environment relatively quiet during the conversation and the meeting.
Referring to fig. 5, in some embodiments, step S2 includes:
step S22 of performing short-time fourier transform on the first noise signal and the second noise signal, respectively, to transform the first noise signal and the second noise signal to a frequency domain; and
step S24, respectively calculating energy distributions of the first noise signal and the second noise signal corresponding to the respective frequency bands according to the frequency domains of the first noise signal and the second noise signal.
Specifically, the energy estimation module 14 may include a signal conversion unit 142 and a calculation unit 144, and step S22 may be implemented by the signal conversion unit 142 and step S24 may be implemented by the calculation unit 144. That is, the signal conversion unit 142 may be configured to perform short-time fourier transform on the first noise signal and the second noise signal to transform the first noise signal and the second noise signal to the frequency domain, respectively. The calculating unit 144 may be configured to calculate energy distributions of the first noise signal and the second noise signal corresponding to the frequency bands according to the frequency domains of the first noise signal and the second noise signal, respectively.
After the first denoising process, the environmental noise is monitored again to obtain the environmental noise energy distribution after the current noise source is cancelled, wherein in step S22, the acquired environmental noise signal is subjected to short-time fourier transform (STFT) to transform to the frequency domain. In one example, the noise signal is D (n) and is fourier transformed into D (k, l), where k is the band number (1-x), l is the frame number, and x is the number of frequency bands, corresponding to the sampling rate and the sampling time, so that the noise energy estimate calculated in step S24 is calculated asK is 1 to j, j is the interval of the frequency band, so that the energy distribution of each frequency band can be calculated. In one example, the energy distribution of the noise signal may be as shown in fig. 6.
In some embodiments, the frequency bands are divided according to a non-linear frequency scale in the human auditory perception characteristic.
In this way, the classification of noise signals can construct feature values in a feature space that distinguish the signals. The overall frequency band may be divided into a plurality of segments x, the low frequency signals may be analyzed using a higher frequency resolution, and the high frequency signals may be analyzed using a higher time resolution.
Referring to fig. 7, in some embodiments, step S3 includes:
step S32, comparing the energy of the first noise signal and the second noise signal in each frequency band in turn;
step S34, when the energy ratio of the first noise signal and the second noise signal corresponding to the target frequency band is smaller than a preset value, feeding back a characteristic value corresponding to the target frequency band to a filter; and
and step S36, adjusting the filter parameters of the filter according to the eigenvalue to filter the second noise signal to obtain a second denoised signal.
Specifically, the second noise reduction module 16 may include a comparison unit 162, a feedback unit 164, and a second filtering unit 166, and step S32 may be implemented by the comparison unit 162, step S34 may be implemented by the feedback unit 164, and step S36 may be implemented by the second filtering unit 166. That is, the comparing unit 162 may be configured to sequentially compare the energy levels of the first noise signal and the second noise signal in the respective frequency bands. The feedback unit 164 may be configured to feed back the characteristic value corresponding to the target frequency band to the filter when the energy ratio of the first noise signal and the second noise signal corresponding to the target frequency band is smaller than a preset value. The second filtering unit 166 may be configured to adjust a filtering parameter of the filter according to the eigenvalue to perform filtering processing on the second noise signal to obtain a second denoised signal.
Therefore, by acquiring the noise energy distribution of each frequency band and comparing the noise energy distribution with the acquired value before noise reduction, if the frequency bands of the comparison value are all larger than the range of the preset value, the first noise reduction is proved to actually play a corresponding role; if some frequency bands are not larger than the range of the preset value, the characteristic values of the frequency bands which do not play corresponding roles are returned to the adaptive filtering least mean square algorithm module, and the adaptive filtering least mean square algorithm module changes the parameters of the filter of the corresponding frequency bands and adjusts the active noise reduction effect.
In certain embodiments, step S3 includes:
and generating reverse cancellation sound waves according to the second denoising signal to perform second denoising processing.
Specifically, the second noise reduction module 16 may be configured to generate an inverse cancellation sound wave according to the second noise reduction signal for the second noise reduction processing.
Similarly, the second noise module may convert the second denoising signal into an analog signal by using the digital-to-analog conversion module 60 of the terminal device 100 and control the speaker 70 to generate a reverse cancellation sound wave to perform the second denoising process, where the reverse cancellation sound wave is superimposed with the noise to be cancelled, and further achieve suppression of the ambient noise on the basis of the first denoising process, which may ensure that the environment becomes relatively quiet during the conversation and the conference.
Referring to fig. 8, the terminal device 100 according to the present embodiment includes one or more processors 20 and a memory 30, where the memory 30 stores a computer program 32, and when the computer program 32 is executed by the one or more processors 20, the cell residence processing method according to any of the above embodiments is implemented.
In one example, the computer program 32, when executed by the processor 20, performs the steps of:
step S1, acquiring a first noise signal, filtering the first noise signal to obtain a first de-noising signal, and performing first de-noising according to the first de-noising signal;
step S2, acquiring the second noise signal after the first noise reduction processing, and respectively calculating the energy distribution of the first noise signal and the second noise signal;
step S3, adjusting the filtering parameters according to the energy distribution of the first noise signal and the second noise signal to filter the second noise signal to obtain a second de-noising signal, and performing a second de-noising process according to the second de-noising signal.
In the terminal device 100 of the embodiment of the present application, the processor 20 executes the computer program 32 to implement the noise reduction processing method of the embodiment of the present application, add the second accurate monitoring on the basis of the first noise reduction processing, perform energy assessment on the ambient noise sound field after noise reduction, continuously adjust the noise reduction filtering parameters, make noise reduction more accurate and conform to the current noise environment, implement the active noise reduction scheme of the free field through the audio acquisition device 40 and the speaker 70 of the terminal device 100 and the active noise reduction chip and algorithm, optimize the problem of noisy conversation and conference scene environment, and improve user experience.
The present embodiment provides a readable storage medium storing a computer program 32, and when the computer program 32 is executed by one or more processors, the method for implementing the cell residence processing of any of the above embodiments is implemented.
In the description herein, reference to the term "one embodiment," "some embodiments," or "an example" etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the application. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing steps of a custom logic function or process, and alternate implementations are included within the scope of the preferred embodiment of the present application in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present application.
The logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present application may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. If implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present application may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium. The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc. Although embodiments of the present application have been shown and described above, it is to be understood that the above embodiments are exemplary and not to be construed as limiting the present application, and that changes, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present application.
Claims (10)
1. A noise reduction processing method is used for a terminal device, and is characterized by comprising the following steps:
acquiring a first noise signal, filtering the first noise signal to obtain a first de-noising signal, and performing first de-noising according to the first de-noising signal;
acquiring a second noise signal after first noise reduction processing, and respectively calculating the energy distribution of the first noise signal and the second noise signal;
and adjusting filtering parameters according to the energy distribution of the first noise signal and the second noise signal to filter the second noise signal to obtain a second de-noising signal, and performing second de-noising according to the second de-noising signal.
2. The method according to claim 1, wherein the step of obtaining a first noise signal and performing filtering processing on the first noise signal to obtain a first denoised signal, and the step of performing first denoising processing according to the first denoised signal includes:
acquiring the first noise signal according to the acquired noise source data;
filtering the first noise signal by using a filter to obtain an output signal, and calculating an error between the output signal and the first noise signal; and
and adjusting the filtering parameters of the filter according to the error to reduce the error, and generating the first denoising signal according to the output signal of the filter when the variation of the error is smaller than a preset range.
3. The method according to claim 2, wherein the step of obtaining a first noise signal and performing filtering processing on the first noise signal to obtain a first denoised signal, and the step of performing first denoising processing according to the first denoised signal includes:
and generating reverse cancellation sound waves according to the first denoising signal so as to perform first denoising processing.
4. The noise reduction processing method according to claim 1, wherein the step of acquiring the second noise signal after the first noise reduction processing and calculating the energy distribution of the second noise signal comprises:
performing short-time Fourier transform on the first noise signal and the second noise signal to transform the first noise signal and the second noise signal to a frequency domain, respectively; and
and respectively calculating the energy distribution of the first noise signal and the second noise signal corresponding to each frequency band according to the frequency domain of the first noise signal and the frequency domain of the second noise signal.
5. The noise reduction processing method according to claim 4, wherein the frequency band is divided according to a non-linear frequency scale in human auditory perception characteristics.
6. The method according to claim 4, wherein the step of adjusting the filter parameter according to the energy distributions of the first noise signal and the second noise signal to filter the second noise signal to obtain a second denoised signal, and performing the second denoising process according to the second denoised signal comprises:
sequentially comparing the energy of the first noise signal and the energy of the second noise signal in each frequency band;
when the energy ratio of the first noise signal to the second noise signal to the target frequency band is smaller than a preset value, feeding back a characteristic value corresponding to the target frequency band to a filter; and
and adjusting the filter parameters of the filter according to the characteristic values to filter the second noise signal to obtain a second de-noising signal.
7. The method according to claim 6, wherein the step of adjusting the filter parameter according to the energy distributions of the first noise signal and the second noise signal to filter the second noise signal to obtain a second denoised signal, and performing the second denoising process according to the second denoised signal comprises:
and generating reverse cancellation sound waves according to the second denoising signal so as to perform second denoising processing.
8. A noise reduction processing device for realizing noise reduction processing of a terminal device, comprising:
the first noise reduction module is used for acquiring a first noise signal, filtering the first noise signal to obtain a first de-noising signal, and performing first noise reduction according to the first de-noising signal;
the energy estimation module is used for acquiring a second noise signal after first noise reduction processing and respectively calculating the energy distribution of the first noise signal and the second noise signal; and
and the second noise reduction module is used for adjusting filtering parameters according to the energy distribution of the first noise signal and the second noise signal so as to filter the second noise signal to obtain a second de-noising signal and performing second noise reduction according to the second de-noising signal.
9. A terminal device comprising one or more processors and a memory, the memory storing a computer program that, when executed by the one or more processors, implements the noise reduction processing method of any one of claims 1 to 7.
10. A readable storage medium having stored thereon a computer program, wherein the computer program, when executed by one or more processors, implements the noise reduction processing method of any one of claims 1-7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010899141.7A CN111968615A (en) | 2020-08-31 | 2020-08-31 | Noise reduction processing method and device, terminal equipment and readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010899141.7A CN111968615A (en) | 2020-08-31 | 2020-08-31 | Noise reduction processing method and device, terminal equipment and readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111968615A true CN111968615A (en) | 2020-11-20 |
Family
ID=73400078
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010899141.7A Withdrawn CN111968615A (en) | 2020-08-31 | 2020-08-31 | Noise reduction processing method and device, terminal equipment and readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111968615A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113066468A (en) * | 2021-03-18 | 2021-07-02 | 辛巴网络科技(南京)有限公司 | Active noise interference elimination optimization device and method based on in-vehicle environment |
CN113643682A (en) * | 2021-10-13 | 2021-11-12 | 展讯通信(上海)有限公司 | Noise reduction method, chip module and equipment |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040064307A1 (en) * | 2001-01-30 | 2004-04-01 | Pascal Scalart | Noise reduction method and device |
WO2014035845A2 (en) * | 2012-09-02 | 2014-03-06 | QoSound, Inc. | Adaptive audio signal shaping for improved playback in a noisy environment |
CN109616133A (en) * | 2018-09-28 | 2019-04-12 | 广州智伴人工智能科技有限公司 | A kind of environmental noise removal system |
CN109714668A (en) * | 2019-01-07 | 2019-05-03 | 哈尔滨工业大学(深圳) | Indoor active noise reduction device, noise-reduction method and storage medium |
CN109864515A (en) * | 2019-04-19 | 2019-06-11 | 西安凌软创新电子科技有限公司 | A kind of reaction type noise reduction pillow |
CN110619895A (en) * | 2019-09-06 | 2019-12-27 | Oppo广东移动通信有限公司 | Directional sound production control method and device, sound production equipment, medium and electronic equipment |
CN110875054A (en) * | 2018-08-31 | 2020-03-10 | 阿里巴巴集团控股有限公司 | Far-field noise suppression method, device and system |
-
2020
- 2020-08-31 CN CN202010899141.7A patent/CN111968615A/en not_active Withdrawn
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040064307A1 (en) * | 2001-01-30 | 2004-04-01 | Pascal Scalart | Noise reduction method and device |
WO2014035845A2 (en) * | 2012-09-02 | 2014-03-06 | QoSound, Inc. | Adaptive audio signal shaping for improved playback in a noisy environment |
CN110875054A (en) * | 2018-08-31 | 2020-03-10 | 阿里巴巴集团控股有限公司 | Far-field noise suppression method, device and system |
CN109616133A (en) * | 2018-09-28 | 2019-04-12 | 广州智伴人工智能科技有限公司 | A kind of environmental noise removal system |
CN109714668A (en) * | 2019-01-07 | 2019-05-03 | 哈尔滨工业大学(深圳) | Indoor active noise reduction device, noise-reduction method and storage medium |
CN109864515A (en) * | 2019-04-19 | 2019-06-11 | 西安凌软创新电子科技有限公司 | A kind of reaction type noise reduction pillow |
CN110619895A (en) * | 2019-09-06 | 2019-12-27 | Oppo广东移动通信有限公司 | Directional sound production control method and device, sound production equipment, medium and electronic equipment |
Non-Patent Citations (2)
Title |
---|
曾树华;吕敬祥;聂小武;: "基于MFCC倒谱距离与对数的语音端点检测方法", 《电声技术》, no. 09 * |
樊欣欣;禹旺明;陈晓娟;: "随机电报信号噪声时间参数的提取方法", 《半导体技术》, no. 04 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113066468A (en) * | 2021-03-18 | 2021-07-02 | 辛巴网络科技(南京)有限公司 | Active noise interference elimination optimization device and method based on in-vehicle environment |
CN113643682A (en) * | 2021-10-13 | 2021-11-12 | 展讯通信(上海)有限公司 | Noise reduction method, chip module and equipment |
CN113643682B (en) * | 2021-10-13 | 2022-07-15 | 展讯通信(上海)有限公司 | Noise reduction method, chip module and equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10657981B1 (en) | Acoustic echo cancellation with loudspeaker canceling beamformer | |
KR102410447B1 (en) | Adaptive Beamforming | |
CN103871421B (en) | A kind of self-adaptation noise reduction method and system based on subband noise analysis | |
JP5762956B2 (en) | System and method for providing noise suppression utilizing nulling denoising | |
EP1252796B1 (en) | System and method for dual microphone signal noise reduction using spectral subtraction | |
KR101601197B1 (en) | Apparatus for gain calibration of microphone array and method thereof | |
CN114827859A (en) | Hearing device comprising a recurrent neural network and method for processing an audio signal | |
US8184828B2 (en) | Background noise estimation utilizing time domain and spectral domain smoothing filtering | |
JP6351538B2 (en) | Multiband signal processor for digital acoustic signals. | |
US11373667B2 (en) | Real-time single-channel speech enhancement in noisy and time-varying environments | |
CN110402540B (en) | Active noise reduction method, device, chip, active control system and storage medium | |
WO2003015457A2 (en) | Sound processing system including forward filter that exhibits arbitrary directivity and gradient response in single wave sound environment | |
US11812237B2 (en) | Cascaded adaptive interference cancellation algorithms | |
US10978087B2 (en) | Signal processing device, teleconferencing device, and signal processing method | |
CN111968615A (en) | Noise reduction processing method and device, terminal equipment and readable storage medium | |
US7319770B2 (en) | Method of processing an acoustic signal, and a hearing instrument | |
US11483646B1 (en) | Beamforming using filter coefficients corresponding to virtual microphones | |
WO2017060673A1 (en) | Adaptive filter control | |
JP2024517721A (en) | Audio optimization for noisy environments | |
CN115209292A (en) | Audio signal compensation method and device, earphone and storage medium | |
CN112331226A (en) | Voice enhancement system and method for active noise reduction system | |
EP1469703A2 (en) | Method of processing an acoustical signal and a hearing instrument | |
JP5228903B2 (en) | Signal processing apparatus and method | |
KR20230057287A (en) | Method for generating active noise reduction filter, storage medium and earphone | |
GIRIKA et al. | ADAPTIVE SPEECH ENHANCEMENT TECHNIQUES FOR COMPUTER BASED SPEAKER RECOGNITION. |
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 | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20201120 |
|
WW01 | Invention patent application withdrawn after publication |