CN112309359B - Intelligent scene switching active noise reduction method of high-speed audio coder and earphone - Google Patents

Intelligent scene switching active noise reduction method of high-speed audio coder and earphone Download PDF

Info

Publication number
CN112309359B
CN112309359B CN202010673337.4A CN202010673337A CN112309359B CN 112309359 B CN112309359 B CN 112309359B CN 202010673337 A CN202010673337 A CN 202010673337A CN 112309359 B CN112309359 B CN 112309359B
Authority
CN
China
Prior art keywords
noise
intensity
determining
noise reduction
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.)
Active
Application number
CN202010673337.4A
Other languages
Chinese (zh)
Other versions
CN112309359A (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

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

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 embodiment of the application provides an intelligent scene switching active noise reduction method of a high-speed audio coder and decoder and an earphone. The intelligent scene switching active noise reduction method of the high-speed audio coder/decoder comprises 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 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 the noise reduction mode corresponding to the noise reduction level. In the embodiment, the signal-to-noise ratio between noise and 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 the self-adaptive noise reduction processing is performed based on different environments, and the intellectualization and efficiency of the noise reduction process and the accuracy of the noise reduction effect are improved.

Description

Intelligent scene switching active noise reduction method of high-speed audio coder 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 and 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 a silica gel earplug and the like to block external noise. However, both active noise reduction and passive noise reduction are easily affected by the external environment, so that a good noise reduction effect is not 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, which can reduce noise aiming at different external scenes at least to a certain extent and improve the noise reduction effect.
Other features and advantages of the application will be apparent from the following detailed description, or may be learned by the practice of the application.
According to an aspect of the 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 a 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 level.
In some embodiments of the present application, based on the foregoing, the noise includes two channels acquiring a first noise and a second noise; determining the noise intensity of the noise according to the information of the noise, including: 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 aspect, the 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, the phase difference between the first noise and the second noise is:
Where k represents the time of the noise intensity spectrum; d a (k) represents a noise sound pressure spectrum of the first noise; d b (k) represents a noise sound pressure spectrum of 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: s N(k)=CkDk;
Wherein C k represents the noise strength parameter.
In some embodiments of the present application, based on the foregoing scheme, the determining a signal-to-noise ratio in the current scene according to a signal strength of the current audio and the noise strength includes:
Wherein N represents the corresponding time length of 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 solution, the acquiring noise in the current scene includes: and sampling sound in the current scene to obtain 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 level corresponding to the signal-to-noise ratio according to the corresponding relation between the preset signal-to-noise ratio and the noise reduction level.
In some embodiments of the present application, based on the foregoing solution, the performing noise reduction processing based on the noise reduction manner corresponding to the noise reduction level includes: determining a noise reduction mode corresponding to the noise reduction level according to a preset corresponding relation between noise reduction equal and the noise reduction mode; and carrying out 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 intelligent scene-switching active noise reduction earphone of a high-speed audio codec, including: an acquisition unit configured to acquire noise in a current scene; a first determining unit configured to determine a 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 configured to determine 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 level.
In some embodiments of the present application, based on the foregoing, the noise includes two channels acquiring a first noise and a 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 a fifth determining unit, configured to determine a 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 aspect, the 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, the phase difference between the first noise and the second noise is:
Where k represents the time of the noise intensity spectrum; d a (k) represents a noise sound pressure spectrum of the first noise; d b (k) represents a noise sound pressure spectrum of 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: s N(k)=CkDk;
Wherein C k represents the noise strength parameter.
In some embodiments of the present application, based on the foregoing, the second determining unit includes:
Wherein N represents the corresponding time length of 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 solution, 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, the third determining unit is configured to: and determining the noise reduction level corresponding to the signal-to-noise ratio according to the corresponding relation between the preset signal-to-noise ratio and the noise reduction level.
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 level according to a preset corresponding relation between noise reduction equal and the noise reduction mode; and carrying out 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 apparatus including: one or more processors; and 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 for intelligent scene-switching active noise reduction of a high-speed audio codec as described in the above embodiments.
In the technical scheme provided by 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 the noise reduction mode corresponding to the noise reduction level. In the embodiment, the signal-to-noise ratio between noise and 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 the self-adaptive noise reduction processing is performed based on different environments, and the intellectualization 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 as claimed.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application. It is evident that the drawings in the following description are only some embodiments of the present application and that other drawings may be obtained from these drawings without inventive effort for a person of ordinary skill in the art. In the drawings:
FIG. 1 schematically illustrates a flow chart of a method of intelligent scene-switched active noise reduction of a high-speed audio codec according to one embodiment of the application;
Fig. 2 schematically shows a block diagram of an apparatus for intelligent scene-switched active noise reduction of a high-speed audio codec according to one embodiment of the application.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. However, the exemplary embodiments may be embodied in many 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 the 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 application may be practiced without one or more of the specific details, or with other methods, components, devices, steps, etc. In other instances, well-known methods, devices, implementations, or operations are not shown or described in detail to avoid obscuring aspects of the application.
The block diagrams depicted in the figures are merely functional entities and do not necessarily correspond to physically separate entities. That is, the functional entities may be implemented in software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor devices and/or microcontroller devices.
The flow diagrams depicted in the figures are exemplary only, and do not necessarily include all of the elements and operations/steps, nor must they 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 order of actual execution may be changed according to actual situations.
The implementation details of the technical scheme of the embodiment of the application are described in detail below:
Fig. 1 shows a flow chart of a method of intelligent scene-switched active noise reduction of a high-speed audio codec according to one embodiment of the application. Referring to fig. 1, the method for intelligent scene-switching 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 application, the manner in which noise in the current scene is acquired may be in real-time, e.g., a segment of noise data is acquired.
In one embodiment of the present application, the sound in the current scene may also be sampled to obtain sampled data as noise in the current scene. In the embodiment, noise is obtained in a sampling mode, so that the data volume of noise processing is reduced, the efficiency of noise reduction of audio is improved, and the effect of high-speed audio noise reduction is achieved.
In step S120, the noise intensity of the noise is determined from the information of the noise.
In one embodiment of the present application, the noise information includes information such as volume, intensity, or sound pressure of the noise, and may include other types of sound information. In this embodiment, information such as the volume and intensity of noise may be used as the noise intensity of noise.
In one embodiment of the application, the noise comprises two channels acquiring 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 the 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 the preset noise intensity parameter.
Specifically, in this embodiment, 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 determined as follows:
Where k represents the time of the noise intensity spectrum; d a (k) represents a noise sound pressure spectrum of the first noise; d b (k) represents a noise sound pressure spectrum of the second noise; Δφ (k) represents the phase difference between the first noise and the second noise;
according to the noise intensity spectrum and the preset noise intensity parameter, determining the noise intensity of the noise as follows: s N(k)=CkDk;
Wherein C k represents a noise strength parameter.
In step S130, the signal-to-noise ratio in the current scene is determined according to the signal strength and the noise strength of the current audio.
In one embodiment of the application, the signal-to-noise ratio is used for representing the ratio between the signal intensity of the audio and the noise intensity of the noise, so that the ratio between the audio and the noise in the current environment is measured through the signal-to-noise ratio, and a low-level noise reduction method is adopted under the condition of low signal-to-noise ratio, so that the playing effect of the audio is ensured; 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 balanced noise reduction effect is achieved by adopting a corresponding noise reduction method aiming at different environment states.
In one embodiment of the present application, determining the signal-to-noise ratio in the current scene based on the signal strength and the noise strength of the current audio includes:
Wherein N represents the corresponding time length of 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 noise signal, and will not be described here.
In step S140, a noise reduction level is determined based on the signal-to-noise ratio.
In one 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 first noise reduction level, a second noise reduction level, a third noise reduction level, and the like, where the signal to noise ratio corresponding to the first noise reduction level is 0.8-1.0, the signal to noise ratio corresponding to the second noise reduction level is 0.6-0.8, and the signal to noise ratio corresponding to the third noise reduction level is less than 0.6. When the calculated signal-to-noise ratio is 0.5, determining that the corresponding noise reduction level is three-level noise reduction level, and indicating that the current noise has higher intensity compared with the audio itself.
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 the noise reduction level is determined according to a preset corresponding relation between noise reduction equality and the noise reduction mode; and carrying out noise reduction processing on the current audio based on the noise reduction mode. Specifically, in this embodiment, different noise reduction levels correspond to noise reduction modes with different intensities, for example, the noise reduction intensity corresponding to the third noise reduction level is higher than the noise reduction intensity corresponding to the second noise reduction level.
In one 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 is performed based on a noise reduction mode corresponding to the three-level noise reduction level.
The following describes an embodiment of the apparatus of the present application, which may be used to perform a method for intelligent scene-switching active noise reduction of a high-speed audio codec in the above embodiment of the present application. For details not disclosed in the embodiments of the present application, please refer to an embodiment of a method for active noise reduction in intelligent scene switching of a high-speed audio codec according to the present application.
Fig. 2 shows a block diagram of an intelligent scene-switched active noise reduction earphone of a high-speed audio codec according to one embodiment of the present application.
Referring to fig. 2, an intelligent scene-switching active noise reduction earphone 200 of a high-speed audio codec according to an embodiment of the present application includes:
An acquiring unit 210, configured to acquire noise in a current scene; a first determining unit 220 for determining a noise intensity 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 noise reduction unit 250 performs noise reduction processing based on the noise reduction scheme corresponding to the noise reduction level.
In some embodiments of the application, based on the foregoing scheme, the noise includes two channels acquiring a first noise and a second noise; the first determination unit 220 includes: a fourth determining unit configured to determine a 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 a fifth determining unit, configured to determine 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 as:
Where k represents the time of the noise intensity spectrum; d a (k) represents a noise sound pressure spectrum of the first noise; d b (k) represents a noise sound pressure spectrum of the second noise; Δφ (k) represents the phase difference between the first noise and the second noise;
according to the noise intensity spectrum and the preset noise intensity parameter, determining the noise intensity of the noise as follows: s N(k)=CkDk;
Wherein C k represents a noise strength parameter.
In some embodiments of the present application, based on the foregoing scheme, the second determining unit 230 includes:
Wherein N represents the corresponding time length of 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 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 third determining unit 240 is configured to: and determining the noise reduction level corresponding to the signal-to-noise ratio according to the corresponding relation between the preset signal-to-noise ratio and the noise reduction level.
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 level according to a preset corresponding relation between noise reduction equal and the noise reduction mode; and carrying out 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 apparatus including: one or more processors; and 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 for intelligent scene-switching active noise reduction of a high-speed audio codec as described in the above embodiments.
The flowcharts 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. Where 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 involved 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 provided in a processor. Wherein the names of the units do not constitute a limitation of the units themselves in some cases.
It should be noted that although in the above detailed description several modules or units of a device for action execution are mentioned, such a division is not mandatory. Indeed, the features and functions of two or more modules or units described above may be embodied in one module or unit in accordance with embodiments of the application. Conversely, the features and functions of one module or unit described above may be further divided into a plurality of modules or units to be embodied.
From the above description of embodiments, those skilled in the art will readily appreciate that the example embodiments described herein may be implemented in software, or may be implemented in software in combination with the necessary hardware. Thus, the technical solution according to the embodiments of the present application may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (may be a CD-ROM, a U-disk, a mobile hard disk, etc.) or on a network, and includes several instructions to cause a computing device (may be a personal computer, a server, a touch terminal, or a network device, etc.) to perform the method according to the embodiments of the present application.
Other embodiments of the 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 application 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 application pertains.
It is to be understood that the application is not limited to the precise arrangements and instrumentalities shown in the drawings, which have been described above, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the application is limited only by the appended claims.

Claims (6)

1. A method for intelligent scene-switching active noise reduction of a high-speed audio codec, comprising:
Acquiring noise in a current scene in a sampling mode;
Determining the noise intensity of the noise according to the information of the noise;
determining a 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;
Performing noise reduction processing based on the noise reduction mode corresponding to the noise reduction level;
the noise comprises first noise and second noise acquired by two channels; determining the noise intensity of the noise according to the information of the noise, including:
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;
Determining the noise intensity of the noise according to the noise intensity spectrum and a preset noise intensity parameter;
Wherein the 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 is:
Where k represents the time of the noise intensity spectrum; d a (k) represents a noise sound pressure spectrum of the first noise; d b (k) represents a noise sound pressure spectrum of 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: s N(k)=CkDk;
Wherein C k represents the noise strength parameter.
2. The method of claim 1, wherein determining a signal-to-noise ratio in the current scene based on a signal strength of the current audio and the noise strength comprises:
Wherein N represents the corresponding time length of the audio; s (k) represents the signal strength of the current audio, and Δk represents the sampling interval of the audio.
3. The method of claim 1, wherein acquiring noise in the current scene comprises:
and sampling sound in the current scene to obtain noise in the current scene.
4. The method of claim 1, wherein determining a noise reduction level based on the signal-to-noise ratio comprises:
And determining the noise reduction level corresponding to the signal-to-noise ratio according to the corresponding relation between the preset signal-to-noise ratio and the noise reduction level.
5. The method according to claim 1, wherein performing noise reduction processing based on the noise reduction manner corresponding to the noise reduction level includes:
determining a noise reduction mode corresponding to the noise reduction level according to a preset corresponding relation between noise reduction equal and the noise reduction mode;
and carrying out noise reduction processing on the current audio based on the noise reduction mode.
6. An intelligent scene-switching active noise-reducing earphone for a high-speed audio codec, comprising:
the acquisition unit is used for acquiring noise in the current scene in a sampling mode;
a first determining unit configured to determine a 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 configured to determine a noise reduction level based on the signal-to-noise ratio;
the noise reduction unit is used for carrying out noise reduction processing based on the noise reduction mode corresponding to the noise reduction level;
the noise comprises first noise and second noise acquired by two channels; determining the noise intensity of the noise according to the information of the noise, including:
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;
Determining the noise intensity of the noise according to the noise intensity spectrum and a preset noise intensity parameter;
Wherein the 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 is:
Where k represents the time of the noise intensity spectrum; d a (k) represents a noise sound pressure spectrum of the first noise; d b (k) represents a noise sound pressure spectrum of 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: s N(k)=CkDk;
Wherein C k represents the noise strength parameter.
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 CN112309359A (en) 2021-02-02
CN112309359B true 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)

