CN113709288A - Noise reduction method and device, electronic equipment and computer readable storage medium - Google Patents

Noise reduction method and device, electronic equipment and computer readable storage medium Download PDF

Info

Publication number
CN113709288A
CN113709288A CN202110934750.6A CN202110934750A CN113709288A CN 113709288 A CN113709288 A CN 113709288A CN 202110934750 A CN202110934750 A CN 202110934750A CN 113709288 A CN113709288 A CN 113709288A
Authority
CN
China
Prior art keywords
noise reduction
sound
sound information
distance
electronic equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110934750.6A
Other languages
Chinese (zh)
Inventor
尹建朋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202110934750.6A priority Critical patent/CN113709288A/en
Publication of CN113709288A publication Critical patent/CN113709288A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/19Arrangements of transmitters, receivers, or complete sets to prevent eavesdropping, to attenuate local noise or to prevent undesired transmission; Mouthpieces or receivers specially adapted therefor
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • 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 relates to the technical field of audio processing, and discloses a noise reduction method, a noise reduction device, electronic equipment and a computer-readable storage medium, wherein the method can be applied to the electronic equipment and comprises the following steps: receiving first sound information through a sound acquisition device, and determining a first distance between a sound source corresponding to the first sound information and the electronic equipment; determining a first noise reduction parameter according to a first distance between the sound source and the electronic equipment; and carrying out noise reduction processing on the first sound information according to the first noise reduction parameter to obtain second sound information. By implementing the method disclosed by the embodiment of the application, the noise reduction effect of the received sound information can be improved.

Description

