CN114495978A - Method, device and equipment for detecting noise reduction amount of uplink noise reduction and storage medium - Google Patents
Method, device and equipment for detecting noise reduction amount of uplink noise reduction and storage medium Download PDFInfo
- Publication number
- CN114495978A CN114495978A CN202011166345.6A CN202011166345A CN114495978A CN 114495978 A CN114495978 A CN 114495978A CN 202011166345 A CN202011166345 A CN 202011166345A CN 114495978 A CN114495978 A CN 114495978A
- Authority
- CN
- China
- Prior art keywords
- noise reduction
- sound level
- audio data
- noise
- weighted sound
- 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
Links
- 230000009467 reduction Effects 0.000 title claims abstract description 351
- 238000000034 method Methods 0.000 title claims abstract description 73
- 238000012545 processing Methods 0.000 claims abstract description 59
- 238000004590 computer program Methods 0.000 claims description 15
- 238000011144 upstream manufacturing Methods 0.000 claims description 6
- 239000000203 mixture Substances 0.000 claims 1
- 238000001514 detection method Methods 0.000 abstract description 24
- 230000008569 process Effects 0.000 description 21
- 238000004364 calculation method Methods 0.000 description 11
- 238000010586 diagram Methods 0.000 description 11
- 238000011156 evaluation Methods 0.000 description 7
- 238000001228 spectrum Methods 0.000 description 7
- 230000000694 effects Effects 0.000 description 6
- 238000005516 engineering process Methods 0.000 description 5
- 238000012360 testing method Methods 0.000 description 5
- 210000005069 ears Anatomy 0.000 description 4
- 230000006870 function Effects 0.000 description 3
- 230000035945 sensitivity Effects 0.000 description 3
- 238000012935 Averaging Methods 0.000 description 2
- 238000004422 calculation algorithm Methods 0.000 description 2
- 230000006854 communication Effects 0.000 description 2
- 238000010183 spectrum analysis Methods 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- 230000001755 vocal effect Effects 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 230000001174 ascending effect Effects 0.000 description 1
- 238000013475 authorization Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000004088 simulation Methods 0.000 description 1
- 230000003595 spectral effect Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L25/00—Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00
- G10L25/48—Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 specially adapted for particular use
- G10L25/51—Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 specially adapted for particular use for comparison or discrimination
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L21/00—Speech or voice signal processing techniques to produce another audible or non-audible signal, e.g. visual or tactile, in order to modify its quality or its intelligibility
- G10L21/02—Speech enhancement, e.g. noise reduction or echo cancellation
- G10L21/0208—Noise filtering
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L25/00—Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00
- G10L25/27—Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 characterised by the analysis technique
Landscapes
- Engineering & Computer Science (AREA)
- Computational Linguistics (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- Acoustics & Sound (AREA)
- Multimedia (AREA)
- Quality & Reliability (AREA)
- Telephone Function (AREA)
- Circuit For Audible Band Transducer (AREA)
Abstract
The application is applicable to the technical field of computers, and provides a method, a device, equipment and a storage medium for detecting the noise reduction amount of uplink noise reduction, wherein the method comprises the following steps: acquiring reference audio data, wherein the reference audio data is generated by recording human voice and noise by a recording device without performing uplink noise reduction processing; acquiring noise reduction audio data, wherein the noise reduction audio data is generated after the equipment to be detected records the human voice and the noise and carries out uplink noise reduction processing; weighting the reference audio data and the noise reduction audio data respectively to obtain weighted sound levels of the reference audio data and the noise reduction audio data; and determining the uplink noise reduction amount of the equipment to be detected according to the weighted sound level of the reference audio data and the weighted sound level of the noise reduction audio data. The method provided by the application can realize the quantitative detection of the noise reduction amount of the uplink noise reduction of the equipment to be detected, and the detection accuracy is high.
Description
Technical Field
The present application relates to the field of computers, and in particular, to a method, an apparatus, a device, and a storage medium for detecting a noise reduction amount of uplink noise reduction.
Background
The uplink noise reduction means that in the voice communication process, the opposite side can clearly hear the voice of people through processing the noise. The purpose of uplink noise reduction is mainly to amplify speech signals while reducing noise signals. At present, uplink noise reduction technology is increasingly applied to various electronic devices, such as digital earphones, mobile phones, tablet computers, notebook computers, and the like.
In the conventional technology, evaluation and detection of the noise reduction effect of uplink noise reduction are mainly artificially subjective call evaluation. However, subjective call evaluation varies from person to person, and there is a problem that accuracy is poor in noise reduction amount detection for uplink noise reduction.
Disclosure of Invention
The application provides a method, a device, equipment and a storage medium for detecting the noise reduction amount of uplink noise reduction, which can improve the accuracy of detection of the uplink noise reduction effect.
In a first aspect, an embodiment of the present application provides a method for detecting a noise reduction amount of uplink noise reduction, where the method includes:
acquiring reference audio data, wherein the reference audio data is generated by recording human voice and noise by a recording device without performing uplink noise reduction processing;
acquiring noise reduction audio data, wherein the noise reduction audio data is generated after the equipment to be detected records the human voice and the noise and carries out uplink noise reduction processing;
weighting the reference audio data and the noise reduction audio data respectively to obtain weighted sound levels of the reference audio data and the noise reduction audio data;
and determining the uplink noise reduction amount of the equipment to be detected according to the weighted sound level of the reference audio data and the weighted sound level of the noise reduction audio data.
In one embodiment, the reference audio data and the noise reduction audio data each include human voice data generated by recording the human voice, noise data generated by recording the noise, and mixed data generated by simultaneously recording the human voice and the noise;
the weighting processing is respectively carried out on the reference audio data and the noise reduction audio data to obtain the weighting sound level of the reference audio data and the weighting sound level of the noise reduction audio data, and the weighting processing comprises the following steps:
weighting the human voice data, the noise data and the mixed data in the reference audio data respectively to obtain at least one of a first human voice weighted sound level, a first noise weighted sound level and a first mixed weighted sound level corresponding to the reference audio data;
weighting at least one of the human voice data, the noise data and the mixed data in the noise reduction audio data respectively to obtain at least one of a second human voice weighted sound level, a second noise weighted sound level and a second mixed weighted sound level corresponding to the noise reduction audio data;
the method for determining the noise reduction amount of the uplink noise reduction of the equipment to be detected according to the weighted sound level of the reference audio data and the weighted sound level of the noise reduction audio data comprises the following steps:
and determining the uplink noise reduction amount of the equipment to be detected according to at least one of the first personal sound weight sound level, the first noise weight sound level and the first mixed weight sound level, and at least one of the second personal sound weight sound level, the second noise weight sound level and the second mixed weight sound level.
In one embodiment, the determining, according to at least one of the first weighted personal sound level, the first weighted noise level, and the first weighted mixed sound level, and at least one of the second weighted personal sound level, the second weighted noise level, and the second weighted mixed sound level, a noise reduction amount for uplink noise reduction of the device to be detected includes:
determining a difference value between the first person-weighted sound level and the first noise-weighted sound level to obtain a first difference value;
determining a difference value between the second weighted sound level of the human voice and the second weighted sound level of the noise to obtain a second difference value;
and determining the uplink noise reduction amount of the equipment to be detected according to the first difference value and the second difference value.
In one embodiment, the determining the noise reduction amount of the uplink noise reduction of the device to be detected according to the first difference and the second difference includes:
and calculating the difference value of the first difference value and the second difference value, and determining the noise reduction amount of the uplink noise reduction of the equipment to be detected.
In one embodiment, the determining, according to at least one of the first weighted personal sound level, the first weighted noise level, and the first weighted mixed sound level, and at least one of the second weighted personal sound level, the second weighted noise level, and the second weighted mixed sound level, a noise reduction amount for uplink noise reduction of the device to be detected includes:
determining a difference value between the first mixed weighted sound level and the first noise weighted sound level to obtain a third difference value;
determining a difference value between the second mixing weighted sound level and the second noise weighted sound level to obtain a fourth difference value;
and determining the noise reduction amount of the uplink noise reduction of the equipment to be detected according to the third difference and the fourth difference.
In one embodiment, the determining, according to the third difference and the fourth difference, a noise reduction amount of uplink noise reduction of the device to be detected includes:
and calculating the difference value of the third difference value and the fourth difference value, and determining the noise reduction amount of the uplink noise reduction of the equipment to be detected.
In one embodiment, before determining the noise reduction amount of the uplink noise reduction of the device to be detected, the method further includes:
adjusting the gain of an amplifier of the sound recording equipment to enable the first weighted sound level and the second weighted sound level to be equal; adjusting the gain of an amplifier of the sound recording equipment to enable the first weighted sound level and the second weighted sound level to be equal;
the method for determining the uplink noise reduction amount of the equipment to be detected comprises the following steps of:
and calculating the difference value of the first noise weighted sound level and the second noise weighted sound level, and determining the noise reduction amount of the uplink noise reduction of the equipment to be detected.
In a second aspect, an embodiment of the present application provides an apparatus for detecting a noise reduction amount of uplink noise reduction, where the apparatus includes:
the device comprises a reference data acquisition module, a data processing module and a data processing module, wherein the reference data acquisition module is used for acquiring reference audio data, and the reference audio data is generated by recording human voice and noise by a recording device without performing uplink noise reduction processing;
the noise reduction data acquisition module is used for acquiring noise reduction audio data, wherein the noise reduction audio data is generated after the equipment to be detected records the voice and the noise and carries out uplink noise reduction processing;
the weighting module is used for weighting the reference audio data and the noise reduction audio data respectively to obtain the weighting sound level of the reference audio data and the weighting sound level of the noise reduction audio data;
and the determining module is used for determining the uplink noise reduction amount of the equipment to be detected according to the weighted sound level of the reference audio data and the weighted sound level of the noise reduction audio data.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a memory and a processor, where the memory stores a computer program, and the processor implements the steps of the method when executing the computer program.
In a fourth aspect, embodiments of the present application provide a computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, implements the steps of the method as described above.
According to the detection method, the device, the equipment and the storage medium for the noise reduction amount of the uplink noise reduction, the weighting processing is respectively carried out on the reference audio data and the noise reduction audio data to obtain the weighting of the reference audio data and the weighting of the noise reduction audio data, the noise reduction amount of the uplink noise reduction of the equipment to be tested is further determined according to the weighting sound level of the reference data and the weighting sound level of the noise reduction audio data, and the noise reduction effect of the equipment to be tested is evaluated. In the method, the device, the equipment and the storage medium for detecting the noise reduction amount of the uplink noise reduction, the reference audio data is generated by recording the human voice and the noise without performing the uplink noise reduction processing, so that the weighted sound level of the reference audio data is used as the reference of the weighted sound level of the noise reduction audio data, the noise reduction amount of the equipment to be detected can be quantitatively determined, compared with subjective call evaluation, the quantitative detection of the noise reduction amount is realized, and the detection accuracy is improved. In addition, the weighting processing is a process of simulating the auditory characteristic of human ears and processing data, and the noise reduction amount determined by referring to the weighting sound level of the audio data and the weighting sound level of the noise reduction audio data can be closer to the noise reduction effect evaluation result judged by the human ears, so that the accuracy of the detection of the noise reduction amount of the uplink noise reduction of the device to be detected is further improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a schematic diagram of an electronic device according to an embodiment of the present application;
FIG. 2 is a schematic diagram of a recording environment layout according to an embodiment of the present application;
FIG. 3 is a flowchart illustrating a method for detecting a noise reduction amount of uplink noise reduction according to an embodiment of the present application;
FIG. 4 is a flowchart illustrating a method for detecting a noise reduction amount of uplink noise reduction according to an embodiment of the present application;
FIG. 5 is a time domain plot of mixed data in noise reduced audio data according to an embodiment of the present application;
FIG. 6 is a graph illustrating frequency domain curves of mixed data in noise reduced audio data according to an embodiment of the present application;
FIG. 7 is a flowchart illustrating a method for detecting a noise reduction amount of uplink noise reduction according to an embodiment of the present application;
FIG. 8 is a graphical illustration of time domain plots of human voice, noise reduced audio data and reference audio data in one embodiment of the present application;
FIG. 9 is a flowchart illustrating a method for detecting a noise reduction amount of uplink noise reduction according to an embodiment of the present application;
fig. 10 is a flowchart illustrating a method for detecting a noise reduction amount of uplink noise reduction according to another embodiment of the present application;
fig. 11 is a block diagram showing a configuration of a noise reduction amount detection device for reducing noise in an upstream line according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
It will be understood that, as used herein, the terms "first," "second," and the like may be used herein to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish one element from another.
Fig. 1 is a schematic structural diagram of an electronic device in one embodiment. The method for detecting the noise reduction amount of uplink noise reduction may be applied to the electronic device shown in fig. 1. The electronic equipment comprises a processor, a memory, a network interface, a database, a display screen and an input device which are connected through a system bus. Wherein the processor of the electronic device is configured to provide computing and control capabilities. The memory of the electronic equipment comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the electronic device is used for storing reference audio data or noise reduction audio data and the like in the following embodiments, and specific descriptions about the reference audio data and the noise reduction audio data refer to the specific descriptions in the following embodiments. The network interface of the electronic device may be used to communicate with other external devices over a network connection. Optionally, the electronic device may be a server, a desktop, a personal digital assistant, other terminal devices such as a tablet computer, a mobile phone, and the like, or a cloud or a remote server, and the specific form of the electronic device is not limited in the embodiment of the present application. The display screen of the electronic equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the electronic equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the electronic equipment, an external keyboard, a touch pad or a mouse and the like. Of course, the input device and the display screen may not belong to a part of the electronic device, and may be external devices of the electronic device.
Those skilled in the art will appreciate that the architecture shown in fig. 1 is a block diagram of only a portion of the architecture associated with the subject application, and does not constitute a limitation on the electronic devices to which the subject application may be applied, and that a particular electronic device may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
The following describes the technical solution of the present application and how to solve the above technical problems in detail by using specific embodiments. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments. Embodiments of the present application will be described below with reference to the accompanying drawings.
It should be noted that the execution subject of the following method embodiments may also be a device for detecting the noise reduction amount of uplink noise reduction, and the device may be implemented as part or all of the electronic device by software, hardware, or a combination of software and hardware. The following method embodiments are described by taking an execution subject as an electronic device as an example.
The method for detecting the noise reduction amount of the uplink noise reduction provided by the embodiment of the application is used for detecting the noise reduction amount of electronic equipment (hereinafter referred to as equipment to be detected) using an uplink noise reduction technology. The noise reduction amount is used for representing the reduction amount of the uplink noise reduction processing of the equipment to be detected to noise, namely, the reduction amount of the noise in certain audio data of the equipment to be detected using the uplink noise reduction technology is compared with the reduction amount of the noise in reference equipment not using the uplink noise reduction technology. The equipment to be detected comprises equipment with a voice communication function and an uplink noise reduction function, such as but not limited to a digital earphone, a notebook computer, a mobile phone, a tablet computer and the like.
In one embodiment, the voice and the noise can be played in a recording test environment, recording is performed through a recording device, recording is performed through a device to be detected, uplink noise reduction processing is performed, data output by the recording device and the device to be detected is input into an electronic device for further processing, and therefore detection of the uplink noise reduction amount of the device to be detected is achieved. The recording device records the human voice and the noise without performing noise reduction processing, and generates reference audio data. The equipment to be detected records voice and noise and carries out uplink noise reduction processing to generate noise reduction audio data.
FIG. 2 is a schematic diagram of a recording test environment according to an embodiment. Both the first playback device 201 and the second playback device 202 are disposed in a recording test environment. The first playback device 201 is used for playing a human voice, and the second playback device 202 is used for playing noise. The first playback device 201 and the second playback device 202 can play back the voices and noises of different scenes as needed. For example, the first playback device 201 may simulate playing a male or female voice, the second playback device 202 may simulate playing a noise of a scene of a restaurant, train, airplane, etc., may also simulate a pink noise, etc. The first playback device 201 may be, but is not limited to, a head and torso simulator (HATS), or a manual mouth, etc. The second playing device 202 may be, but not limited to, a sound box or a speaker. Taking the first playing device 201 as HATS as an example, the device to be tested 203 can be directly worn on HATS according to an actual use mode, or worn on HATS through a jig for recording. The recording device (not shown in the figure) may be set in the same position as the device to be tested 203 for recording before or after the recording of the device to be tested 203, so as to ensure the consistency of the voice and noise recorded by the recording device and the device to be tested 203, and improve the accuracy of the subsequent detection of the noise reduction amount for uplink noise reduction. In another embodiment, the recording device and the device to be tested 203 may also be simultaneously disposed at the close position of the HAT, so as to record simultaneously, improve the consistency of the recording device and the device to be tested 203 on the voice and noise time, and improve the accuracy of the noise reduction amount detection of the subsequent uplink noise reduction.
In one embodiment, the number of the second playback devices 202 is plural. The second playing devices 202 can be uniformly distributed around the recording device or the device 203 to be detected, and when the recording device and the device 203 to be detected record simultaneously, the second playing devices 202 can be uniformly distributed around the recording device and the device 203 to be detected, so that the recording noise of the second playing devices 202 and the noise recorded by the device 203 to be detected is more uniform, the simulation of a real scene is more real, and the accuracy of the detection of the noise reduction amount of uplink noise reduction is improved. For example, the HATS may be set at a middle position of a test space, the recording apparatus and the device to be tested 203 are worn on the ear of a person of the HATS, and a plurality of speakers are uniformly arranged in a room around the HATS by 360 °. It can be understood that, when a plurality of second playback devices 202 evenly distributed for second playback device 202 is symmetrical for first playback device 201's position, recording device and the equipment 203 that awaits measuring also can the symmetry set up in first playback device 201 and record simultaneously, guarantee the sound uniformity that the two were recorded, for example, recording device wears in the left ear of HATS, equipment 203 that waits to detect wears in the right ear of HATS, recording device and the equipment 203 that waits to detect record simultaneously, so both can guarantee the homogeneity of the sound that the two were recorded, can guarantee the uniformity in time again.
In one embodiment, the recording device may be a full-direction microphone, and the full-direction microphone can uniformly record sound in all directions, so as to improve the recording effect.
Fig. 3 is a flowchart of a method for detecting a noise reduction amount of uplink noise reduction in one embodiment. The method for detecting the noise reduction amount of uplink noise reduction in the present embodiment. As shown in fig. 3, the method for detecting the noise reduction amount of uplink noise reduction may include:
s301, reference audio data are obtained, wherein the reference audio data are generated by recording human voice and noise by a recording device without performing uplink noise reduction processing.
The reference audio data may be data generated by recording a voice and noise with a preset duration and not performing uplink noise reduction processing. The reference audio data may be directly obtained from the recording device, may also be recorded by the recording device and then stored in the electronic device, and may also be recorded by the recording device, and may be stored in the electronic device after being subjected to a predetermined process by the recording device or other devices, where the predetermined process includes, but is not limited to, spectral analysis. The reference audio data may be time domain data or frequency domain data.
S302, noise reduction audio data are obtained, wherein the noise reduction audio data are generated after the equipment to be detected records voice and noise and carries out uplink noise reduction processing.
Similarly, the noise reduction audio data may be data generated by recording a voice and noise of a preset duration and performing uplink noise reduction processing. The noise reduction audio data can be directly acquired from the equipment to be detected, or can be transmitted by the equipment to be detected and stored in the electronic equipment, or can be recorded by the equipment to be detected, subjected to uplink noise reduction treatment and stored in the electronic equipment after being subjected to preset treatment by the equipment to be detected or other equipment, wherein the preset treatment includes but is not limited to spectral analysis. The noise reduction audio data and the reference audio data are two types of data obtained by processing the same human voice and noise. If the reference audio data is data generated by recording the human voice a and the noise B and not performing the uplink noise reduction processing, the noise reduction audio data is data generated by recording the human voice a and the noise B and performing the uplink noise reduction processing.
And S303, respectively weighting the reference audio data and the noise reduction audio data to obtain weighted sound levels of the reference audio data and the noise reduction audio data.
And the electronic equipment respectively performs weighting processing on the acquired reference audio data and the acquired noise reduction audio data, wherein the weighting processing can be time domain weighting or frequency domain weighting. The weighting process may be performed through a weighting network, and may be an a weighting network, a B weighting network, a C weighting network, or a D weighting network. Correspondingly, the weighting processing result can be a weighted sound level A, a weighted sound level B, a weighted sound level C or a weighted sound level D. The specific algorithm for weighting the reference audio data and the noise reduction audio data may be energy Average summation weighting, such as Average RMS Power a weighting, or energy summation weighting, such as Total RMS Power a weighting or Power Sum a weighting.
In some embodiments, the electronic device may implement the weighting process for the reference audio data and the noise reduction audio data by installing audio analysis software. In other embodiments, the reference audio data and the noise reduction audio data may be partially or completely weighted by an audio analysis device connected to the electronic device, and the processed result may be transmitted to the electronic device.
S304, determining the noise reduction amount of the uplink noise reduction of the device to be detected according to the weighted sound level of the reference audio data and the weighted sound level of the noise reduction audio data.
As described above, compared with the reference device that does not use the uplink noise reduction technique, the device to be detected that uses the uplink noise reduction technique reduces the noise in certain audio data. The weighted sound level of the reference audio data represents the size of the human voice and the noise which are not subjected to the uplink noise reduction treatment, and the weighted sound level of the noise reduction audio data represents the size of the human voice and the noise which are subjected to the uplink noise reduction treatment. Compared with subjective call evaluation, the method provided by the embodiment realizes the quantitative detection of the noise reduction amount, and improves the detection accuracy. In addition, the weighting processing is a process of simulating the auditory characteristic of human ears and processing data, and the noise reduction amount determined by referring to the weighting sound level of the audio data and the weighting sound level of the noise reduction audio data can be closer to the noise reduction effect evaluation result judged by the human ears, so that the accuracy of the detection of the noise reduction amount of the uplink noise reduction of the device to be detected is further improved.
It can be understood that the first playing device and the second playing device can play simultaneously or separately. When the first playing device plays the voice independently, the recording device and the device to be detected record the pure voice data to obtain voice data; when the second playing device plays the noise independently, the recording device and the device to be detected record pure noise data to obtain noise data; when the first playing device and the second playing device play simultaneously, the recording device and the device to be detected record the data of the mixed sound of the voice and the noise to obtain mixed data. That is, the reference audio data and the noise reduction audio data each include therein human voice data, noise data, and mixed data. It should be noted that the human voice data, the noise data, and the mixed data in the reference audio data are not subjected to the uplink noise reduction processing, and the human voice data, the noise data, and the mixed data in the noise reduction audio data are subjected to the uplink noise reduction processing.
Fig. 4 is a schematic flow chart of a possible implementation manner in which, in an embodiment, weighting processing is performed on reference audio data and noise reduction audio data respectively to obtain a weighted sound level of the reference audio data and a weighted sound level of the noise reduction audio data, and further a noise reduction amount of an uplink noise reduction of the device to be detected is determined according to the weighted sound level of the reference audio data and the weighted sound level of the noise reduction audio data, as shown in fig. 4, S303 includes:
s401, weighting at least one of the human voice data, the noise data and the mixed data in the reference audio data respectively to obtain at least one of a first human voice weighted sound level, a second noise weighted sound level and a first mixed weighted sound level corresponding to the reference audio data.
The electronic equipment performs weighting processing on the voice data in the reference audio data to obtain weighted sound levels of the voice data corresponding to the reference audio data, and the weighted sound levels are named as first voice weighted sound levels; the electronic equipment performs weighting processing on the noise data in the reference audio data to obtain a weighted sound level of the noise data corresponding to the reference audio data, and the weighted sound level is named as a first noise weighted sound level; the electronic equipment performs weighting processing on mixed data in the reference audio data to obtain weighted sound levels of the mixed data corresponding to the reference audio data, and the weighted sound levels are named as first mixed weighted sound levels. One or more of the human voice data, the noise data, and the mixed data in the reference audio data may be weighted as necessary.
S402, weighting at least one of the human voice data, the noise data and the mixed data in the noise reduction audio data respectively to obtain at least one of a second human voice weighted sound level, a second noise weighted sound level and a second mixed weighted sound level corresponding to the noise reduction audio data.
The electronic equipment performs weighting processing on the human voice data in the noise reduction audio data to obtain weighted sound levels of the human voice data corresponding to the noise reduction audio data, and the weighted sound levels are named as second human voice weighted sound levels; the electronic equipment performs weighting processing on noise data in the noise reduction audio data to obtain weighted sound levels of the noise data corresponding to the noise reduction audio data, and the weighted sound levels are named as second noise weighted sound levels; and the electronic equipment performs weighting processing on the mixed data in the noise reduction audio data to obtain weighted sound levels of the mixed data corresponding to the noise reduction audio data, and the weighted sound levels are named as second mixed weighted sound levels. As required, one or more of the human voice data, the noise data, and the mixed data in the noise reduction audio data may be subjected to weighting processing.
As shown in fig. 4, S304 includes:
s403, determining the noise reduction amount of the uplink noise reduction of the device to be detected according to at least one of the first weighted sound level, the first weighted noise level and the first mixed weighted sound level, and at least one of the second weighted sound level, the second weighted noise level and the second mixed weighted sound level.
Specifically, the noise reduction amount of the uplink noise reduction of the device to be detected is directly or indirectly calculated according to one or more of the first weighted sound level, the first weighted noise level and the first mixed weighted sound level and one or more of the second weighted sound level, the second weighted noise level and the second mixed weighted sound level. The first weighted sound level of the human voice, the first weighted sound level of the noise and the first mixed weighted sound level are results obtained after the human voice and the noise which are not subjected to noise reduction processing are processed, and the results are used as references to quantitatively determine the noise reduction amount of the uplink noise reduction of the equipment to be detected.
In the embodiment, at least one of the human voice data, the noise data and the mixed data in the reference audio data is weighted, at least one of the human voice data, the noise data and the mixed data in the noise reduction audio data is weighted, and based on the weighting processing result, the change of the noise amount before and after uplink noise reduction can be determined more easily, so that the uplink noise reduction amount of the equipment to be detected can be determined more simply, directly and quickly, and the detection efficiency is improved.
In one embodiment, the reference audio data and the noise reduction audio data are both time domain data, and taking the determination of the second mixed weighted sound level as an example, the weighting process may be as follows:
referring to fig. 5, fig. 5 is a schematic diagram of a time domain curve of mixed data in noise reduction audio data. Fourier transform is performed on the mixed data in the noise reduction audio data to obtain spectrum data corresponding to the mixed data in the noise reduction audio data, which is named as mixed spectrum data, as shown in fig. 6. The mixed spectrum data characterizes the variation of amplitude with frequency. And performing weighting calculation on the mixed frequency spectrum data to obtain a weighting value of the mixed frequency spectrum. Alternatively, the weighted levels of the mixed spectral data may be calculated at preset octaves. When the mixed spectrum data contains an octave, a weighted sound level is obtained through calculation, and the weighted sound level is used as a second mixed weighted sound level. When the mixed spectrum data contains a plurality of octaves, a plurality of weighted sound levels are obtained through calculation, the weighted sound levels can be subjected to calculation such as summation or averaging, and a value representing the size of mixed data in the noise reduction audio data, namely a second mixed weighted sound level is obtained. The specific algorithm for summing and averaging is not limited herein, and may be selected according to actual requirements.
It is understood that different recording devices may have different sensitivities, different gains of the pre-amplifier, etc., resulting in different audio data obtained by recording the same sound, and different results obtained by weighting. For example, two recording devices that do not include a noise reduction function, both recording devices recording the same sound and performing an authorization process, wherein one recording device may have a result of 100dB and the other recording device may have a result of 80 dB. Therefore, the recording equipment and the equipment to be detected process the same human voice and noise to obtain data, and the weighted sound levels obtained by further processing may be the same or different. The following further describes a specific method for determining the noise reduction amount of the uplink noise reduction of the device to be detected by fully considering various conditions in combination with the embodiments.
In one embodiment, when the sensitivity, the amplifier gain, and the like of the sound recording apparatus and the apparatus to be tested are the same, that is, the first weighted sound level and the second weighted sound level are equal, S403 includes:
and calculating the difference value between the first noise weighted sound level and the second noise weighted sound level, and determining the noise reduction amount of the uplink noise reduction of the equipment to be detected.
Specifically, the performance of the recording equipment and the performance of the equipment to be detected can be detected in advance, if the first weighted sound level is equal to the second weighted sound level, the result obtained by recording the same sound by the first weighted sound level and the second weighted sound level is the same, therefore, the first weighted sound level and the second weighted sound level can be directly differenced, and the result can represent the uplink noise reduction amount of the equipment to be detected. Optionally, the result of subtracting the second noise weighted sound level from the first noise weighted sound level may be used to represent the uplink noise reduction amount of the device to be detected, the result of subtracting the first noise weighted sound level from the second noise weighted sound level may also be used to represent the uplink noise reduction amount of the device to be detected, and the absolute value of the difference between the first noise weighted sound level and the second noise weighted sound level may also be used to represent the uplink noise reduction amount of the device to be detected.
In the embodiment, the difference value between the first noise weighted sound level and the second noise weighted sound level is directly calculated, so that the noise reduction amount of the uplink noise reduction of the equipment to be detected can be determined, the calculation method is simple, and the detection efficiency is improved.
Referring to fig. 7, in one embodiment, when the first personal weighted sound level and the second personal weighted sound level are not equal, S403 includes:
s701, adjusting the gain of an amplifier of the sound recording equipment to enable the first weighted sound level to be equal to the second weighted sound level;
s702, acquiring updated reference audio data, wherein the updated reference audio data is generated by recording human voice and noise by the recording equipment after gain adjustment and not performing uplink noise reduction processing;
s703, weighting the noise data in the updated reference audio data to obtain a third noise weighted sound level;
and S704, calculating a difference value between the third noise weighted sound level and the second noise weighted sound level, and determining the noise reduction amount of the uplink noise reduction of the device to be detected.
Specifically, the gain of the preamplifier of the recording device can be adjusted for multiple times, whether the first weighted sound level and the second weighted sound level are equal or not is calculated after each adjustment, if not, the adjustment is continued, and if so, the recorded audio data is used as the updated reference audio data. And weighting the noise data in the updated reference audio data to obtain a third noise weighted sound level, and further performing difference on the third noise weighted sound level and the second noise weighted sound level to determine the noise reduction amount of the uplink noise reduction of the equipment to be detected.
Referring to fig. 8, fig. 8 is a schematic diagram of time domain curves of human voice, noise reduction audio data and reference audio data, where the section a1, the section a2 and the section A3 are schematic diagrams of time domain curves of mixed audio data, human voice data and noise data in the noise reduction audio data in sequence, and the section B1, the section B2 and the section B3 are schematic diagrams of time domain curves of mixed audio data, human voice data and noise data in the reference audio data in sequence. The weighted sound level of B1 data is the first mixed weighted sound level, the weighted sound level of B2 data is the first personal sound weighted sound level, the weighted sound level of B3 data is the first noise weighted sound level, the weighted sound level of A1 data is the second mixed weighted sound level, the weighted sound level of A2 data is the second personal sound weighted sound level, and the weighted sound level of A3 data is the second noise weighted sound level. When the weighted sound level of the section A2 is equal to the weighted sound level of the section B2, the difference value between the weighted sound level of the section A3 and the weighted sound level of the section B3 is calculated, and then the noise reduction amount of the uplink noise reduction of the device to be detected can be determined. When the weighted sound level of the section A2 is not equal to the weighted sound level of the section B2, the gain of an amplifier of the recording equipment can be adjusted, so that the weighted sound level of the section A2 is equal to the weighted sound level of the section B2, the difference value between the weighted sound level of the section B3 and the weighted sound level of the section A3 in the recording at this time is calculated, and the noise reduction amount of the upstream noise reduction of the equipment to be detected is determined.
In this embodiment, through the gain of the amplifier of adjustment recording equipment to make first person's sound weight sound level and second person's sound weight sound level equal, eliminated the performance difference of recording equipment and check and detect equipment, thereby can directly calculate the difference of first noise weight sound level and second noise weight sound level, confirm the volume of making an uproar that falls of checking and detecting equipment's ascending noise, simplified the computational process of the volume of making an uproar greatly, further improved detection efficiency.
Referring to fig. 9, in an embodiment, as shown in fig. 9, S403 includes:
s901, determining a difference value between the weighted sound level of the first person sound data and the weighted sound level of the first noise to obtain a first difference value;
s902, determining a difference value between the weighted sound level of the second human voice data and the weighted sound level of the second noise to obtain a second difference value;
and S903, determining the noise reduction amount of the uplink noise reduction of the equipment to be detected according to the first difference and the second difference.
Continuing with the example of fig. 8, the difference between the weighted sound level of B2 pieces of data and the weighted sound level of B3 pieces of data is the first difference. The difference between the weighted sound level of the a2 data and the weighted sound level of the A3 data is the second difference. And further calculating the first difference and the second difference to obtain the noise reduction amount of the uplink noise reduction of the equipment to be detected. Optionally, the noise reduction amount of the uplink noise reduction of the device to be detected may be determined by calculating a difference between the first difference and the second difference. It can be understood that, in the embodiment of the present application, the sum of the differences may be calculated by subtracting the second parameter from the first parameter, or subtracting the first parameter from the second parameter, or may be an absolute value of a difference between the first parameter and the second parameter, or the like, as needed.
The sensitivity, the amplifier gain and the like of the recording equipment and the equipment to be detected are different, and the first noise weighting sound level and the second noise weighting sound level cannot be directly differed. In this embodiment, the first difference value may represent a relative value between a first noise-weighted sound level and a first human-weighted sound level, and the second difference value may represent a relative value between a second noise-weighted sound level and a second human-weighted sound level. The first personal weighted sound level and the second personal weighted sound level are results obtained after weighting processing of data related to pure personal sound, and no noise is contained, so that the difference value between the first personal weighted sound level and the second personal weighted sound level can represent the difference value between the weighted sound levels of sound detected by the sound recording equipment and the sound detected by the equipment to be detected. Therefore, the difference value of the weighting sound levels caused by the performance difference between the recording equipment and the equipment to be detected can be eliminated by making the difference between the first difference value and the second difference value, and the noise reduction amount of the uplink noise reduction of the equipment to be detected is obtained.
Specifically, assuming that the first personal weighting is b2, the first noise weighting is b3, the second personal weighting is a2, and the second noise weighting is a3, the difference between the weighted sound levels of the detected sound caused by the difference in performance between the sound recording apparatus and the apparatus to be detected is δ, that is, δ is a2-b 2. The noise reduction amount of the uplink noise reduction of the device to be detected is equal to a 3-delta-b 3 ═ a3- (a2-b2) -b3 ═ b2-b3) - (a2-a3), namely the noise reduction amount of the uplink noise reduction of the device to be detected is equal to the difference between the first difference and the second difference.
In this embodiment, the noise reduction amount of the uplink noise reduction of the device to be detected is determined by calculating the first difference and the second difference and calculating the difference between the first difference and the second difference, and the method is simple and has a small calculation amount. And the difference is made through the first difference and the second difference, so that the difference of the weighted sound levels of the recording equipment and the equipment to be detected caused by performance difference and the like is effectively eliminated, and the detection accuracy of the noise reduction amount of the uplink noise reduction of the equipment to be detected is high.
FIG. 10 is a diagram illustrating one possible implementation of determining the noise reduction amount for upstream noise reduction of the device under test in another embodiment. As shown in fig. 8, S403 includes:
s1001, determining a difference value between the first mixed weighted sound level and the first noise weighted sound level to obtain a third difference value;
s1002, determining a difference value between the second mixed weighted sound level and the second noise weighted sound level to obtain a fourth difference value;
s1003, determining the noise reduction amount of the uplink noise reduction of the device to be detected according to the third difference and the fourth difference.
Optionally, the noise reduction amount of the uplink noise reduction of the device to be detected may be determined by calculating a difference between the third difference and the fourth difference. The calculation process of the third difference is similar to the calculation process of the first difference, and the calculation process of the fourth difference is similar to the calculation process of the second difference, and details are not repeated here.
Because the weighted sound level of the human voice data is approximate to the weighted sound level of the mixed data, the first human voice weighted sound level is replaced by the first mixed weighted sound level, the second human voice weighted sound level is replaced by the second mixed weighted sound level, and the determined noise reduction amount of the uplink noise reduction of the equipment to be detected is approximate. Meanwhile, in practical application scenarios, even in a quiet environment, when a person makes a voice call, the voice is also doped with partial noise, and the noise affects the size of the voice. Therefore, the weighted sound level of the mixed data replaces the weighted sound level of the human voice data for calculation, and the obtained noise reduction amount is closer to the actual application scene and more accurate.
In one embodiment, according to actual use requirements, human voices and noises under multiple scenes can be simulated, and reference audio data and noise reduction audio data corresponding to different scenes are obtained. Repeating the steps from S301 to S304 in the above embodiment for the reference audio data and the noise reduction audio data corresponding to each scene to obtain the uplink noise reduction amount of the device to be detected in each scene, calculating the average value of the uplink noise reduction amount of the device to be detected in each scene, and taking the average value as the final noise reduction amount of the uplink noise reduction of the device to be detected. In the embodiment, the uplink noise reduction amount of the equipment to be detected under each scene is fully considered, and the average value of the uplink noise reduction amount of the equipment to be detected under a plurality of scenes is calculated, so that the detected noise reduction amount is more in line with the actual use condition, and the accuracy is higher.
It should be understood that, although the respective steps in the flowcharts in the above-described embodiments are sequentially shown as indicated by arrows, the steps are not necessarily performed sequentially as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a portion of the steps in the flowchart may include multiple sub-steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of performing the sub-steps or stages is not necessarily sequential, but may be performed alternately or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
In one embodiment, as shown in fig. 11, there is provided a noise reduction amount detection apparatus for uplink noise reduction, including:
a reference data obtaining module 1101, configured to obtain reference audio data, where the reference audio data is generated by a recording device recording human voice and noise without performing uplink noise reduction processing;
a noise reduction data obtaining module 1102, configured to obtain noise reduction audio data, where the noise reduction audio data is generated after the device to be detected records the voice and the noise and performs uplink noise reduction processing;
a weighting module 1103, configured to perform weighting processing on the reference audio data and the noise reduction audio data, respectively, so as to obtain a weighted sound level of the reference audio data and a weighted sound level of the noise reduction audio data;
and the determining module 1104 is configured to determine the noise reduction amount of the uplink noise reduction of the device to be detected according to the weighted sound level of the reference audio data and the weighted sound level of the noise reduction audio data.
In one embodiment, the reference audio data and the noise reduction audio data each include human voice data generated by recording the human voice, noise data generated by recording the noise, and mixed data generated by simultaneously recording the human voice and the noise; the weighting module 1103 is specifically configured to perform weighting processing on at least one of the vocal data, the noise data, and the mixed data in the reference audio data, so as to obtain a first vocal weighting sound level, a first noise weighting sound level, and a first mixed weighting sound level corresponding to the reference audio data; weighting at least one of the human voice data, the noise data and the mixed data in the noise reduction audio data to obtain a second human voice weighted sound level, a second noise weighted sound level and a second mixed weighted sound level corresponding to the noise reduction audio data; the determining module 1104 is specifically configured to determine the noise reduction amount of the uplink noise reduction of the device to be detected according to at least one of the first personal weighted sound level, the first noise weighted sound level, and the first mixed weighted sound level, and at least one of the second personal weighted sound level, the second noise weighted sound level, and the second mixed weighted sound level.
In one embodiment, the determining module 1104 is specifically configured to determine a difference between the first weighted noise level and the first weighted noise level, so as to obtain a first difference; determining a difference value between the second weighted sound level of the human voice and the second weighted sound level of the noise to obtain a second difference value; and determining the uplink noise reduction amount of the equipment to be detected according to the first difference value and the second difference value.
In an embodiment, the determining module 1104 is specifically configured to calculate a difference between the first difference and the second difference, and determine a noise reduction amount of the uplink noise reduction of the device to be detected.
In one embodiment, the determining module 1104 is specifically configured to determine a difference between the first mixing weighted sound level and the first noise weighted sound level, and obtain a third difference; determining a difference value between the second mixing weighted sound level and the second noise weighted sound level to obtain a fourth difference value; and determining the noise reduction amount of the uplink noise reduction of the equipment to be detected according to the third difference and the fourth difference.
In an embodiment, the determining module 1104 is specifically configured to calculate a difference between the third difference and the fourth difference, and determine a noise reduction amount of the uplink noise reduction of the device to be detected.
In one embodiment, the determining module 1104 is specifically configured to adjust a gain of an amplifier of the sound recording device so that the first personal weighted sound level is equal to the second personal weighted sound level; and calculating the difference value of the first noise weighted sound level and the second noise weighted sound level, and determining the noise reduction amount of the uplink noise reduction of the equipment to be detected.
For specific limitation of the detection device for detecting the noise reduction amount of uplink noise reduction, reference may be made to the above limitation on the detection method for detecting the noise reduction amount of uplink noise reduction, and details are not described herein again. All or part of the modules in the device for detecting the noise reduction amount of the uplink noise reduction can be realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent of a processor in the electronic device, or can be stored in a memory in the electronic device in a software form, so that the processor can call and execute operations corresponding to the modules.
In an embodiment, an electronic device is provided, which includes a memory and a processor, where the memory stores a computer program, and the processor, when executing the computer program, may implement the method for detecting a noise reduction amount for uplink noise reduction provided in the foregoing method embodiments of the present application.
It should be clear that, in the embodiments of the present application, the process of executing the computer program by the processor is consistent with the process of executing the steps in the above method, and specific reference may be made to the description above.
In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the method for detecting a noise reduction amount of uplink noise reduction provided in the above method embodiments of the present application may be implemented.
It should be clear that, in the embodiment of the present application, the process of executing the computer program by the processor is consistent with the execution process of each step in the method described above, and specific reference may be made to the description above.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent application shall be subject to the appended claims.
Claims (10)
1. A method for detecting the noise reduction amount of uplink noise reduction is characterized by comprising the following steps:
acquiring reference audio data, wherein the reference audio data is generated by recording human voice and noise by a recording device without performing uplink noise reduction processing;
acquiring noise reduction audio data, wherein the noise reduction audio data is generated after the equipment to be detected records the human voice and the noise and carries out uplink noise reduction processing;
weighting the reference audio data and the noise reduction audio data respectively to obtain weighted sound levels of the reference audio data and the noise reduction audio data;
and determining the uplink noise reduction amount of the equipment to be detected according to the weighted sound level of the reference audio data and the weighted sound level of the noise reduction audio data.
2. The method of claim 1, wherein the reference audio data and the noise reduction audio data each comprise human voice data generated by recording the human voice, noise data generated by recording the noise, and mixture data generated by simultaneously recording the human voice and the noise;
the weighting processing is respectively carried out on the reference audio data and the noise reduction audio data to obtain the weighting sound level of the reference audio data and the weighting sound level of the noise reduction audio data, and the weighting processing comprises the following steps:
weighting at least one of the human voice data, the noise data and the mixed data in the reference audio data respectively to obtain at least one of a first human voice weighted sound level, a first noise weighted sound level and a first mixed weighted sound level corresponding to the reference audio data;
weighting at least one of the human voice data, the noise data and the mixed data in the noise reduction audio data respectively to obtain at least one of a second human voice weighted sound level, a second noise weighted sound level and a second mixed weighted sound level corresponding to the noise reduction audio data;
the method for determining the noise reduction amount of the uplink noise reduction of the equipment to be detected according to the weighted sound level of the reference audio data and the weighted sound level of the noise reduction audio data comprises the following steps:
and determining the uplink noise reduction amount of the equipment to be detected according to at least one of the first personal sound weight sound level, the first noise weight sound level and the first mixed weight sound level, and at least one of the second personal sound weight sound level, the second noise weight sound level and the second mixed weight sound level.
3. The method according to claim 2, wherein determining the noise reduction amount for upstream noise reduction of the device to be detected according to at least one of the first human weighted sound level, the first noise weighted sound level and the first mixed weighted sound level, and at least one of the second human weighted sound level, the second noise weighted sound level and the second mixed weighted sound level comprises:
determining a difference value between the first person-weighted sound level and the first noise-weighted sound level to obtain a first difference value;
determining a difference value between the second weighted sound level of the human voice and the second weighted sound level of the noise to obtain a second difference value;
and determining the uplink noise reduction amount of the equipment to be detected according to the first difference value and the second difference value.
4. The method according to claim 3, wherein the determining the noise reduction amount of the uplink noise reduction of the device to be detected according to the first difference value and the second difference value comprises:
and calculating the difference value of the first difference value and the second difference value, and determining the noise reduction amount of the uplink noise reduction of the equipment to be detected.
5. The method according to claim 2, wherein the determining the noise reduction amount of the uplink noise reduction of the device to be detected according to at least one of the first weighted sound level, the first weighted noise level and the first mixed weighted sound level, and at least one of the second weighted sound level, the second weighted noise level and the second mixed weighted sound level comprises:
determining a difference value between the first mixed weighted sound level and the first noise weighted sound level to obtain a third difference value;
determining a difference value between the second mixing weighted sound level and the second noise weighted sound level to obtain a fourth difference value;
and determining the noise reduction amount of the uplink noise reduction of the equipment to be detected according to the third difference and the fourth difference.
6. The method according to claim 5, wherein the determining the noise reduction amount of the upstream noise reduction of the device to be detected according to the third difference and the fourth difference comprises:
and calculating the difference value of the third difference value and the fourth difference value, and determining the noise reduction amount of the uplink noise reduction of the equipment to be detected.
7. The method according to claim 2, wherein before determining the noise reduction amount of the upstream noise reduction of the device to be tested, the method further comprises:
adjusting the gain of an amplifier of the sound recording equipment to enable the first weighted sound level and the second weighted sound level to be equal;
the method for determining the uplink noise reduction amount of the equipment to be detected comprises the following steps of:
and calculating the difference value of the first noise weighted sound level and the second noise weighted sound level, and determining the noise reduction amount of the uplink noise reduction of the equipment to be detected.
8. A device for detecting the noise reduction amount of uplink noise reduction, comprising:
the device comprises a reference data acquisition module, a data processing module and a data processing module, wherein the reference data acquisition module is used for acquiring reference audio data, and the reference audio data is generated by recording human voice and noise by a recording device without performing uplink noise reduction processing;
the noise reduction data acquisition module is used for acquiring noise reduction audio data, wherein the noise reduction audio data is generated after the equipment to be detected records the voice and the noise and carries out uplink noise reduction processing;
the weighting module is used for weighting the reference audio data and the noise reduction audio data respectively to obtain the weighting sound level of the reference audio data and the weighting sound level of the noise reduction audio data;
and the determining module is used for determining the uplink noise reduction amount of the equipment to be detected according to the weighted sound level of the reference audio data and the weighted sound level of the noise reduction audio data.
9. An electronic device, comprising a memory storing a computer program and a processor implementing the method of any of claims 1 to 7 when the processor executes the computer program.
10. A computer-readable storage medium, characterized in that a computer program is stored thereon which, when being executed by a processor, carries out the method according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011166345.6A CN114495978A (en) | 2020-10-27 | 2020-10-27 | Method, device and equipment for detecting noise reduction amount of uplink noise reduction and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011166345.6A CN114495978A (en) | 2020-10-27 | 2020-10-27 | Method, device and equipment for detecting noise reduction amount of uplink noise reduction and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114495978A true CN114495978A (en) | 2022-05-13 |
Family
ID=81470989
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011166345.6A Pending CN114495978A (en) | 2020-10-27 | 2020-10-27 | Method, device and equipment for detecting noise reduction amount of uplink noise reduction and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114495978A (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060222184A1 (en) * | 2004-09-23 | 2006-10-05 | Markus Buck | Multi-channel adaptive speech signal processing system with noise reduction |
CN101976565A (en) * | 2010-07-09 | 2011-02-16 | 瑞声声学科技(深圳)有限公司 | Dual-microphone-based speech enhancement device and method |
CN108174031A (en) * | 2017-12-26 | 2018-06-15 | 上海展扬通信技术有限公司 | A kind of volume adjusting method, terminal device and computer readable storage medium |
CN110232905A (en) * | 2019-06-12 | 2019-09-13 | 会听声学科技(北京)有限公司 | Uplink noise-reduction method, device and electronic equipment |
US20190313187A1 (en) * | 2018-04-05 | 2019-10-10 | Holger Stoltze | Controlling the direction of a microphone array beam in a video conferencing system |
CN111798852A (en) * | 2019-06-27 | 2020-10-20 | 深圳市豪恩声学股份有限公司 | Voice wake-up recognition performance test method, device and system and terminal equipment |
-
2020
- 2020-10-27 CN CN202011166345.6A patent/CN114495978A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060222184A1 (en) * | 2004-09-23 | 2006-10-05 | Markus Buck | Multi-channel adaptive speech signal processing system with noise reduction |
CN101976565A (en) * | 2010-07-09 | 2011-02-16 | 瑞声声学科技(深圳)有限公司 | Dual-microphone-based speech enhancement device and method |
CN108174031A (en) * | 2017-12-26 | 2018-06-15 | 上海展扬通信技术有限公司 | A kind of volume adjusting method, terminal device and computer readable storage medium |
US20190313187A1 (en) * | 2018-04-05 | 2019-10-10 | Holger Stoltze | Controlling the direction of a microphone array beam in a video conferencing system |
CN110232905A (en) * | 2019-06-12 | 2019-09-13 | 会听声学科技(北京)有限公司 | Uplink noise-reduction method, device and electronic equipment |
CN111798852A (en) * | 2019-06-27 | 2020-10-20 | 深圳市豪恩声学股份有限公司 | Voice wake-up recognition performance test method, device and system and terminal equipment |
Non-Patent Citations (1)
Title |
---|
叶利剑等: "双传声器指向性噪声消除在手机中的应用", 《电声技术》, vol. 35, no. 6, 17 June 2011 (2011-06-17) * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Lehmann et al. | Diffuse reverberation model for efficient image-source simulation of room impulse responses | |
CN104811155B (en) | A kind of balanced device method of adjustment and device | |
CN108596016B (en) | Personalized head-related transfer function modeling method based on deep neural network | |
CN116437280A (en) | Method, device, apparatus and system for evaluating consistency of microphone array | |
US20050244011A1 (en) | Method and apparatus to measure sound quality | |
WO2021103710A1 (en) | Live broadcast audio processing method and apparatus, and electronic device and storage medium | |
CN105530565A (en) | Automatic sound equalization device | |
CN111798852A (en) | Voice wake-up recognition performance test method, device and system and terminal equipment | |
US11516614B2 (en) | Generating sound zones using variable span filters | |
US20210306782A1 (en) | Method and system of audio device performance testing | |
WO2022174727A1 (en) | Howling suppression method and apparatus, hearing aid, and storage medium | |
Chen et al. | Direct-to-reverberant energy ratio estimation using a first-order microphone | |
KR20090113162A (en) | Method and apparatus for measuring hearing ability of the ear | |
CN108882115A (en) | loudness adjusting method, device and terminal | |
DE102020114076A1 (en) | ENVIRONMENTAL AND AGGREGATED SOUND DOSIMETRY | |
CN113823301A (en) | Training method and device of voice enhancement model and voice enhancement method and device | |
Cox et al. | Using scale modelling to assess the prehistoric acoustics of Stonehenge | |
Tenenbaum et al. | Auralization generated by modeling HRIRs with artificial neural networks and its validation using articulation tests | |
CN110475181B (en) | Equipment configuration method, device, equipment and storage medium | |
Kirsch et al. | Spatial resolution of late reverberation in virtual acoustic environments | |
Zhu et al. | Comparisons between simulated and in-situ measured speech intelligibility based on (binaural) room impulse responses | |
CN118338175A (en) | Bluetooth headset audio intelligent regulation and control method and system based on environmental noise | |
CN111737277B (en) | Sample data processing method and device, computer equipment and storage medium | |
CN114495978A (en) | Method, device and equipment for detecting noise reduction amount of uplink noise reduction and storage medium | |
Tommasini et al. | A computational model to implement binaural synthesis in a hard real-time auditory virtual environment |
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 |