CN112309359A - Method for intelligent scene switching active noise reduction of high-speed audio codec and earphone - Google Patents

Method for intelligent scene switching active noise reduction of high-speed audio codec and earphone Download PDF

Info

Publication number
CN112309359A
CN112309359A CN202010673337.4A CN202010673337A CN112309359A CN 112309359 A CN112309359 A CN 112309359A CN 202010673337 A CN202010673337 A CN 202010673337A CN 112309359 A CN112309359 A CN 112309359A
Authority
CN
China
Prior art keywords
noise
noise reduction
determining
intensity
signal
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.)
Granted
Application number
CN202010673337.4A
Other languages
Chinese (zh)
Other versions
CN112309359B (en
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.)
Shenzhen Yiyin Technology Co ltd
Original Assignee
Shenzhen Yiyin Technology 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 Shenzhen Yiyin Technology Co ltd filed Critical Shenzhen Yiyin Technology Co ltd
Priority to CN202010673337.4A priority Critical patent/CN112309359B/en
Publication of CN112309359A publication Critical patent/CN112309359A/en
Application granted granted Critical
Publication of CN112309359B publication Critical patent/CN112309359B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10KSOUND-PRODUCING DEVICES; METHODS OR DEVICES FOR PROTECTING AGAINST, OR FOR DAMPING, NOISE OR OTHER ACOUSTIC WAVES IN GENERAL; ACOUSTICS NOT OTHERWISE PROVIDED FOR
    • G10K11/00Methods 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/16Methods or devices for protecting against, or for damping, noise or other acoustic waves in general
    • G10K11/175Methods or devices for protecting against, or for damping, noise or other acoustic waves in general using interference effects; Masking sound
    • G10K11/178Methods 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/1781Methods 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 characterised by the analysis of input or output signals, e.g. frequency range, modes, transfer functions
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10KSOUND-PRODUCING DEVICES; METHODS OR DEVICES FOR PROTECTING AGAINST, OR FOR DAMPING, NOISE OR OTHER ACOUSTIC WAVES IN GENERAL; ACOUSTICS NOT OTHERWISE PROVIDED FOR
    • G10K11/00Methods 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/16Methods or devices for protecting against, or for damping, noise or other acoustic waves in general
    • G10K11/175Methods or devices for protecting against, or for damping, noise or other acoustic waves in general using interference effects; Masking sound
    • G10K11/178Methods 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/1787General system configurations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones
    • H04R1/1083Reduction of ambient noise

Abstract

The embodiment of the application provides an intelligent scene switching active noise reduction method of a high-speed audio codec and an earphone. The method for actively reducing noise by intelligent scene switching of the high-speed audio codec comprises the following steps: obtaining noise in a current scene; determining the noise intensity of the noise according to the information of the noise; determining the signal-to-noise ratio in the current scene according to the signal intensity and the noise intensity of the current audio; determining a noise reduction level based on the signal-to-noise ratio; and performing noise reduction processing based on a noise reduction mode corresponding to the noise reduction level. In the embodiment, the signal-to-noise ratio between the noise and the audio is determined based on the noise condition in the current environment, and then the corresponding noise reduction mode is determined based on the signal-to-noise ratio, so that adaptive noise reduction processing is performed based on different environments, and the intelligence and efficiency of the noise reduction process and the accuracy of the noise reduction effect are improved.

Description