Families Citing this family (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
CN113259801B (en) * 2021-05-08 2023-07-18 深圳市睿耳电子有限公司 Horn noise reduction method and related device of intelligent earphone

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8737654B2 (en) * 2010-04-12 2014-05-27 Starkey Laboratories, Inc. Methods and apparatus for improved noise reduction for hearing assistance devices
US9443532B2 (en) * 2012-07-23 2016-09-13 Qsound Labs, Inc. Noise reduction using direction-of-arrival information

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
结合相位差和谱减法的双传声器语音增强技术;袁榕嵘 等;电声技术(05);全文 *

Also Published As

Publication number Publication date
CN112309359A (en) 2021-02-02

Similar Documents

Publication Publication Date Title
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
US8571231B2 (en) Suppressing noise in an audio signal
CN112309359B (en) Intelligent scene switching active noise reduction method of high-speed audio coder and earphone
JP6339187B2 (en) System and method for measuring audio signal quality
CN112309414B (en) Active noise reduction method based on audio encoding and decoding, earphone and electronic equipment
CN112312259B (en) Intelligent earphone capable of suppressing environmental noise
EP2956932B1 (en) Frame error concealment
US20170149441A1 (en) Split gain shape vector coding
CN112602150A (en) Noise estimation method, noise estimation device, voice processing chip and electronic equipment
KR102201791B1 (en) Method and device for processing audio signal
CN113270107A (en) Method and device for acquiring noise loudness in audio signal and electronic equipment
CN113948098A (en) Stereo audio signal time delay estimation method and device
CN112669878B (en) Sound gain value calculation method and device and electronic equipment
CN111986694B (en) Audio processing method, device, equipment and medium based on transient noise suppression
CN108093356B (en) Howling detection method and device
GB2426167A (en) Quantile based noise estimation
CN111145770B (en) Audio processing method and device
CN110189763B (en) Sound wave configuration method and device and terminal equipment
CN113409802B (en) Method, device, equipment and storage medium for enhancing voice signal
CN110168639B (en) Data encoding detection
CN113763976A (en) Method and device for reducing noise of audio signal, readable medium and electronic equipment
US11431349B2 (en) Method, electronic device and computer program product for processing data
CN116805484A (en) Voice detection method, device, medium and electronic equipment
CN111145776B (en) Audio processing method and device
JP6779489B2 (en) Extraction generated sound correction device, extraction generation sound correction method, program

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