Noise reduction method and device, electronic equipment and computer readable storage medium
Technical Field
The present application relates to the field of audio processing technologies, and in particular, to a noise reduction method and apparatus, an electronic device, and a computer-readable storage medium.
Background
Electronic devices (e.g., mobile phones, tablet computers, etc.) today can collect ambient sounds through a sound collection device (e.g., a microphone, etc.), and play the collected ambient sounds to a user through a speaker such as an earphone or a speaker.
In practice, it is found that the environmental sound collected by the electronic device usually includes human voice and other environmental noises, and the noise reduction effect of the related art on the noises in the environmental sound is not ideal.
Disclosure of Invention
The embodiment of the application discloses a noise reduction method, a noise reduction device, electronic equipment and a computer readable storage medium, which can improve the noise reduction effect on received sound information.
The embodiment of the application discloses a noise reduction method in a first aspect, which is applied to electronic equipment, and the method comprises the following steps:
receiving first sound information through a sound acquisition device, and determining a first distance between a sound source corresponding to the first sound information and the electronic equipment;
determining a first noise reduction parameter according to the first distance;
and carrying out noise reduction processing on the first sound information according to the first noise reduction parameter to obtain second sound information.
A second aspect of the embodiments of the present application discloses a noise reduction apparatus, which is applied to an electronic device, the apparatus includes:
the receiving unit is used for receiving first sound information through a sound collecting device and determining a first distance between a sound source corresponding to the first sound information and the electronic equipment;
a determining unit, configured to determine a first noise reduction parameter according to the first distance;
and the noise reduction unit is used for carrying out noise reduction processing on the first sound information according to the first noise reduction parameter so as to obtain second sound information.
A third aspect of the embodiments of the present application discloses an electronic device, including:
a memory storing executable program code;
a processor coupled with the memory;
the processor calls the executable program code stored in the memory to execute the noise reduction method disclosed by the first aspect of the embodiment of the present application.
A fourth aspect of the embodiments of the present application discloses a computer-readable storage medium storing a computer program, where the computer program enables a computer to execute the noise reduction method disclosed in the first aspect of the embodiments of the present application.
A fifth aspect of embodiments of the present application discloses a computer program product, which, when run on a computer, causes the computer to perform part or all of the steps of any one of the methods of the first aspect of embodiments of the present application.
A sixth aspect of the present embodiment discloses an application publishing platform, where the application publishing platform is configured to publish a computer program product, where the computer program product, when running on a computer, causes the computer to perform part or all of the steps of any one of the methods in the first aspect of the present embodiment.
Compared with the related art, the embodiment of the application has the following beneficial effects:
the noise reduction method disclosed by the embodiment of the application can be applied to electronic equipment, wherein the electronic equipment can receive first sound information through a sound collection device, determine a first distance between a sound source corresponding to the first sound information and the electronic equipment, further determine a first noise reduction parameter according to the first distance between the sound source and the electronic equipment, and perform noise reduction processing on the first sound information according to the first noise reduction parameter so as to obtain second sound information subjected to noise reduction. Therefore, by implementing the noise reduction method disclosed by the embodiment of the application, the received sound information can be subjected to noise reduction in different degrees according to the distance between the sound source corresponding to the received sound information and the electronic device, so that the sound transmitted from different distances can be subjected to more reasonable noise reduction processing, and the noise reduction effect of the electronic device on the received sound information is improved. In addition, the electronic equipment can automatically switch the corresponding noise reduction parameters according to the distance of the sound source without manual switching by a user, and the noise reduction intelligent degree of the electronic equipment is also improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
Fig. 1 is a schematic view of an application scenario applicable to a noise reduction method disclosed in an embodiment of the present application;
FIG. 2 is a schematic flow chart illustrating a noise reduction method according to an embodiment of the present disclosure;
FIG. 3 is a schematic flow chart diagram of another noise reduction method disclosed in the embodiments of the present application;
FIG. 4 is a schematic flow chart illustrating yet another noise reduction method disclosed in the embodiments of the present application;
FIG. 5 is a schematic diagram for explaining the sound receiving operation of the multi-sound collection device according to the embodiment of the present application;
fig. 6 is a schematic structural diagram of a noise reduction device disclosed in an embodiment of the present application;
FIG. 7 is a schematic structural diagram of another noise reducer disclosed in the embodiments of the present application;
fig. 8 is a schematic structural diagram of an electronic device disclosed in an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that the terms "first", "second", "third" and "fourth", etc. in the description and claims of the present application are used for distinguishing different objects, and are not used for describing a specific order. The terms "comprises," "comprising," and "having," and any variations thereof, of the embodiments of the present application, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The embodiment of the application discloses a noise reduction method, a noise reduction device, electronic equipment and a computer readable storage medium, which can improve the noise reduction effect on received sound information.
The technical solution of the present application will be described in detail with reference to specific examples.
In order to more clearly illustrate the noise reduction method, apparatus, electronic device and computer-readable storage medium disclosed in the embodiments of the present application, an application scenario suitable for the noise reduction method is first introduced. The noise reduction method can be used for various electronic devices, such as: the wearable device may be a portable electronic device such as a mobile phone and a tablet computer, an electronic device such as a desktop computer and a television, or a wearable device such as an earphone, a smart watch and a smart bracelet, which is not limited herein.
Referring to fig. 1, fig. 1 is a schematic view of an application scenario applicable to a noise reduction method according to an embodiment of the present application. The electronic device 100 may include a sound collection device 1001 (e.g., a microphone, etc.) for receiving sound information. When the first sound information generated by the sound source 200 outside the electronic device 100 is transmitted to the electronic device 100, the electronic device 100 may receive the first sound information through the sound collecting apparatus 1001. The sound source 200 is an object, a living body, or an electronic device capable of generating sound information, and includes: a person speaking, an engine of a vehicle, etc., and is not limited thereto. It is understood that a plurality of sound sources 200 may exist around the electronic device 100, and fig. 1 only illustrates one sound source 200 by way of example, and should not be construed as a limitation to the embodiments of the present application. It should be further noted that the electronic device 100 may further include other devices, such as a processor, a speaker, etc., which are not limited herein, and fig. 1 should not be construed as limiting the electronic device 100 disclosed in the embodiments of the present application.
In practice, it is found that the distances from the electronic device 100 to the different sound sources 200 may be different, but in the related art, the same noise reduction processing is generally applied to the sound information transmitted from the different sound sources 200, so that the noise reduction effect is not ideal. Therefore, the noise reduction method disclosed in the embodiment of the present application can perform noise reduction to the received sound information to different degrees according to the distance between the sound source corresponding to the received sound information and the electronic device, so that the sound transmitted from different distances can perform more reasonable noise reduction processing, and thus the noise reduction effect of the electronic device on the received sound information is improved.
Referring to fig. 2, fig. 2 is a schematic flowchart illustrating a noise reduction method according to an embodiment of the present disclosure, where the noise reduction method may be applied to the electronic device or other execution bodies, and is not limited herein. The noise reduction method may include the steps of:
202. the first sound information is received through the sound collecting device, and a first distance between a sound source corresponding to the first sound information and the electronic equipment is determined.
In this embodiment, the electronic device may be provided with a sound collection device, for example: a microphone, etc. for receiving voice information. Optionally, the sound collection device may be externally disposed outside the housing of the electronic device, or may be internally disposed inside the housing of the electronic device. In addition, the number of the sound collection devices may be one, or may be multiple (including two or more), and is not limited herein. In another embodiment, the electronic device may further receive the first sound information through a sound collection device communicatively coupled to the electronic device. When the electronic equipment needs to collect the ambient sound information (for example, in a call scene, the voice of a user is collected, in a shooting scene, the ambient sound in a distant shooting scene is collected), the first sound information can be received through the sound collection device.
In the embodiment of the present application, the first sound information may be sound generated by any sound source, for example: the voice of a human, the noise of an automobile engine, the voice of a musical instrument, and the like, are not limited thereto. The sound source corresponding to the first sound information is an object, a living being, or an electronic device that generates the first sound information, and includes: the first voice information is the voice of the person speaking, and then the sound source is the person speaking; the first sound information is noise of an engine of the vehicle, and the sound source is the engine of the vehicle.
Optionally, while receiving the first sound information, the electronic device may determine a first distance between the sound source corresponding to the first sound information and the electronic device (where the first distance may be a straight distance between the sound source and the electronic device). In an embodiment, the electronic device may determine, according to the sound intensity of the received first sound information, a first distance between the sound source corresponding to the first sound information and the electronic device. It is understood that the energy of the sound information gradually decreases during the propagation process, so the longer the distance of the sound information propagation, the weaker the sound intensity. Alternatively, the first distance between the sound source corresponding to the first sound information and the electronic device may be in a negative correlation (e.g., an inverse proportional relationship) with the sound intensity of the first sound information.
By implementing the method, the electronic device can determine the first distance between the sound source corresponding to the first sound information and the electronic device through the sound intensity of the first sound information, and the sound intensity of the first sound information is a parameter which is easy to obtain, so that the difficulty of determining the first distance between the sound source and the electronic device by the electronic device is reduced, and the implementation requirement of the noise reduction method is lowered.
204. A first noise reduction parameter is determined from the first distance.
In this embodiment of the present application, the first noise reduction parameter is a parameter used for indicating a noise reduction degree when the electronic device performs noise reduction processing on sound information. The first noise reduction parameter may include a noise reduction depth and/or a noise reduction bandwidth, which is not limited herein.
The noise reduction depth is a volume that can reduce noise of a certain frequency. The larger the noise reduction depth is, the more the volume of the noise is reduced, and the better the noise reduction effect is, otherwise, the smaller the noise reduction depth is, the worse the noise reduction effect is. The noise reduction bandwidth refers to a frequency range of noise that can be processed by the electronic device, and it can be understood that the larger the noise reduction bandwidth is, the more frequencies are covered, and the more frequencies of noise can be processed, so the better the noise reduction effect is, otherwise, the smaller the noise reduction bandwidth is, the worse the noise reduction effect is. That is, the larger the first noise reduction parameter is, the better the noise reduction effect is, so optionally, the degree of noise reduction of the first sound information by the electronic device may be in a positive correlation (e.g., a direct proportional relationship) with the first noise reduction parameter.
In the embodiment of the application, the electronic device can determine the first noise reduction parameter in real time according to the first distance between the sound source and the electronic device. In another embodiment, the electronic device may generate multiple sets of candidate noise reduction parameters before determining the first noise reduction parameter according to the first distance, where each set of candidate noise reduction parameters corresponds to a different distance range; and after determining the first distance between the sound source corresponding to the first sound information and the electronic device, the electronic device may determine a target distance range to which the first distance belongs, and then determine, from the plurality of sets of candidate noise reduction parameters, a candidate noise reduction parameter corresponding to the target distance range as the first noise reduction parameter corresponding to the first distance.
206. And carrying out noise reduction processing on the first sound information according to the first noise reduction parameter to obtain second sound information.
In the embodiment of the present application, the noise reduction processing refers to an operation in which the electronic device generates a reverse sound wave equal to noise for the noise in the first sound information, and then neutralizes the noise through the reverse sound wave to achieve an effect of noise reduction.
Optionally, the electronic device may generate a reverse sound wave corresponding to the sound intensity and the sound frequency according to the first noise reduction parameter, and then neutralize the noise by the reverse sound wave, so as to achieve a noise reduction effect of a noise reduction degree corresponding to the first noise reduction parameter.
It can be understood that, if the sound intensity of the inverse sound wave corresponding to the first noise reduction parameter is larger and the sound frequency is wider, the more the inverse sound wave has a stronger neutralization effect on the noise, and the better the noise reduction effect is; on the contrary, if the sound intensity of the inverse sound wave corresponding to the first noise reduction parameter is smaller and the sound frequency is narrower, the effect of the inverse sound wave on the noise neutralization is weaker, and the noise reduction effect is worse. The noise reduction of different degrees of sound transmitted from different distances is realized.
By implementing the method disclosed in each of the above embodiments, the electronic device may receive the first sound information through the sound collection device, determine a first distance between the sound source corresponding to the first sound information and the electronic device, further determine a first noise reduction parameter according to the first distance between the sound source and the electronic device, and perform noise reduction processing on the first sound information according to the first noise reduction parameter to obtain second sound information after noise reduction. That is to say, the electronic device can perform noise reduction to different degrees on the received sound information according to the distance between the sound source corresponding to the received sound information and the electronic device, so that the sound transmitted from different distances can perform more reasonable noise reduction processing, and the noise reduction effect of the electronic device on the received sound information is improved. In addition, the electronic equipment can automatically switch the corresponding noise reduction parameters according to the distance of the sound source without manual switching by a user, and the noise reduction intelligent degree of the electronic equipment is also improved.
Referring to fig. 3, fig. 3 is a schematic flowchart of another noise reduction method disclosed in the embodiment of the present application, where the noise reduction method can be applied to the electronic device or other execution bodies, and is not limited herein. The noise reduction method may include the steps of:
302. the first sound information is received through the sound collecting device, and a first distance between a sound source corresponding to the first sound information and the electronic equipment is determined.
In the embodiment of the present application, the electronic device may establish a communication connection with the headset, including a wireless communication connection (a bluetooth connection, a local area network connection) and a wired communication connection (a data line connection), which is not limited herein. And then when the electronic equipment detects that the earphone is in a wearing state, the first sound information can be received through the sound collection device.
By implementing the method, the electronic equipment can determine that the electronic equipment has the requirement for collecting the ambient sound information when detecting that the earphone is in a wearing state, and then receive the first sound information through the sound collecting device, so that the situation that the electronic equipment receives the first sound information through the sound collecting device when the electronic equipment does not have the requirement for collecting the ambient sound information can be avoided, the power consumption of the electronic equipment is reduced, and the storage space of the electronic equipment can be prevented from being wasted due to the stored meaningless first sound information.
In another embodiment, the electronic device may receive the first sound information through the sound collection device when detecting that the target sound reception switch has been turned on by the electronic device.
The target sound reception switch may be a switch for indicating whether to execute the noise reduction method disclosed in the embodiment of the present application. It can be understood that, when the target radio switch is turned on, the electronic device may receive the first sound information through the sound collecting device and execute the noise reduction method disclosed in the embodiment of the present application; and when the target sound receiving switch is closed, the electronic equipment does not execute the noise reduction method disclosed by the embodiment of the application.
By implementing the method, a target radio switch for indicating whether to execute the noise reduction method disclosed by the embodiment of the application can be set in the electronic equipment, so that the noise reduction method is controllable, a user can control the noise reduction processing according to the self requirement, and the use experience of the user is improved.
In yet another embodiment, the electronic device may receive the first sound information through the sound collection device when detecting that the headset communicatively connected to the electronic device is in a wearing state and detecting that the electronic device has turned on the target sound reception switch.
By implementing the method, the electronic equipment receives the first sound information when the earphone is in a wearing state and the target radio switch is turned on, so that the power consumption of the electronic equipment is reduced, and the storage space of the electronic equipment can be prevented from being wasted by the stored meaningless first sound information; and the noise reduction method is controllable, so that a user can control the noise reduction processing according to the self requirement, and the use experience of the user is improved.
304. And determining a first noise reduction parameter according to the first distance and a second noise reduction parameter, wherein the second noise reduction parameter is a default noise reduction parameter for carrying out noise reduction processing on the sound information.
In the embodiment of the present application, when the electronic device performs noise reduction processing on the sound information, the sound information is usually processed according to a default second noise reduction parameter. It is understood that if the electronic device or the user does not specify which set of noise reduction parameters the electronic device employs to perform noise reduction processing on the sound information, the electronic device may default to performing noise reduction processing on the sound information according to the second noise reduction parameters. The second noise reduction parameter may be set by an openman or a user, and is not limited herein. Optionally, the second noise reduction parameter may be matched with a noise reduction gear selected by a user.
In this regard, the electronic device may use the second noise reduction parameter as a reference, and then adjust the second noise reduction parameter according to the first distance between the sound source corresponding to the first sound information and the electronic device (for example, the second noise reduction parameter is increased by a first parameter difference value, the second noise reduction parameter is decreased by a second parameter difference value, and the like, which is not limited herein), so as to determine the first noise reduction parameter corresponding to the first distance.
By implementing the method, the electronic device can determine the first noise reduction parameter corresponding to the first distance by taking the default second noise reduction parameter as a reference when the electronic device performs noise reduction processing on the sound information, so that the difficulty in determining the first noise reduction parameter can be reduced; in addition, the first noise reduction parameter determined by taking the default noise reduction parameter adopted by the electronic equipment as the reference better accords with the noise reduction capability of the electronic equipment, so that the subsequent noise reduction processing is better matched with software and hardware of the electronic equipment.
In an embodiment, when the electronic device determines that a first distance between a sound source corresponding to the first sound information and the electronic device is greater than a distance threshold (the distance threshold may be set by a developer according to a large amount of development data, for example, 5 meters, 10 meters, and the like, but not limited thereto), the second noise reduction parameter may be increased by the first parameter difference to obtain a first noise reduction parameter, so as to increase a subsequent noise reduction degree for the first sound information.
The first parameter difference may be a fixed value or a dynamic value, which may be determined in advance by the electronic device or determined in real time, and is not limited herein. Optionally, the electronic device may determine the first parameter difference according to a first distance difference between the first distance and the distance threshold, where the first parameter difference and the first distance difference may be in a positive correlation (e.g., a direct proportional relationship).
It should be further noted that, when the electronic device determines that the first distance between the sound source corresponding to the first sound information and the electronic device is greater than the distance threshold, it may be determined that the sound source corresponding to the first sound information is farther from the electronic device, so that the first sound information generally includes more environmental noise. In this regard, the electronic device may increase the noise reduction parameter to increase the degree of noise reduction for the first sound information, so that sounds that the user does not want to hear in the first sound information may be canceled. For example: the other environmental noises except the voice in the first sound information can be eliminated, and only the voice is kept.
By implementing the method, the electronic device can increase the noise reduction degree of the first sound information when the sound source corresponding to the first sound information is determined to be far away from the electronic device, so that the sound which is not wanted to be heard by a user in the first sound information can be eliminated, and the noise reduction effect is improved.
In another embodiment, when the electronic device determines that the first distance between the sound source corresponding to the first sound information and the electronic device is smaller than the distance threshold, the second noise reduction parameter may be reduced by the second parameter difference to obtain the first noise reduction parameter, so as to reduce the noise reduction degree of the first sound information.
The second parameter difference may be a fixed value or a dynamic value, which may be determined in advance by the electronic device or determined in real time, and is not limited herein. Optionally, the electronic device may determine a second parameter difference according to a second distance difference between the distance threshold and the first distance, where the second parameter difference and the second distance difference may be in a positive correlation (e.g., a direct proportional relationship).
When the electronic device determines that the first distance between the sound source corresponding to the first sound information and the electronic device is smaller than the distance threshold, the electronic device may determine that the sound source corresponding to the first sound information is closer to the electronic device. In practice, it is found that when the sound source is close to the electronic device, the electronic device may receive the first sound information and include some voices with smaller volume, and the voice with smaller volume may be eliminated as noise. In this regard, in order to retain the portion of the voice with the smaller volume, the electronic device may reduce the noise reduction degree of the first sound information, so as to prevent the portion of the voice with the smaller volume from being eliminated.
Optionally, when the electronic device determines that the first distance between the sound source corresponding to the first sound information and the electronic device is smaller than the distance threshold, it may be determined whether the first sound information includes the human sound information; and if the first sound information comprises the voice information and the sound intensity of the voice information is smaller than the sound intensity threshold value, reducing the second noise reduction parameter by the second parameter difference value to obtain the first noise reduction parameter so as to reduce the noise reduction degree of the first sound information, thereby achieving the effect of reserving the voice with smaller volume.
By implementing the method, the electronic device can reduce the noise reduction degree of the first sound information when the sound source corresponding to the first sound information is determined to be closer to the electronic device, so that the voice of a person with smaller volume in the first sound information can be prevented from being eliminated.
It will be appreciated that a sound source that is relatively far from the electronic device (e.g., other users that are more distant from the electronic device than a second distance threshold (e.g., 10 meters, 15 meters, etc.)) may also generate a relatively low volume personal sound, but it is contemplated that this portion of the relatively low volume personal sound may be a sound that is not intended to be received by the electronic device (which may be related to the privacy of the other users). The electronic equipment can improve the noise reduction degree, and directly eliminates the voice with smaller volume so as to protect the privacy of other users.
Optionally, when the electronic device determines that the first distance between the sound source corresponding to the first sound information and the electronic device is greater than the distance threshold, if it is determined that the first sound information includes the human sound information and the sound intensity of the human sound information is less than the sound intensity threshold, the second noise reduction parameter may be increased by the first parameter difference to obtain the first noise reduction parameter, so as to increase the noise reduction degree of the first sound information. Therefore, the voice of the person with the smaller volume is eliminated, so that the privacy of other users is protected.
In another embodiment, when the electronic device determines that the first distance between the sound source corresponding to the first sound information and the electronic device is equal to the distance threshold, it indicates that the distance between the sound source and the electronic device is moderate, and for this reason, the electronic device may use the default second noise reduction parameter as the first noise reduction parameter, and then perform noise reduction processing on the first sound information according to the first noise reduction parameter.
By the method, when the distance between the sound source and the electronic equipment is moderate, the default adopted second noise reduction parameter is directly used as the first noise reduction parameter, so that the steps of the noise reduction method are simplified, and the noise reduction efficiency is improved.
306. And carrying out noise reduction processing on the first sound information according to the first noise reduction parameter to obtain second sound information.
As an alternative implementation, in consideration of the fact that the volume of the second sound information may be relatively small, the electronic device may amplify the second sound information to obtain the third sound information; the electronic device may further output the third sound information through an earphone communicatively connected to the electronic device and/or a speaker (e.g., a speaker, an earpiece, etc.) provided at the electronic device.
Optionally, the electronic device may amplify, by using an amplifying circuit, the electrical signal corresponding to the second sound information to obtain amplified third sound information.
By implementing the method, the electronic device can amplify the second sound information after noise reduction, so that the volume of the subsequently output third sound information is larger, and the user can listen conveniently.
By implementing the method disclosed by each embodiment, the received sound information can be denoised to different degrees according to the distance between the sound source corresponding to the received sound information and the electronic equipment, so that the sound transmitted from different distances can be denoised more reasonably, and the denoising effect of the electronic equipment on the received sound information is improved. In addition, the electronic equipment can automatically switch the corresponding noise reduction parameters according to the distance of the sound source without manual switching by a user, and the noise reduction intelligent degree of the electronic equipment is also improved. And; when the electronic equipment performs noise reduction processing on the sound information, the default second noise reduction parameter is taken as a reference, and the first noise reduction parameter corresponding to the first distance is determined, so that the difficulty in determining the first noise reduction parameter can be reduced; in addition, the first noise reduction parameter determined by taking the noise reduction parameter adopted by the electronic equipment as the default as the reference can better accord with the software and hardware conditions of the electronic equipment, so that the noise reduction effect of the electronic equipment is improved.
Referring to fig. 4, fig. 4 is a schematic flowchart illustrating a noise reduction method according to an embodiment of the disclosure, where the noise reduction method may be applied to the electronic device or other execution bodies, and is not limited herein. The noise reduction method may include the steps of:
402. and receiving the first sound information through the sound acquisition device.
In the embodiment of the present application, the electronic device may include a plurality of sound collection devices, including two or more sound collection devices. Optionally, the electronic device may include a first sound collection device and a second sound collection device (where the first sound collection device and the second sound collection device may be disposed at the same or different positions and types, as shown in fig. 5, the first sound collection device may be disposed above the front surface of the electronic device, and the second sound collection device may be disposed below the front surface of the electronic device, and optionally, the first sound collection device and the second sound collection device may include a moving coil microphone, a small diaphragm capacitor microphone, a diaphragm capacitor microphone, an aluminum tape microphone, and the like, which are not limited herein), so that the electronic device may collect first sound information through the first sound collection device and the second sound collection device, respectively; the electronic equipment can further determine a second distance between a sound source corresponding to the first sound information and the first sound collecting device according to the sound intensity of the first sound information collected by the first sound collecting device; and determining a third distance between the sound source corresponding to the first sound information and the second sound acquisition device according to the sound intensity of the first sound information acquired by the second sound acquisition device.
Furthermore, the electronic device may invert the waveform of the first sound information collected by the main noise reduction sound collection device to obtain inverse sound wave information, and further superimpose the first sound information collected by the main recorded sound collection device and the inverse sound wave information to obtain noise-reduced fourth sound information. If the second distance is smaller than the third distance, the first sound acquisition device is used as a sound acquisition device for main recording, and the second sound acquisition device is used as a sound acquisition device for main noise reduction; on the contrary, if the second distance is larger than the third distance, the first sound collection device is used as a main noise reduction sound collection device, and the second sound collection device is used as a main recording sound collection device.
Referring to fig. 5, fig. 5 is a schematic diagram for explaining the sound receiving operation of the multiple sound collection device according to the embodiment of the present application. For example, the first sound collection device 502 closer to the sound source 501 may be a main recorded sound collection device, and the main recorded sound collection device may collect the first sound information generated by the sound source more clearly because the main recorded sound collection device is closer to the sound source (for example, the sound source is a person, and the first sound information may be a human voice); the second sound collection device 503, which is far from the sound source 501, can receive the first sound information generated by the sound source 501 and also can receive the environmental noise, so that the second sound collection device 503 can be used as a main noise reduction sound collection device. It can be understood that, since the second sound collection device 503 is far away from the sound source 501, the ambient noise collected by the first sound collection device 502 is clearer compared, so that the first sound information collected by the second sound collection device 503 can be used to generate the reverse sound wave information, and the first sound information collected by the first sound collection device 502 is overlapped with the reverse sound wave information, so as to eliminate the noise in the first sound information collected by the first sound collection device 502, thereby obtaining the fourth sound information after noise reduction.
By implementing the method, the noise in the received first sound information can be eliminated through the matching of the two sound acquisition devices, so that the noise reduction effect is achieved.
404. If the first sound information comprises sound information generated by a plurality of sound sources, first distances between the sound sources and the electronic equipment are determined respectively.
In practice it is found that there is usually more than one sound source around an electronic device that is capable of generating sound information. In this regard, in the embodiment of the present application, the first sound information received by the electronic device may include sound information generated by a plurality of different sound sources. Optionally, the electronic device may determine a first distance between each sound source and the electronic device according to the sound intensity of the sound information corresponding to each sound source, where the first distance between each sound source and the electronic device is in a negative correlation (for example, an inverse proportional relationship) with the sound intensity of the sound information corresponding to each sound source.
406. If a first sound source and a second sound source exist in the plurality of sound sources, sound information generated by the plurality of sound sources is respectively matched with the target sound information to determine sound information matched with the target sound information in the first sound information, the first sound source is a sound source with a first distance between the first sound source and the electronic equipment larger than a distance threshold, and the second sound source is a sound source with a first distance between the second sound source and the electronic equipment smaller than the distance threshold.
In this embodiment, if a first sound source and a second sound source exist in a plurality of sound sources included in the first sound information, where the first sound source is a sound source whose first distance from the electronic device is greater than a distance threshold (i.e., a sound source farther from the electronic device), and the second sound source is a sound source whose first distance from the electronic device is less than the distance threshold (i.e., a sound source closer to the electronic device). Because the noise reduction method disclosed in the embodiment of the application is different in noise reduction processing modes between the sound information generated by the sound source far away from the electronic device and the sound information generated by the sound source near the electronic device, the electronic device can match the sound information generated by the plurality of sound sources with the target sound information (wherein the target sound information is the sound information that needs to be received by the electronic device) respectively to determine the sound information matched with the target sound information in the first sound information, and then subsequently determine the first noise reduction parameter according to the first distance between the sound source and the electronic device to which the matched sound information is.
By implementing the method, when the first sound information comprises the sound information generated by the sound source far away from the electronic equipment and the sound information generated by the sound source near the electronic equipment, the matched sound information is determined in the sound information generated by the plurality of sound sources according to the target sound information required to be received by the electronic equipment, and then the noise reduction processing is carried out on the first sound information according to the noise reduction processing mode corresponding to the matched sound information, so that the flexibility of the noise reduction method is improved.
In one embodiment, the electronic device may obtain a target voiceprint feature corresponding to the target voice information; and then the electronic equipment can match the sound information generated by the plurality of sound sources with the target voiceprint characteristics respectively so as to determine the sound information matched with the target voiceprint characteristics in the first sound information.
For example, if the electronic device wants to receive the speaking voice of another user familiar to the user, the electronic device may determine the target voiceprint feature of the speaking voice of the other user, and then the electronic device may determine the speaking voice of the other user according to the target voiceprint feature of the speaking voice of the other user.
By implementing the method, the electronic equipment can determine the sound information matched with the target voiceprint characteristics through the sound information generated by the voiceprint characteristics in the plurality of sound sources, so that the flexibility of the noise reduction method is improved.
In another embodiment, the electronic device may obtain a current target service scenario of the electronic device, and determine target sound information that the electronic device needs to receive according to the target service scenario; furthermore, the electronic device can match the sound information generated by the plurality of sound sources with the target sound information respectively to determine the sound information matched with the target sound information in the first sound information.
Optionally, the current target service scene of the electronic device includes a call scene and a voice entry scene, and the target sound information includes sound information generated by a sound source whose first distance from the electronic device is smaller than a distance threshold.
It is understood that when the user is making a call or voice-recording, the user speaks near the electronic device through the mouth, so the electronic device can take the sound information closer to the electronic device as the target sound information.
Optionally, the current target service scene of the electronic device includes a monitoring scene and a shooting scene, and the target sound information includes sound information generated by a sound source whose first distance from the electronic device is greater than a distance threshold.
As can be appreciated, when the electronic device is performing remote monitoring or camera shooting, the electronic device may use sound information that is far from the electronic device as the target sound information because the sound source that generates sound is usually far from the electronic device.
By implementing the method, the electronic device can determine the target sound information which needs to be received by the electronic device according to the current target service scene of the electronic device, so that the sound information which is received by the subsequent electronic device and is matched with the target sound information can support the electronic device to execute the function corresponding to the target service scene.
408. And acquiring a first distance between the sound source corresponding to the matched sound information and the electronic equipment.
410. A first noise reduction parameter is determined from the first distance.
In this embodiment, after the step 406 is executed, the electronic device may also determine the first noise reduction parameter directly according to the first distance between the sound source corresponding to the sound information matched with the target sound information and the electronic device.
As an optional implementation manner, after determining the first noise reduction parameter according to the first distance, the electronic device may acquire a target environment (for example, an indoor environment such as a library or an office, or an outdoor scene such as a highway or a court) in which the electronic device is currently located. And then after the subsequent electronic equipment receives the first sound information, if the electronic equipment is judged to be in the target environment currently, the noise reduction processing can be directly carried out on the first sound information according to the first noise reduction parameter.
By implementing the method, the first noise reduction parameter adopted when the electronic equipment is in a certain target environment historically can be bound with the target environment, and then when the subsequent electronic equipment is in the target environment again, the electronic equipment can reduce noise of the sound information collected by the electronic equipment according to the first noise reduction parameter bound with the target environment, so that the noise reduction efficiency of the electronic equipment can be improved.
Optionally, the electronic device may further adjust the volume of the sound information output by the speaker of the electronic device according to the sound intensity of the noise information included in the first sound information, so that the user obtains a better hearing experience.
412. And carrying out noise reduction processing on the first sound information according to the first noise reduction parameter to obtain second sound information.
By implementing the method disclosed by each embodiment, the received sound information can be denoised to different degrees according to the distance between the sound source corresponding to the received sound information and the electronic equipment, so that the sound transmitted from different distances can be denoised more reasonably, and the denoising effect of the electronic equipment on the received sound information is improved. In addition, when the first sound information comprises sound information generated by a sound source far away from the electronic equipment and sound information generated by a sound source near the electronic equipment, the matched sound information is determined in the sound information generated by the plurality of sound sources according to target sound information required to be received by the electronic equipment, and then the noise reduction processing is carried out on the first sound information according to the noise reduction processing mode corresponding to the matched sound information, so that the flexibility of the noise reduction method is improved.
Referring to fig. 6, fig. 6 is a schematic structural diagram of a noise reduction apparatus disclosed in the embodiment of the present application. The noise reduction device may be applied to the electronic device or other execution bodies, and is not limited herein. The device and the method can: a receiving unit 601, a first determining unit 602, and a denoising unit 603, wherein:
the receiving unit 601 is configured to receive first sound information through a sound collecting device, and determine a first distance between a sound source corresponding to the first sound information and the electronic device;
a first determining unit 602, configured to determine a first noise reduction parameter according to the first distance;
the denoising unit 603 is configured to perform denoising processing on the first sound information according to the first denoising parameter to obtain second sound information.
By implementing the noise reduction device, the received sound information can be subjected to noise reduction in different degrees according to the distance between the sound source corresponding to the received sound information and the electronic equipment, so that the sound transmitted from different distances can be subjected to more reasonable noise reduction processing, and the noise reduction effect of the electronic equipment on the received sound information is improved. In addition, the electronic equipment can automatically switch the corresponding noise reduction parameters according to the distance of the sound source without manual switching by a user, and the noise reduction intelligent degree of the electronic equipment is also improved.
Referring to fig. 7, fig. 7 is a schematic structural diagram of another noise reduction device disclosed in the embodiment of the present application. The noise reduction device may be applied to the electronic device or other execution bodies, and is not limited herein. The noise reduction apparatus shown in fig. 7 may be obtained by optimizing the noise reduction apparatus shown in fig. 6, and compared with the noise reduction apparatus shown in fig. 6, the first determining unit 602 in the noise reduction apparatus shown in fig. 7 is further configured to determine a first noise reduction parameter according to the first distance and a second noise reduction parameter, where the second noise reduction parameter is a noise reduction parameter adopted by default for performing noise reduction processing on the sound information.
By implementing the noise reduction device, the first noise reduction parameter corresponding to the first distance can be determined by taking the default second noise reduction parameter as a reference when the electronic equipment performs noise reduction processing on the sound information, so that the difficulty in determining the first noise reduction parameter can be reduced; in addition, the first noise reduction parameter determined by taking the default noise reduction parameter adopted by the electronic equipment as the reference better accords with the noise reduction capability of the electronic equipment, so that the subsequent noise reduction processing is better matched with software and hardware of the electronic equipment.
As an optional implementation manner, the first determining unit 602 is further configured to, when the first distance is greater than the distance threshold, increase the second noise reduction parameter by the first parameter difference to obtain a first noise reduction parameter, so as to increase the noise reduction degree on the first sound information.
By implementing the noise reduction device, when the sound source corresponding to the first sound information is determined to be far away from the electronic equipment, the noise reduction degree of the first sound information can be increased, so that the sound which is not wanted to be heard by a user in the first sound information can be eliminated, and the noise reduction effect is improved.
As an optional implementation manner, the first determining unit 602 is further configured to reduce the second noise reduction parameter by the second parameter difference value when the first distance is smaller than the distance threshold, to obtain the first noise reduction parameter, so as to reduce the noise reduction degree on the first sound information.
By implementing the noise reduction device, when the sound source corresponding to the first sound information is determined to be closer to the electronic equipment, the noise reduction degree of the first sound information can be reduced, so that the human voice with low volume in the first sound information can be prevented from being eliminated.
As an alternative embodiment, the noise reduction apparatus shown in fig. 7 further includes: a second determination unit 604, wherein:
a second determining unit 604, configured to take the second noise reduction parameter as the first noise reduction parameter when the first distance is equal to the distance threshold.
By implementing the noise reduction device, when the distance between the sound source and the electronic equipment is determined to be moderate, the default adopted second noise reduction parameter is directly used as the first noise reduction parameter, so that the steps of the noise reduction method are simplified, and the noise reduction efficiency is improved.
As an optional implementation manner, the receiving unit 601 is further configured to receive the first sound information through the sound collecting device when detecting that the headset communicatively connected to the electronic device is in a wearing state, and/or if detecting that the electronic device has turned on the target sound receiving switch.
By implementing the noise reduction device, the electronic equipment receives the first sound information when the earphone is in a wearing state and the target radio switch is turned on, so that the power consumption of the electronic equipment is reduced, and the storage space of the electronic equipment can be prevented from being wasted by stored meaningless first sound information; and the noise reduction method is controllable, so that a user can control the noise reduction processing according to the self requirement, and the use experience of the user is improved.
As an alternative embodiment, the noise reduction apparatus shown in fig. 7 further includes: an amplifying unit 605 and an output unit 606, wherein:
an amplifying unit 605, configured to perform noise reduction processing on the first sound information according to the first noise reduction parameter at the noise reduction unit 603 to obtain second sound information, and then perform amplification processing on the second sound information to obtain third sound information;
an output unit 606, configured to output the third sound information through an earphone and/or a speaker provided in the electronic device.
By implementing the noise reduction device, the second sound information after noise reduction can be amplified, so that the volume of the subsequently output third sound information is larger, and the user can listen conveniently.
As an optional implementation manner, the receiving unit 601 is further configured to obtain a sound intensity corresponding to the first sound information; and determining a first distance between the sound source corresponding to the first sound information and the electronic equipment according to the sound intensity corresponding to the first sound information, wherein the first distance and the sound intensity are in a negative correlation relationship.
By implementing the noise reduction device, the first distance between the sound source corresponding to the first sound information and the electronic equipment can be determined according to the sound intensity of the first sound information, and the sound intensity of the first sound information is a parameter which is easy to obtain, so that the difficulty of determining the first distance between the sound source and the electronic equipment by the electronic equipment is reduced, and the implementation requirement of the noise reduction method is lowered.
As an alternative embodiment, the noise reduction apparatus shown in fig. 7 further includes: a third determination unit 607 and a fourth determination unit 608, wherein:
a third determining unit 607, configured to determine, after the receiving unit 601 receives the first sound information through the sound collecting device, first distances between the sound sources and the electronic device, if the first sound information includes sound information generated by the sound sources;
a fourth determining unit 608, configured to, when there are a first sound source and a second sound source in the multiple sound sources, match sound information generated by the multiple sound sources with the target sound information, respectively, to determine sound information in the first sound information that matches the target sound information, where the first distance between the first sound source and the electronic device is greater than the distance threshold, and the second distance between the second sound source and the electronic device is less than the distance threshold.
And the receiving unit 601 is further configured to obtain a first distance between the sound source corresponding to the matched sound information and the electronic device.
By implementing the noise reduction device, when the first sound information comprises sound information generated by a sound source far away from the electronic equipment and sound information generated by a sound source near the electronic equipment, the matched sound information is determined in the sound information generated by the plurality of sound sources according to the target sound information required to be received by the electronic equipment, and then the noise reduction processing is carried out on the first sound information according to the noise reduction processing mode corresponding to the matched sound information, so that the flexibility of the noise reduction method is improved.
As an optional implementation manner, the fourth determining unit 608 is further configured to obtain a target voiceprint feature corresponding to the target sound information; and matching the sound information generated by the plurality of sound sources with the target voiceprint characteristics respectively to determine the sound information matched with the target voiceprint characteristics in the first sound information.
By implementing the noise reduction device, the sound information matched with the target voiceprint characteristics can be determined through the sound information generated by the voiceprint characteristics in the plurality of sound sources, and the flexibility of the noise reduction method is improved.
As an optional implementation manner, the fourth determining unit 608 is further configured to obtain a current target service scenario of the electronic device, and determine target sound information that the electronic device needs to receive according to the target service scenario; and matching the sound information generated by the plurality of sound sources with the target sound information respectively to determine the sound information matched with the target sound information in the first sound information.
By implementing the noise reduction device, the target sound information required to be received by the electronic equipment can be determined according to the current target service scene of the electronic equipment, so that the sound information matched with the target sound information and received by the subsequent electronic equipment can support the electronic equipment to execute the function corresponding to the target service scene.
Referring to fig. 8, fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
As shown in fig. 8, the electronic device may include:
a memory 801 in which executable program code is stored;
a processor 802 coupled with the memory 801;
the processor 802 calls the executable program code stored in the memory 801 to execute the noise reduction method disclosed in each of the above embodiments.
The embodiment of the application discloses a computer-readable storage medium, which stores a computer program, wherein the computer program enables a computer to execute the noise reduction method disclosed by each embodiment.
The embodiment of the present application also discloses an application publishing platform, wherein the application publishing platform is used for publishing a computer program product, and when the computer program product runs on a computer, the computer is caused to execute part or all of the steps of the method in the above method embodiments.
It should be appreciated that reference throughout this specification to "one embodiment" or "an embodiment" means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the present application. Thus, the appearances of the phrases "in one embodiment" or "in an embodiment" in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. Those skilled in the art should also appreciate that the embodiments described in this specification are all alternative embodiments and that the acts and modules involved are not necessarily required for this application.
In various embodiments of the present application, it should be understood that the size of the serial number of each process described above does not mean that the execution sequence is necessarily sequential, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated units, if implemented as software functional units and sold or used as a stand-alone product, may be stored in a computer accessible memory. Based on such understanding, the technical solution of the present application, which is a part of or contributes to the prior art in essence, or all or part of the technical solution, may be embodied in the form of a software product, stored in a memory, including several requests for causing a computer device (which may be a personal computer, a server, a network device, or the like, and may specifically be a processor in the computer device) to execute part or all of the steps of the above-described method of the embodiments of the present application.
It will be understood by those skilled in the art that all or part of the steps in the methods of the embodiments described above may be implemented by hardware instructions of a program, and the program may be stored in a computer-readable storage medium, where the storage medium includes Read-Only Memory (ROM), Random Access Memory (RAM), Programmable Read-Only Memory (PROM), Erasable Programmable Read-Only Memory (EPROM), One-time Programmable Read-Only Memory (OTPROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Compact Disc Read-Only Memory (CD-ROM), or other Memory, such as a magnetic disk, or a combination thereof, A tape memory, or any other medium readable by a computer that can be used to carry or store data.
The noise reduction method, the noise reduction device, the electronic device, and the computer-readable storage medium disclosed in the embodiments of the present application are described in detail above, and a specific example is applied in the present application to explain the principle and the implementation of the present application, and the description of the above embodiments is only used to help understanding the method and the core idea of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (14)

1. A noise reduction method applied to an electronic device, the method comprising:
receiving first sound information through a sound acquisition device, and determining a first distance between a sound source corresponding to the first sound information and the electronic equipment;
determining a first noise reduction parameter according to the first distance;
and carrying out noise reduction processing on the first sound information according to the first noise reduction parameter to obtain second sound information.
2. The method of claim 1, wherein determining a first noise reduction parameter based on the first distance comprises:
and determining a first noise reduction parameter according to the first distance and a second noise reduction parameter, wherein the second noise reduction parameter is a default noise reduction parameter for carrying out noise reduction processing on the sound information.
3. The method of claim 2, wherein determining a first noise reduction parameter from the first distance and a second noise reduction parameter comprises:
and if the first distance is greater than the distance threshold, increasing the first parameter difference value of the second noise reduction parameter to obtain a first noise reduction parameter so as to increase the noise reduction degree of the first sound information.
4. The method of claim 2, wherein determining a first noise reduction parameter from the first distance and a second noise reduction parameter comprises:
and if the first distance is smaller than the distance threshold, reducing the second noise reduction parameter by a second parameter difference value to obtain a first noise reduction parameter so as to reduce the noise reduction degree of the first sound information.
5. The method according to any one of claims 2 to 4, further comprising:
and if the first distance is equal to a distance threshold value, taking the second noise reduction parameter as a first noise reduction parameter.
6. The method of claim 1, wherein receiving the first voice information via a voice capture device comprises:
and if the earphone in communication connection with the electronic equipment is detected to be in a wearing state, and/or if the electronic equipment is detected to be started with a target radio receiving switch, receiving first sound information through a sound collecting device.
7. The method of claim 6, wherein after the noise reduction processing the first sound information according to the first noise reduction parameter to obtain second sound information, the method further comprises:
amplifying the second sound information to obtain third sound information;
and outputting the third sound information through the earphone and/or a loudspeaker arranged on the electronic equipment.
8. The method according to any one of claims 1 to 4, 6 and 7, wherein the determining a first distance between a sound source corresponding to the first sound information and the electronic device comprises:
acquiring sound intensity corresponding to the first sound information;
and determining a first distance between a sound source corresponding to the first sound information and the electronic equipment according to the sound intensity corresponding to the first sound information, wherein the first distance and the sound intensity are in a negative correlation relationship.
9. The method of claim 1, wherein after the receiving the first voice information by the voice capture device, the method further comprises:
if the first sound information comprises sound information generated by a plurality of sound sources, respectively determining a first distance between each sound source and the electronic equipment;
if a first sound source and a second sound source exist in the plurality of sound sources, matching sound information generated by the plurality of sound sources with target sound information respectively to determine sound information matched with the target sound information in the first sound information, wherein the first sound source is a sound source with a first distance from the electronic equipment larger than a distance threshold, and the second sound source is a sound source with a first distance from the electronic equipment smaller than the distance threshold;
and, said determining a first noise reduction parameter from said first distance comprises:
and determining a first noise reduction parameter according to a first distance between a sound source corresponding to the matched sound information and the electronic equipment.
10. The method of claim 9, wherein matching the sound information generated by the plurality of sound sources with the target sound information to determine the sound information of the first sound information that matches the target sound information comprises:
acquiring target voiceprint characteristics corresponding to the target voice information;
and respectively matching the sound information generated by the plurality of sound sources with the target voiceprint characteristics so as to determine the sound information matched with the target voiceprint characteristics in the first sound information.
11. The method of claim 9, wherein matching the sound information generated by the plurality of sound sources with the target sound information to determine the sound information of the first sound information that matches the target sound information comprises:
acquiring a current target service scene of the electronic equipment, and determining target sound information required to be received by the electronic equipment according to the target service scene;
and respectively matching the sound information generated by the plurality of sound sources with target sound information to determine the sound information matched with the target sound information in the first sound information.
12. A noise reduction apparatus applied to an electronic device, the apparatus comprising:
the receiving unit is used for receiving first sound information through a sound collecting device and determining a first distance between a sound source corresponding to the first sound information and the electronic equipment;
a determining unit, configured to determine a first noise reduction parameter according to the first distance;
and the noise reduction unit is used for carrying out noise reduction processing on the first sound information according to the first noise reduction parameter so as to obtain second sound information.
13. An electronic device comprising a memory storing executable program code, and a processor coupled to the memory; wherein the processor calls the executable program code stored in the memory to execute the method according to any one of claims 1 to 11.
14. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1 to 11.
CN202110934750.6A 2021-08-16 2021-08-16 Noise reduction method and device, electronic equipment and computer readable storage medium Pending CN113709288A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110934750.6A CN113709288A (en) 2021-08-16 2021-08-16 Noise reduction method and device, electronic equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110934750.6A CN113709288A (en) 2021-08-16 2021-08-16 Noise reduction method and device, electronic equipment and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN113709288A true CN113709288A (en) 2021-11-26

Family

ID=78652715

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110934750.6A Pending CN113709288A (en) 2021-08-16 2021-08-16 Noise reduction method and device, electronic equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN113709288A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070293159A1 (en) * 2006-06-20 2007-12-20 Esa Etelapera Apparatus and method for reducing background noise
CN106210219A (en) * 2015-05-06 2016-12-07 小米科技有限责任公司 Noise-reduction method and device
CN110191388A (en) * 2019-05-31 2019-08-30 深圳市荣盛智能装备有限公司 Bone conduction earphone noise-reduction method, device, electronic equipment and storage medium
CN111696513A (en) * 2020-05-19 2020-09-22 Oppo广东移动通信有限公司 Audio signal processing method and device, electronic equipment and storage medium
CN111933167A (en) * 2020-08-07 2020-11-13 Oppo广东移动通信有限公司 Noise reduction method and device for electronic equipment, storage medium and electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070293159A1 (en) * 2006-06-20 2007-12-20 Esa Etelapera Apparatus and method for reducing background noise
CN106210219A (en) * 2015-05-06 2016-12-07 小米科技有限责任公司 Noise-reduction method and device
CN110191388A (en) * 2019-05-31 2019-08-30 深圳市荣盛智能装备有限公司 Bone conduction earphone noise-reduction method, device, electronic equipment and storage medium
CN111696513A (en) * 2020-05-19 2020-09-22 Oppo广东移动通信有限公司 Audio signal processing method and device, electronic equipment and storage medium
CN111933167A (en) * 2020-08-07 2020-11-13 Oppo广东移动通信有限公司 Noise reduction method and device for electronic equipment, storage medium and electronic equipment

Similar Documents

Publication Publication Date Title
US9305568B2 (en) Active acoustic filter with socially determined location-based filter characteristics
US9557960B2 (en) Active acoustic filter with automatic selection of filter parameters based on ambient sound
KR20200085030A (en) Processing Method of Audio signal and electronic device supporting the same
CN113129917A (en) Speech processing method based on scene recognition, and apparatus, medium, and system thereof
CN108235181B (en) Method for noise reduction in an audio processing apparatus
CN111683319A (en) Call pickup noise reduction method, earphone and storage medium
CN112306448A (en) Method, apparatus, device and medium for adjusting output audio according to environmental noise
CN113542960B (en) Audio signal processing method, system, device, electronic equipment and storage medium
CN111741394A (en) Data processing method and device and readable medium
CN112435682A (en) Vehicle noise reduction system, method and device, vehicle and storage medium
CN113949955B (en) Noise reduction processing method and device, electronic equipment, earphone and storage medium
CN112947886A (en) Method and device for protecting user hearing and electronic equipment
CN111462764A (en) Audio encoding method, apparatus, computer-readable storage medium and device
KR102565447B1 (en) Electronic device and method for adjusting gain of digital audio signal based on hearing recognition characteristics
CN113726940B (en) Recording method and device
CN113038337B (en) Audio playing method, wireless earphone and computer readable storage medium
CN107396237A (en) Self-positioning intelligent sound box
US20150181353A1 (en) Hearing aid for playing audible advertisement or audible data
CN116055951B (en) Signal processing method and electronic equipment
EP4354898A1 (en) Ear-mounted device and reproduction method
CN113709288A (en) Noise reduction method and device, electronic equipment and computer readable storage medium
CN114040285B (en) Method and device for generating feedforward filter parameters of earphone, earphone and storage medium
CN112954524A (en) Noise reduction method, system, vehicle-mounted terminal and computer storage medium
CN111147655B (en) Model generation method and device
CN115696114B (en) Microphone configuration adjustment method, electronic equipment and medium

Legal Events

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