Method for intelligent scene switching active noise reduction of high-speed audio codec and earphone
Technical Field
The application relates to the technical field of audio, in particular to an intelligent scene switching active noise reduction method of a high-speed audio codec and an earphone.
Background
In many noise reduction scenarios, noise reduction is divided into active noise reduction and passive noise reduction. The active noise reduction function is to generate reverse sound waves equal to external noise through a noise reduction system to neutralize the noise, so that the noise reduction effect is realized. The passive noise reduction earphone mainly forms a closed space by surrounding ears, or adopts sound insulation materials such as silica gel earplugs and the like to block outside noise. However, both active noise reduction and passive noise reduction are easily affected by the external environment, and thus a good noise reduction effect cannot be achieved.
Disclosure of Invention
The embodiment of the application provides an intelligent scene switching active noise reduction method of a high-speed audio codec and an earphone, and then noise reduction can be performed on different external scenes at least to a certain extent, so that the noise reduction effect is improved.
Other features and advantages of the present application will be apparent from the following detailed description, or may be learned by practice of the application.
According to an aspect of an embodiment of the present application, there is provided a method for intelligent scene switching active noise reduction of a high-speed audio codec, including: acquiring noise in a current scene; determining the noise intensity of the noise according to the information of the noise; determining the signal-to-noise ratio in the current scene according to the signal intensity of the current audio and the noise intensity; determining a noise reduction level based on the signal-to-noise ratio; and performing noise reduction processing based on the noise reduction mode corresponding to the noise reduction grade.
In some embodiments of the present application, based on the foregoing scheme, the noise includes that two channels acquire first noise and second noise; determining the noise intensity of the noise according to the information of the noise, comprising: determining the noise intensity spectrum according to the noise sound pressure spectrum of the first noise, the noise sound pressure spectrum of the second noise and the phase difference between the first noise and the second noise; and determining the noise intensity of the noise according to the noise intensity spectrum and a preset noise intensity parameter.
In some embodiments of the present application, based on the foregoing solution, the determining, according to the noise sound pressure spectrum of the first noise, the noise sound pressure spectrum of the second noise, and the phase difference between the first noise and the second noise, the noise intensity spectrum is:
Figure BDA0002583144060000021
wherein k represents the time of the noise intensity spectrum; da(k) A noise sound pressure spectrum representing the first noise; db(k) Representing the second noiseThe noise sound pressure spectrum of (1); Δ φ (k) represents a phase difference between the first noise and the second noise;
according to the noise intensity spectrum and a preset noise intensity parameter, determining the noise intensity of the noise as follows: sN(k)=CkDk
Wherein, CkRepresenting the noise strength parameter.
In some embodiments of the present application, based on the foregoing solution, the determining a signal-to-noise ratio in the current scene according to the signal strength of the current audio and the noise strength includes:
Figure BDA0002583144060000022
wherein N represents a time length corresponding to the audio; s (k) represents the signal strength of the current audio, and Δ k represents the sampling interval of the audio.
In some embodiments of the present application, based on the foregoing scheme, the acquiring noise in the current scene includes: and sampling the sound in the current scene to obtain the noise in the current scene.
In some embodiments of the present application, based on the foregoing scheme, the determining the noise reduction level based on the signal-to-noise ratio includes: and determining the noise reduction grade corresponding to the signal-to-noise ratio according to the corresponding relation between the preset signal-to-noise ratio and the noise reduction grade.
In some embodiments of the present application, based on the foregoing scheme, the performing noise reduction processing based on the noise reduction mode corresponding to the noise reduction level includes: determining a noise reduction mode corresponding to the noise reduction grade according to a corresponding relation between preset noise reduction equal and the noise reduction mode; and performing noise reduction processing on the current audio based on the noise reduction mode.
According to an aspect of an embodiment of the present application, there is provided an earphone for intelligent scene switching active noise reduction of a high-speed audio codec, including: the device comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring noise in a current scene; the first determining unit is used for determining the noise intensity of the noise according to the information of the noise; the second determining unit is used for determining the signal-to-noise ratio in the current scene according to the signal intensity of the current audio and the noise intensity; a third determining unit for determining a noise reduction level based on the signal-to-noise ratio; and the noise reduction unit is used for carrying out noise reduction processing based on the noise reduction mode corresponding to the noise reduction grade.
In some embodiments of the present application, based on the foregoing scheme, the noise includes that two channels acquire first noise and second noise; the first determination unit includes: a fourth determining unit configured to determine the noise intensity spectrum according to a noise sound pressure spectrum of the first noise, a noise sound pressure spectrum of the second noise, and a phase difference between the first noise and the second noise; and the fifth determining unit is used for determining the noise intensity of the noise according to the noise intensity spectrum and a preset noise intensity parameter.
In some embodiments of the present application, based on the foregoing solution, the determining, according to the noise sound pressure spectrum of the first noise, the noise sound pressure spectrum of the second noise, and the phase difference between the first noise and the second noise, the noise intensity spectrum is:
Figure BDA0002583144060000031
wherein k represents the time of the noise intensity spectrum; da(k) A noise sound pressure spectrum representing the first noise; db(k) A noise sound pressure spectrum representing the second noise; Δ φ (k) represents a phase difference between the first noise and the second noise;
according to the noise intensity spectrum and a preset noise intensity parameter, determining the noise intensity of the noise as follows: sN(k)=CkDk
Wherein, CkRepresenting the noise strength parameter.
In some embodiments of the present application, based on the foregoing scheme, the second determining unit includes:
Figure BDA0002583144060000032
wherein N represents a time length corresponding to the audio; s (k) represents the signal strength of the current audio, and Δ k represents the sampling interval of the audio.
In some embodiments of the present application, based on the foregoing scheme, the obtaining unit is configured to sample sound in a current scene to obtain noise in the current scene.
In some embodiments of the present application, based on the foregoing scheme, the third determining unit is configured to: and determining the noise reduction grade corresponding to the signal-to-noise ratio according to the corresponding relation between the preset signal-to-noise ratio and the noise reduction grade.
In some embodiments of the present application, based on the foregoing scheme, the noise reduction unit is configured to: determining a noise reduction mode corresponding to the noise reduction grade according to a corresponding relation between preset noise reduction equal and the noise reduction mode; and performing noise reduction processing on the current audio based on the noise reduction mode.
According to an aspect of an embodiment of the present application, there is provided an electronic device including: one or more processors; a storage device for storing one or more programs which, when executed by the one or more processors, cause the one or more processors to implement a method of intelligent scene cut active noise reduction for a high speed audio codec as described in the above embodiments.
In the technical solutions provided in some embodiments of the present application, noise in a current scene is obtained; determining the noise intensity of the noise according to the information of the noise; determining the signal-to-noise ratio in the current scene according to the signal intensity and the noise intensity of the current audio; determining a noise reduction level based on the signal-to-noise ratio; and performing noise reduction processing based on a noise reduction mode corresponding to the noise reduction level. In the embodiment, the signal-to-noise ratio between the noise and the audio is determined based on the noise condition in the current environment, and then the corresponding noise reduction mode is determined based on the signal-to-noise ratio, so that adaptive noise reduction processing is performed based on different environments, and the intelligence and efficiency of the noise reduction process and the accuracy of the noise reduction effect are improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application. It is obvious that the drawings in the following description are only some embodiments of the application, and that for a person skilled in the art, other drawings can be derived from them without inventive effort. In the drawings:
FIG. 1 schematically illustrates a flow diagram of a method of intelligent scene cut active noise reduction for a high speed audio codec according to one embodiment of the present application;
fig. 2 schematically shows a block diagram of an apparatus for intelligent scene cut active noise reduction for a high speed audio codec according to an embodiment of the present application.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many different forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art.
Furthermore, the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a thorough understanding of embodiments of the application. One skilled in the relevant art will recognize, however, that the subject matter of the present application can be practiced without one or more of the specific details, or with other methods, components, devices, steps, and so forth. In other instances, well-known methods, devices, implementations, or operations have not been shown or described in detail to avoid obscuring aspects of the application.
The block diagrams shown in the figures are functional entities only and do not necessarily correspond to physically separate entities. I.e. these functional entities may be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor means and/or microcontroller means.
The flow charts shown in the drawings are merely illustrative and do not necessarily include all of the contents and operations/steps, nor do they necessarily have to be performed in the order described. For example, some operations/steps may be decomposed, and some operations/steps may be combined or partially combined, so that the actual execution sequence may be changed according to the actual situation.
The implementation details of the technical solution of the embodiment of the present application are set forth in detail below:
fig. 1 shows a flow diagram of a method of intelligent scene cut active noise reduction for a high speed audio codec according to an embodiment of the present application. Referring to fig. 1, the method for intelligent scene change active noise reduction of a high-speed audio codec at least includes steps S110 to S150, which are described in detail as follows:
in step S110, noise in the current scene is acquired.
In one embodiment of the present application, the manner of acquiring the noise in the current scene may be a real-time acquisition manner, for example, acquiring a segment of noise data.
In an embodiment of the present application, the sound in the current scene may also be sampled to obtain sampled data, which is used as the noise in the current scene. In this embodiment, noise is obtained by sampling to reduce the data amount of noise processing, improve the efficiency of audio noise reduction, and achieve the effect of high-speed audio noise reduction.
In step S120, the noise intensity of the noise is determined based on the information of the noise.
In one embodiment of the present application, the information of the noise includes information such as volume, intensity, or sound pressure of the noise, and other types of sound information may be included. In the present embodiment, information such as the volume and intensity of noise may be used as the noise intensity of noise.
In an embodiment of the present application, the noise includes two channels to obtain a first noise and a second noise; the process of determining the noise intensity of the noise according to the information of the noise in step S120 includes the following steps:
determining a noise intensity spectrum according to the noise sound pressure spectrum of the first noise, the noise sound pressure spectrum of the second noise and the phase difference between the first noise and the second noise;
and determining the noise intensity of the noise according to the noise intensity spectrum and a preset noise intensity parameter.
Specifically, in this embodiment, the noise intensity spectrum is determined according to the noise sound pressure spectrum of the first noise, the noise sound pressure spectrum of the second noise, and the phase difference between the first noise and the second noise, and is:
Figure BDA0002583144060000061
wherein k represents the time of the noise intensity spectrum; da(k) A noise sound pressure spectrum representing the first noise; db(k) A noise sound pressure spectrum representing the second noise; Δ Φ (k) represents a phase difference between the first noise and the second noise;
according to the noise intensity spectrum and a preset noise intensity parameter, determining the noise intensity of the noise as follows: sN(k)=CkDk
Wherein, CkRepresenting a noise strength parameter.
In step S130, a signal-to-noise ratio in the current scene is determined according to the signal strength and the noise strength of the current audio.
In an embodiment of the present application, the signal-to-noise ratio is used to represent a ratio between a signal intensity of an audio and a noise intensity of a noise, so as to measure the ratio between the audio and the noise in the current environment through the signal-to-noise ratio, and to ensure the playing effect of the audio by using a low-level noise reduction method under the condition of a low signal-to-noise ratio; under the condition of high signal-to-noise ratio, a high-level noise reduction method is adopted to reduce the influence of noise on audio playing, so that the corresponding noise reduction method is adopted for different environment states, and a balanced noise reduction effect is achieved.
In one embodiment of the present application, determining a signal-to-noise ratio in a current scene according to a signal strength and a noise strength of a current audio includes:
Figure BDA0002583144060000062
wherein, N represents the time length corresponding to the audio; s (k) represents the signal strength of the current audio, and Δ k represents the sampling interval of the audio.
In addition, the noise reduction principle is the same for the continuous audio signal and the noise signal, and the details are not repeated here.
In step S140, a noise reduction level is determined based on the signal-to-noise ratio.
In an embodiment of the present application, a correspondence is preset for the signal-to-noise ratio and the noise reduction level, so as to determine the noise reduction level corresponding to the signal-to-noise ratio based on the correspondence between the signal-to-noise ratio and the noise reduction level.
For example, the corresponding noise reduction level is determined according to the threshold range corresponding to the signal-to-noise ratio through the threshold range corresponding to each noise reduction level. For example, the noise reduction levels may include a primary noise reduction level, a secondary noise reduction level, a tertiary noise reduction level, and the like, where a signal-to-noise ratio corresponding to the primary noise reduction level is 0.8 to 1.0, a signal-to-noise ratio corresponding to the secondary noise reduction level is 0.6 to 0.8, and a signal-to-noise ratio corresponding to the tertiary noise reduction level is less than 0.6. And when the calculated signal-to-noise ratio is 0.5, determining that the corresponding noise reduction level is a three-level noise reduction level, which shows that the intensity of the current noise is higher than that of the audio.
In step S150, noise reduction processing is performed based on the noise reduction method corresponding to the noise reduction level.
In one embodiment of the application, a noise reduction mode corresponding to a noise reduction level is determined according to a preset corresponding relationship between noise reduction equals and the noise reduction mode; and performing noise reduction processing on the current audio in a noise reduction-based mode. Specifically, in this embodiment, different noise reduction levels correspond to noise reduction modes with different strengths, for example, the noise reduction strength corresponding to the three-level noise reduction level is higher than the noise reduction strength corresponding to the two-level noise reduction level.
In an embodiment of the present application, when the calculated signal-to-noise ratio is 0.5, it is determined that the corresponding noise reduction level is a three-level noise reduction level, and then noise reduction processing is performed based on a noise reduction mode corresponding to the three-level noise reduction level.
The following describes an embodiment of an apparatus of the present application, which may be used to implement the method for intelligent scene cut active noise reduction of a high-speed audio codec in the above-described embodiment of the present application. For details not disclosed in the embodiments of the apparatus of the present application, please refer to the embodiments of the method for intelligent scene switching active noise reduction of a high-speed audio codec described above.
Fig. 2 shows a block diagram of a smart scene cut active noise reduction headphone for a high speed audio codec according to one embodiment of the present application.
Referring to fig. 2, an intelligent scene switching active noise reduction headphone 200 of a high-speed audio codec according to an embodiment of the present application includes:
an obtaining unit 210, configured to obtain noise in a current scene; a first determining unit 220, configured to determine a noise strength of the noise according to the information of the noise; a second determining unit 230, configured to determine a signal-to-noise ratio in the current scene according to the signal strength and the noise strength of the current audio; a third determining unit 240 for determining a noise reduction level based on the signal-to-noise ratio; the denoising unit 250 performs denoising processing based on a denoising method corresponding to the denoising level.
In some embodiments of the present application, based on the foregoing scheme, the noise includes that two channels acquire the first noise and the second noise; the first determination unit 220 includes: a fourth determination unit configured to determine a noise intensity spectrum from the noise sound pressure spectrum of the first noise, the noise sound pressure spectrum of the second noise, and a phase difference between the first noise and the second noise; and the fifth determining unit is used for determining the noise intensity of the noise according to the noise intensity spectrum and a preset noise intensity parameter.
In some embodiments of the present application, based on the foregoing scheme, the noise intensity spectrum is determined according to the noise sound pressure spectrum of the first noise, the noise sound pressure spectrum of the second noise, and the phase difference between the first noise and the second noise as follows:
Figure BDA0002583144060000081
wherein k represents the time of the noise intensity spectrum; da(k) A noise sound pressure spectrum representing the first noise; db(k) A noise sound pressure spectrum representing the second noise; Δ Φ (k) represents a phase difference between the first noise and the second noise;
according to the noise intensity spectrum and a preset noise intensity parameter, determining the noise intensity of the noise as follows: sN(k)=CkDk
Wherein, CkRepresenting a noise strength parameter.
In some embodiments of the present application, based on the foregoing scheme, the second determining unit 230 includes:
Figure BDA0002583144060000082
wherein, N represents the time length corresponding to the audio; s (k) represents the signal strength of the current audio, and Δ k represents the sampling interval of the audio.
In some embodiments of the present application, based on the foregoing scheme, the obtaining unit 210 is configured to sample sound in the current scene, so as to obtain noise in the current scene.
In some embodiments of the present application, based on the foregoing scheme, the third determining unit 240 is configured to: and determining the noise reduction grade corresponding to the signal-to-noise ratio according to the corresponding relation between the preset signal-to-noise ratio and the noise reduction grade.
In some embodiments of the present application, based on the foregoing scheme, the noise reduction unit 250 is configured to: determining a noise reduction mode corresponding to the noise reduction grade according to the corresponding relation between the preset noise reduction equal and the noise reduction mode; and based on the noise reduction mode, carrying out noise reduction processing on the current audio.
According to an aspect of an embodiment of the present application, there is provided an electronic device including: one or more processors; a storage device for storing one or more programs which, when executed by the one or more processors, cause the one or more processors to implement a method of intelligent scene cut active noise reduction for a high speed audio codec as described in the above embodiments.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. Each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present application may be implemented by software, or may be implemented by hardware, and the described units may also be disposed in a processor. Wherein the names of the elements do not in some way constitute a limitation on the elements themselves.
It should be noted that although in the above detailed description several modules or units of the device for action execution are mentioned, such a division is not mandatory. Indeed, the features and functionality of two or more modules or units described above may be embodied in one module or unit, according to embodiments of the application. Conversely, the features and functions of one module or unit described above may be further divided into embodiments by a plurality of modules or units.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, the technical solution according to the embodiments of the present application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which can be a personal computer, a server, a touch terminal, or a network device, etc.) to execute the method according to the embodiments of the present application.
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the embodiments disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains.
It will be understood that the present application is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the application is limited only by the appended claims.

Claims (8)

1. A method for intelligent scene switching active noise reduction of a high-speed audio codec is characterized by comprising the following steps:
acquiring noise in a current scene;
determining the noise intensity of the noise according to the information of the noise;
determining the signal-to-noise ratio in the current scene according to the signal intensity of the current audio and the noise intensity;
determining a noise reduction level based on the signal-to-noise ratio;
and performing noise reduction processing based on the noise reduction mode corresponding to the noise reduction grade.
2. The method of claim 1, wherein the noise comprises two channels acquiring a first noise and a second noise;
determining the noise intensity of the noise according to the information of the noise, comprising:
determining the noise intensity spectrum according to the noise sound pressure spectrum of the first noise, the noise sound pressure spectrum of the second noise and the phase difference between the first noise and the second noise;
and determining the noise intensity of the noise according to the noise intensity spectrum and a preset noise intensity parameter.
3. The method of claim 2, wherein the determining the noise intensity spectrum from the noise sound pressure spectrum of the first noise, the noise sound pressure spectrum of the second noise, and the phase difference between the first noise and the second noise is:
Figure FDA0002583144050000011
wherein k represents the time of the noise intensity spectrum; da(k) A noise sound pressure spectrum representing the first noise; db(k) A noise sound pressure spectrum representing the second noise; Δ φ (k) represents a phase difference between the first noise and the second noise;
according to the noise intensity spectrum and a preset noise intensity parameter, determining the noise intensity of the noise as follows: sN(k)=CkDk
Wherein, CkRepresenting the noise strength parameter.
4. The method of claim 3, wherein determining the signal-to-noise ratio in the current scene based on the signal strength of the current audio and the noise strength comprises:
Figure FDA0002583144050000012
wherein N represents a time length corresponding to the audio; s (k) represents the signal strength of the current audio, and Δ k represents the sampling interval of the audio.
5. The method of claim 1, wherein obtaining noise in a current scene comprises:
and sampling the sound in the current scene to obtain the noise in the current scene.
6. The method of claim 1, wherein determining a noise reduction level based on the signal-to-noise ratio comprises:
and determining the noise reduction grade corresponding to the signal-to-noise ratio according to the corresponding relation between the preset signal-to-noise ratio and the noise reduction grade.
7. The method according to claim 1, wherein performing noise reduction processing based on a noise reduction mode corresponding to the noise reduction level comprises:
determining a noise reduction mode corresponding to the noise reduction grade according to a corresponding relation between preset noise reduction equal and the noise reduction mode;
and performing noise reduction processing on the current audio based on the noise reduction mode.
8. An intelligent scene switching active noise reduction earphone of a high-speed audio codec, comprising:
the device comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring noise in a current scene;
the first determining unit is used for determining the noise intensity of the noise according to the information of the noise;
the second determining unit is used for determining the signal-to-noise ratio in the current scene according to the signal intensity of the current audio and the noise intensity;
a third determining unit for determining a noise reduction level based on the signal-to-noise ratio;
and the noise reduction unit is used for carrying out noise reduction processing based on the noise reduction mode corresponding to the noise reduction grade.
CN202010673337.4A 2020-07-14 2020-07-14 Intelligent scene switching active noise reduction method of high-speed audio coder and earphone Active CN112309359B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010673337.4A CN112309359B (en) 2020-07-14 2020-07-14 Intelligent scene switching active noise reduction method of high-speed audio coder and earphone

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010673337.4A CN112309359B (en) 2020-07-14 2020-07-14 Intelligent scene switching active noise reduction method of high-speed audio coder and earphone

Publications (2)

Publication Number Publication Date
CN112309359A true CN112309359A (en) 2021-02-02
CN112309359B CN112309359B (en) 2024-04-30

Family

ID=74483400

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010673337.4A Active CN112309359B (en) 2020-07-14 2020-07-14 Intelligent scene switching active noise reduction method of high-speed audio coder and earphone

Country Status (1)

Country Link
CN (1) CN112309359B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112951259A (en) * 2021-03-01 2021-06-11 杭州网易云音乐科技有限公司 Audio noise reduction method and device, electronic equipment and computer readable storage medium
CN113259801A (en) * 2021-05-08 2021-08-13 深圳市睿耳电子有限公司 Loudspeaker noise reduction method of intelligent earphone and related device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110249844A1 (en) * 2010-04-12 2011-10-13 Starkey Laboratories, Inc. Methods and apparatus for improved noise reduction for hearing assistance devices
US20140023199A1 (en) * 2012-07-23 2014-01-23 Qsound Labs, Inc. Noise reduction using direction-of-arrival information
CN107750027A (en) * 2017-11-30 2018-03-02 会听声学科技(北京)有限公司 scene adaptive active noise reduction earphone and scene adaptive active noise reduction design method
CN109714663A (en) * 2018-12-21 2019-05-03 歌尔科技有限公司 A kind of control method of earphone, earphone and storage medium
CN109817236A (en) * 2019-02-01 2019-05-28 安克创新科技股份有限公司 Audio defeat method, apparatus, electronic equipment and storage medium based on scene
CN110197670A (en) * 2019-06-04 2019-09-03 大众问问(北京)信息科技有限公司 Audio defeat method, apparatus and electronic equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110249844A1 (en) * 2010-04-12 2011-10-13 Starkey Laboratories, Inc. Methods and apparatus for improved noise reduction for hearing assistance devices
US20140023199A1 (en) * 2012-07-23 2014-01-23 Qsound Labs, Inc. Noise reduction using direction-of-arrival information
CN107750027A (en) * 2017-11-30 2018-03-02 会听声学科技(北京)有限公司 scene adaptive active noise reduction earphone and scene adaptive active noise reduction design method
CN109714663A (en) * 2018-12-21 2019-05-03 歌尔科技有限公司 A kind of control method of earphone, earphone and storage medium
CN109817236A (en) * 2019-02-01 2019-05-28 安克创新科技股份有限公司 Audio defeat method, apparatus, electronic equipment and storage medium based on scene
CN110197670A (en) * 2019-06-04 2019-09-03 大众问问(北京)信息科技有限公司 Audio defeat method, apparatus and electronic equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
袁榕嵘 等: "结合相位差和谱减法的双传声器语音增强技术", 电声技术, no. 05 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112951259A (en) * 2021-03-01 2021-06-11 杭州网易云音乐科技有限公司 Audio noise reduction method and device, electronic equipment and computer readable storage medium
CN113259801A (en) * 2021-05-08 2021-08-13 深圳市睿耳电子有限公司 Loudspeaker noise reduction method of intelligent earphone and related device

Also Published As

Publication number Publication date
CN112309359B (en) 2024-04-30

Similar Documents

Publication Publication Date Title
CN110600017B (en) Training method of voice processing model, voice recognition method, system and device
US10511908B1 (en) Audio denoising and normalization using image transforming neural network
US10382876B2 (en) Method and apparatus for generating from a coefficient domain representation of HOA signals a mixed spatial/coefficient domain representation of said HOA signals
CN112309414B (en) Active noise reduction method based on audio encoding and decoding, earphone and electronic equipment
CN113539283A (en) Audio processing method and device based on artificial intelligence, electronic equipment and storage medium
CN112312257B (en) Intelligent 3D earphone of making an uproar falls in initiative digit
CN111785288B (en) Voice enhancement method, device, equipment and storage medium
CN112309359A (en) Method for intelligent scene switching active noise reduction of high-speed audio codec and earphone
CN112312259B (en) Intelligent earphone capable of suppressing environmental noise
CN113571078B (en) Noise suppression method, device, medium and electronic equipment
CN111415653B (en) Method and device for recognizing speech
CN116405109B (en) Optical module communication self-adaptive modulation method based on linear direct drive
CN112602150A (en) Noise estimation method, noise estimation device, voice processing chip and electronic equipment
CN111261148A (en) Training method of voice model, voice enhancement processing method and related equipment
CN117318671B (en) Self-adaptive filtering method based on fast Fourier transform
CN112289334B (en) Reverberation elimination method and device
CN109635349A (en) A kind of method that Noise enhancement minimizes Cramér-Rao lower bound
CN112053669B (en) Method, device, equipment and medium for eliminating human voice
CN108093356B (en) Howling detection method and device
CN117133307A (en) Low-power consumption mono voice noise reduction method, computer device and computer readable storage medium
CN114974299B (en) Training and enhancing method, device, equipment and medium of speech enhancement model
Bekrani et al. Clipped LMS/RLS adaptive algorithms: Analytical evaluation and performance comparison with low-complexity counterparts
CN113409802B (en) Method, device, equipment and storage medium for enhancing voice signal
KR20190069192A (en) Method and device for predicting channel parameter of audio signal
CN110954879A (en) Digital detection method and system for moving threshold

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
GR01 Patent grant