A method and device for detecting noise reduction performance, and an electronic device
The noise reduction performance testing equipment simplifies the noise reduction performance testing process. Users can obtain results simply by clicking a button, solving the problem of complex operation in existing technologies and achieving simple and efficient testing.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- BEIJING 797 AUDIO
- Filing Date
- 2022-12-20
- Publication Date
- 2026-05-01
AI Technical Summary
Existing noise reduction equipment involves a complex testing process that requires frequent equipment operation, leading to inconvenience.
The noise reduction performance testing equipment receives and processes preset audio test signals through an audio input device, outputs preset audio test signals through an audio output device, and automatically calculates the noise reduction performance test results using a preset noise reduction performance test interface, simplifying the operation process.
The testing process has been simplified, allowing users to obtain noise reduction performance test results simply by clicking the test button, saving time and making the operation convenient and quick.
Smart Images

Figure CN115767399B_ABST
Abstract
Description
A method, apparatus, and electronic device for detecting noise reduction performance. Technical Field
[0001] This application relates to the field of speech signal processing technology, specifically to a method, apparatus, and electronic device for detecting noise reduction performance. Background Technology
[0002] With the development of science and technology, various electronic devices are widely used in various fields. Most electronic devices have audio playback functions, and people's requirements for the audio quality of electronic devices are getting higher and higher. In daily life, most speech and audio are subject to interference from noise and other sounds, resulting in unclear sound. Noise reduction is needed to make it easier for people to understand the content of speech and audio.
[0003] In related technologies, voice noise reduction has become a common feature in audio devices and audio applications on the market. Headphones, microphones, smart speakers and other products with noise reduction functions are emerging one after another. Using these products can effectively improve voice quality and clarity.
[0004] Regarding the aforementioned technologies, the inventors believe that existing methods for testing the noise reduction performance of noise reduction equipment require frequent operation of the testing equipment by testing personnel, making the testing process quite complex. Summary of the Invention
[0005] This application provides a method, apparatus, and electronic device for testing noise reduction performance. The operation process is simple, convenient, and quick for testing personnel when testing the noise reduction performance of noise reduction equipment.
[0006] The first aspect of this application provides a method for detecting noise reduction performance, applied to a noise reduction performance testing device, the noise reduction performance testing device including an audio input device and an audio output device; the method includes:
[0007] In response to a user's noise reduction performance test operation on the audio input device, a preset audio test signal is output through the audio output device;
[0008] The preset audio test signal is received through the audio input device;
[0009] The audio input device performs noise reduction processing on the preset audio test signal to obtain an audio noise-reduced signal;
[0010] The preset noise reduction performance test interface is called to process the preset audio test signal, the audio noise reduction signal, and the preset audio standard signal to obtain the noise reduction performance test result.
[0011] By adopting the above technical solution, the noise reduction performance testing equipment includes an audio input device and an audio output device. When testing the audio input device, a pre-processed preset audio test signal is output through the audio output device. The preset audio test signal is received by the audio input device, and noise reduction processing is performed on the received preset audio test signal to obtain a noise-reduced audio signal, which is then stored in the noise reduction performance testing equipment. A preset audio standard signal is pre-processed and stored in the noise reduction performance testing equipment. When the user clicks the test button, the noise reduction performance testing equipment calls the noise reduction performance testing interface to process the preset audio test signal, the noise-reduced audio signal, and the preset audio standard signal, obtaining the noise reduction performance test result. This noise reduction performance testing method eliminates the need for frequent user operation of the testing equipment; a single click of the test button yields the noise reduction performance test result. The testing process is simple, convenient, and quick, effectively saving the user's testing time.
[0012] Optionally, before outputting the preset audio test signal through the audio output device, the method includes:
[0013] Noise reduction performance testing equipment acquires audio standard signals and noise signals;
[0014] The audio standard signal is downsampled and high-pass filtered to obtain a preset audio standard signal;
[0015] The noise signal is downsampled and high-pass filtered to obtain a preset noise signal;
[0016] The preset audio standard signal and the preset noise signal are mixed according to a preset signal-to-noise ratio to obtain the preset audio test signal.
[0017] By adopting the above technical solution, an audio standard signal and a noise signal are obtained through a noise reduction performance testing device. The audio standard signal can be a pure speech signal. The audio standard signal is downsampled to 8000Hz and then passed through a 6th-order Butterworth high-pass filter with a cutoff frequency of 250Hz to obtain a preset audio standard signal. The noise signal can be selected from 6 noise types. The noise signal is downsampled to 8000Hz and then passed through a 6th-order Butterworth high-pass filter with a cutoff frequency of 250Hz to obtain a preset noise signal. The sampling rates of the preset audio standard signal and the preset noise signal are kept consistent. The preset audio standard signal and the preset noise signal are mixed according to a preset signal-to-noise ratio. The preset signal-to-noise ratio can be 6dB, 12dB, or 18dB. After obtaining the preset audio test signal, the preset audio test signal is stored in the noise reduction performance testing device.
[0018] Optionally, the preset noise signal can be any one of the preset noise types, one preset audio standard signal can correspond to multiple preset audio test signals, and one preset audio test signal can correspond to one noise type.
[0019] By adopting the above technical solution, since there are six types of noise, there are also six preset noise types obtained after downsampling and high-pass filtering of the noise signal. The preset noise signal can be any of the preset noise types. Since there is only one audio standard signal, there is also only one preset standard signal obtained after processing the audio standard signal. In the noise reduction performance testing device, there is also only one preset audio test signal obtained after mixing one preset audio standard signal and one preset noise signal. However, there are multiple preset audio test signals obtained by mixing one preset audio standard signal and multiple preset noise signals separately in the noise reduction performance testing device.
[0020] Optionally, the step of calling the preset noise reduction performance test interface to process the preset audio test signal, the audio noise reduction signal, and the preset audio standard signal to obtain the noise reduction performance test result; specifically including:
[0021] The preset audio test signal and the audio noise reduction signal are sequentially processed by time domain alignment, downsampling, and volume padding to obtain the noise reduction performance pre-test result.
[0022] The preset noise reduction performance test interface is called to test the noise reduction performance pre-detection result and the preset audio standard signal to obtain the noise reduction performance test result.
[0023] By adopting the above technical solution, the preset audio test signal and the audio noise reduction signal are time-domain aligned. Time-domain alignment can be achieved using cross-correlation to synchronize the two signals, facilitating subsequent processing. Since current audio equipment does not support an 8000Hz sampling rate, the preset audio test signal and the audio noise reduction signal need to be downsampled to 44000Hz after synchronization, ensuring consistent sampling rates for subsequent testing. Volume fill can be adjusted by reading the user-set input and output gain to achieve a suitable sound pressure level when testing noise reduction performance. After volume fill, a pre-test result for noise reduction performance is obtained. The preset noise reduction performance test interface is pre-stored in the noise reduction performance test equipment. After the user clicks the test button, the noise reduction performance test equipment can directly call the preset noise reduction performance test interface to test the pre-test result for noise reduction performance and the preset audio standard signal, obtaining the noise reduction performance test result.
[0024] Optionally, the preset noise reduction performance test interface includes one or more of the following: TNLR test interface, NPLR test interface, SNRI test interface, and DSN test interface.
[0025] By adopting the above technical solution, Total Noise Level Reduction (TNLR) is used to measure the noise power level, Noise Power Level Reduction (NPLR) is used to measure the noise energy level, Signal-to-Noise Ratio Improvement (SNRI) is used to measure the noise reduction performance level, and DSN (SNRI to NPLR difference) is the difference between SNRI and NPLR. The preset noise reduction performance test interface can be pre-stored in the noise reduction performance testing equipment. The preset noise reduction performance test interface called by the noise reduction performance testing equipment can be one or more of the TNLR test interface, NPLR test interface, SNRI test interface, and DSN test interface.
[0026] Optionally, the noise reduction performance test results include one or more of TNLR test data, NPLR test data, SNRI test data, and DSN test data; wherein, the preset noise reduction performance test interface corresponds to the noise reduction performance test results, and one preset noise reduction performance test interface corresponds to one noise reduction performance test result.
[0027] By adopting the above technical solutions, in the noise reduction performance test results, a higher TNLR test value indicates better noise reduction performance, a higher NPLR test value indicates better noise reduction performance, a higher SNRI test value indicates better noise reduction performance, and a lower DSN test value indicates better noise reduction performance. The noise reduction performance testing equipment calls preset noise reduction performance test interfaces, and the resulting noise reduction performance test results correspond accordingly. The number of preset noise reduction performance test interfaces called will result in the number of possible noise reduction performance test results.
[0028] Optionally, the audio input device includes a pickup device, and the audio output device includes a speaker and headphones.
[0029] By adopting the above technical solution, in the noise reduction performance testing equipment, the audio input device can use a microphone with noise reduction function to receive the preset audio test signal and perform noise reduction processing to obtain the audio noise reduction signal, and the audio output device can use a speaker or headphones to output the preset audio test signal.
[0030] Optionally, the noise types include noise from multiple people talking, car noise, music noise, pink noise, street noise, and human voice interference noise.
[0031] By adopting the above technical solution, the noise type used in the noise reduction performance testing equipment can be one or more of the following: multi-person conversation noise, car noise, music noise, pink noise, street noise, and human voice interference noise.
[0032] A second aspect of this application provides a noise reduction performance testing device, the device comprising a receiving module, a processing module, and a display module;
[0033] The receiving module, in response to a user's noise reduction performance test operation on the audio input device, outputs a preset audio test signal through the audio output device; receives the preset audio test signal through the audio input device; and performs noise reduction processing on the preset audio test signal to obtain a noise-reduced audio signal.
[0034] The processing module calls a preset noise reduction performance test interface to process the preset audio test signal, the audio noise reduction signal, and the preset audio standard signal to obtain the noise reduction performance test result.
[0035] The display module displays the obtained noise reduction performance test results.
[0036] By adopting the above technical solution, when the audio input device is tested, a preset audio test signal is output through the audio output device and received through the audio input device. The audio input device performs noise reduction processing on the preset audio test signal to obtain an audio noise reduction signal. The preset noise reduction performance test interface is called to process the preset audio test signal, the audio noise reduction signal, and the preset audio standard signal to obtain the noise reduction performance test result, and the obtained noise reduction performance test result is displayed.
[0037] A third aspect of this application provides an electronic device including a processor, a memory, a user interface, and a network interface. The memory is used to store instructions, the user interface and the network interface are used to communicate with other devices, and the processor is used to execute the instructions stored in the memory, causing the electronic device to perform the method as described in any one of the first aspects of this application.
[0038] In summary, this application includes at least one of the following beneficial technical effects:
[0039] 1. After the user clicks the test button, the noise reduction performance testing device calls the noise reduction performance testing interface to process the preset audio test signal, audio noise reduction signal, and preset audio standard signal, and obtains the noise reduction performance test result after processing. This noise reduction performance testing method does not require the user to frequently operate the testing device; the user only needs to click the test button to obtain the noise reduction performance test result. The testing process is simple, convenient, and quick, effectively saving the user's testing time.
[0040] 2. Obtain the audio standard signal and noise signal through the noise reduction performance testing equipment. After processing the audio standard signal and noise signal, obtain the preset audio standard signal and preset noise signal. Mix the preset audio standard signal and preset noise signal according to the preset signal-to-noise ratio to obtain the preset audio test signal. Only then can the preset audio test signal be received through the audio input device.
[0041] 3. The noise reduction performance pre-test result is obtained by sequentially performing time-domain alignment, downsampling, and volume padding on the preset audio test signal and the audio noise reduction signal. After the user clicks the test button, the noise reduction performance testing device can directly call the preset noise reduction performance test interface to test the noise reduction performance pre-test result and the preset audio standard signal to obtain the noise reduction performance test result. Attached Figure Description
[0042] Figure 1 is a schematic diagram of a method for detecting noise reduction performance according to an embodiment of this application;
[0043] Figure 2 is a flowchart illustrating a method for detecting noise reduction performance according to another embodiment of this application;
[0044] Figure 3 is a schematic diagram of the structure of a noise reduction performance detection device according to another embodiment of this application;
[0045] Figure 4 is a schematic diagram of the structure of an electronic device provided in one embodiment of this application.
[0046] Explanation of reference numerals in the attached diagram: 1. Initial area; 101. Test signal type; 102. Audio input route; 103. Audio output route; 2. Selection area; 3. Gain area; 301. Input gain; 302. Output gain; 4. Test area; 5. Result area; 6. Receiving module; 7. Processing module; 8. Display module; 400. Electronic device; 401. Processor; 402. Communication bus; 403. User interface; 404. Network interface; 405. Memory. Detailed Implementation
[0047] To enable those skilled in the art to better understand the technical solutions in this specification, the technical solutions in the embodiments of this specification will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments.
[0048] In the description of the embodiments in this application, words such as "illustrative," "for example," or "for example" are used to indicate examples, illustrations, or explanations. Any embodiment or design described as "illustrative," "for example," or "for example" in the embodiments of this application should not be construed as being more preferred or advantageous than other embodiments or designs. Rather, the use of words such as "illustrative," "for example," or "for example" is intended to present the relevant concepts in a specific manner.
[0049] Furthermore, unless otherwise stated, the term "multiple" means two or more. For example, "multiple systems" means two or more systems, and "multiple screen terminals" means two or more screen terminals. Additionally, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. The terms "comprising," "including," "having," and variations thereof all mean "including but not limited to," unless otherwise specifically emphasized.
[0050] The present application will now be described in detail with reference to specific embodiments.
[0051] Please refer to Figure 1. A method for testing noise reduction performance includes an initial region 1, a selection region 2, a gain region 3, a test region 4, and a result region 5. The initial region 1 includes a test signal type 101, an audio input route 102, and an audio output route 103; the selection region 2 includes the path for selecting the audio standard signal; the gain region 3 includes input gain 301 and output gain 302; the test region 4 includes test buttons; and the result region 5 includes TNLR test data, NPLR test data, SNRI test data, and DSN test data.
[0052] In one possible embodiment, the user can choose a relatively quiet room for testing to avoid interference from external noise. The main body of the noise reduction performance testing device can be a test computer. The audio input device can be a microphone with noise reduction function, and the audio output device can be a high-performance monitoring speaker that covers a sufficient frequency range, has low distortion, and meets sufficient sound pressure level. The preset signal-to-noise ratio can be 12dB. To ensure that the sound pressure level reproduced by the speaker reaches 65dB at the microphone (generally 1 meter along the speaker axis), before the test begins, the microphone connected to the test computer is selected in the audio input route 102, and the noise-reducing speaker connected to the test computer is selected in the audio output route 103. The audio standard signal can be a clean speech signal with a duration of 36s. The signal-to-noise ratio of the audio standard signal and the noise signal is 12dB. The preset audio test signal, which is a noisy speech signal mixed with the audio test signal and the noise signal, is stored in advance in the test computer. After the preset audio test signal is emitted through the speaker, it is recorded and noise-reduced through the microphone to obtain an audio noise-reduced signal, which is then stored in the test computer. In test signal type 101, the preset audio test signal type is selected, and in noise type, pink noise 12dB is selected. The volume of the microphone recording and the volume of the sound emitted by the speaker can be adjusted by setting the input gain 301 and output gain 302, respectively. This is mainly to adapt to different input and output sound pressure levels under different test environments. During testing, the noise reduction performance testing equipment can be calibrated first. The input gain 301 and output gain 302 can be set to their default values to keep the volume of the microphone and speaker the same. Taking the signal-to-noise ratio (SNRI) improvement data as an example, after the user clicks the test button, the preset audio test signal and audio noise reduction signal are automatically aligned in the time domain. The test computer calls the SNRI test interface stored in the test computer for processing, and can obtain the accurate value of the SNRI test data. Through the value, we can know the noise reduction performance of the noise reduction performance testing device on the microphone. The pass value of SNRI can be set to 3dB. If it is greater than 3dB, it means that the noise reduction performance is qualified. If it is not greater than 3dB, it means that the noise reduction performance is unqualified.
[0053] Please refer to Figure 2. The method includes the following steps S101-S105.
[0054] Step S101: Generate the preset audio test signal.
[0055] Downsampling, also known as reduced sampling, is a multi-rate digital signal processing technique or a process of reducing the signal sampling rate. During downsampling, aliasing can occur, requiring filters to reduce the distortion caused by aliasing. High-pass filtering is a filtering method that allows high-frequency signals to pass normally, while blocking or attenuating low-frequency signals below a set threshold.
[0056] In one possible embodiment, an audio standard signal and a noise signal are input into a test computer. The audio standard signal is a clean speech signal with a duration of 36 seconds. The noise signal can be selected from one or more of six noise types: multi-person conversation noise, car noise, music noise, pink noise, street noise, and human voice interference noise. For example, a 36-second piece of music noise is selected. The clean speech signal is downsampled to 8000Hz and then passed through a 6th-order Butterworth high-pass filter with a cutoff frequency of 250Hz to obtain the preset audio standard signal. The music noise is downsampled to 8000Hz and then passed through a 6th-order Butterworth high-pass filter with a cutoff frequency of 250Hz to obtain the preset noise signal. The preset audio standard signal and the preset noise signal are mixed at a signal-to-noise ratio of 12dB to obtain the preset audio test signal, which is then pre-stored in the test computer.
[0057] In one possible embodiment, an audio standard signal and a noise signal are input into a test computer. The audio standard signal is a clean speech signal with a duration of 36 seconds. The noise signal can be selected from one or more of six noise types: multi-person conversation noise, car noise, music noise, pink noise, street noise, and human voice interference noise. For example, a car noise segment and a street noise segment, both with a duration of 36 seconds, are selected. The clean speech signal is first downsampled to 8000Hz, and then passed through a 6th-order Butterworth high-pass filter with a cutoff frequency of 250Hz to obtain a preset audio standard signal. The car noise and street noise are first downsampled to 8000Hz respectively, and then passed through a 6th-order Butterworth high-pass filter with a cutoff frequency of 250Hz to obtain two preset noise signals. One preset audio standard signal and the two preset noise signals are mixed according to a preset signal-to-noise ratio of 6dB to obtain two preset audio test signals, which are then pre-stored in the test computer.
[0058] Step S102: Initialize configuration.
[0059] In one possible embodiment, initialization configuration is required before the audio output device outputs a preset audio test signal to ensure the normal operation of various functions. Initialization involves reading the currently available audio input and output routes of the test computer. When the test computer is connected to a microphone with noise reduction function, the microphone can be selected as the audio input route 102. When the test computer is connected to speakers or headphones, the speakers or headphones can be selected as the audio output route 103. It also provides the user with the function of selecting a reference voice, i.e., an audio standard signal.
[0060] Step S103: Playback and recording of preset audio test signals.
[0061] In one possible embodiment, considering that different audio devices have different buffers, which may affect sound quality, recording the test signal simultaneously with its initial playback might result in the initial portion of the test signal not being recorded. At the start of the test, recording should begin using a pickup device in the audio input device, such as a microphone with noise reduction. After 2 seconds of recording, a preset audio test signal, pre-stored in the test computer, is output through an audio output device, such as a speaker. Then, the test signal can be played while simultaneously being recorded. The microphone records the preset audio test signal and performs noise reduction processing to obtain a noise-reduced audio signal. After recording is complete, the noise-reduced audio signal is stored in the test computer.
[0062] Step S104: Process the preset audio test signal and the audio noise reduction signal.
[0063] The time domain, also known as the time field, describes the relationship between a mathematical function or a physical signal and time. When two signals have different time domains, to place them in the same time domain and facilitate finding their relationship, time domain alignment is required. This alignment can be achieved using cross-correlation. In signal processing, cross-correlation is used as a measure of similarity between two signals. It is typically used by comparing the signal with a known signal to identify characteristics of an unknown signal, and it is also a function of time between the two signals.
[0064] In one possible embodiment, a time-domain alignment is performed on a preset audio test signal and an audio noise-reduced signal pre-stored in the test computer. For example, the time-domain alignment is performed on the test signal played by the speaker and the audio noise-reduced signal recorded by the microphone and then noise-reduced. The time-domain alignment uses the cross-correlation method to find the maximum cross-correlation coefficient between the two signals and then calculates and processes it, placing the two signals in the same time domain. Then, the preset audio test signal and the audio noise-reduced signal are downsampled to 44000Hz to ensure that the preset audio test signal and the audio noise-reduced signal maintain the same sampling rate. Volume fill-in is mainly to adapt to situations where the input and output sound pressure levels are different under different test environments. The input volume of the microphone-recorded test signal is adjusted by setting the input gain 301, and the output volume of the speaker-played test signal is adjusted by setting the output gain 302, keeping the input and output volumes consistent. When testing in a relatively quiet room, the input gain 301 and output gain 302 in the test computer can be set to their default values. After volume fill-in of the two signals, the noise reduction performance pre-detection result is obtained and stored in the test computer.
[0065] Step S105: Call the preset noise reduction performance test interface to calculate the noise reduction performance test result.
[0066] The preset noise reduction performance test interfaces stored in the test computer include TNLR test interface, NPLR test interface, SNRI test interface and DSN test interface. The noise reduction performance test interface called by the test computer corresponds to the noise reduction performance test result calculated after the call. One noise reduction performance test interface corresponds to one noise reduction performance test result. The noise reduction performance test results include TNLR test data, NPLR test data, SNRI test data and DSN test data.
[0067] In one possible embodiment, the SNRI test interface is used as an example. A preset audio test signal type 101 of 12dB pink noise is stored in the test computer. The audio input device uses a microphone with noise reduction function, and the audio output device uses a high-performance monitor speaker. After the user sets the audio input route 102 to a microphone and the audio output route 103 to a speaker, and selects the path of the preset audio standard signal, the user clicks the test button. The SNRI test interface is then invoked to calculate the noise reduction performance pre-detection result stored in the test computer and the preset audio standard signal. The calculated SNRI test data value is 4.84dB, which is greater than the SNRI pass value of 3dB. The noise reduction performance testing device concludes that the microphone's noise reduction performance is good.
[0068] PyQt is a cross-platform toolkit for creating graphical user interface (GUI) applications. It integrates Python with the Qt library, allowing Python to call Qt APIs while maintaining Qt's high performance and significantly improving development efficiency. This is because developing programs in Python is much faster than in C++. PyQt provides a complete wrapper around Qt, enabling you to do almost anything that Qt can do.
[0069] In one possible embodiment, the entire noise reduction performance testing process is implemented using PyQt for software UI programming. The main purpose of the software UI programming is to provide users with a clear and concise UI, making it easier for users to perform testing operations and improving the testing efficiency of the noise reduction performance testing equipment.
[0070] Please refer to Figure 3, which shows a schematic diagram of a noise reduction performance testing device. This system has the functions to implement the method example described above. These functions can be implemented in hardware or by hardware executing corresponding software. The device includes a receiving module 6, a processing module 7, and a display module 8.
[0071] The receiving module 6, in response to the user's noise reduction performance test operation for the audio input device, outputs a preset audio test signal through the audio output device; receives the preset audio test signal through the audio input device; and the audio input device performs noise reduction processing on the preset audio test signal to obtain an audio noise-reduced signal.
[0072] Processing module 7 calls the preset noise reduction performance test interface to process the preset audio test signal, audio noise reduction signal and preset audio standard signal to obtain the noise reduction performance test result.
[0073] Display module 8 displays the obtained noise reduction performance test results.
[0074] In one possible embodiment, in response to a user's noise reduction performance test operation on an audio input device, the receiving module 6 receives an audio test signal and an audio noise reduction signal, the processing module 7 calls a preset noise reduction performance test interface to process the preset audio test signal, the audio noise reduction signal and the preset audio standard signal to obtain a noise reduction performance test result, and the display module 8 displays the obtained noise reduction performance test result.
[0075] In one possible embodiment, the receiving module 6 receives an audio standard signal and a noise signal, the processing module 7 performs downsampling and high-pass filtering on the audio standard signal to obtain a preset audio standard signal, the processing module 7 performs downsampling and high-pass filtering on the noise signal to obtain a preset noise signal, and the processing module 7 mixes the preset audio standard signal and the preset noise signal according to a preset signal-to-noise ratio to obtain a preset audio test signal.
[0076] In one possible embodiment, the receiving module 6 receives a preset audio test signal, an audio noise reduction signal, and a preset audio standard signal. The processing module 7 sequentially performs time-domain alignment, downsampling, and volume padding on the preset audio test signal and the audio noise reduction signal to obtain a noise reduction performance pre-detection result. The processing module 7 calls the noise reduction performance test interface to detect the noise reduction performance pre-detection result and the preset audio standard signal to obtain a noise reduction performance test result. The display module 8 displays the obtained noise reduction performance test result.
[0077] It should be noted that the system provided in the above embodiments is only illustrated by the division of the above functional modules. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. In addition, the system and method embodiments provided in the above embodiments belong to the same concept, and the specific implementation process can be found in the method embodiments, which will not be repeated here.
[0078] Please refer to Figure 4, which is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. As shown in Figure 4, the electronic device 400 may include: at least one processor 401, at least one network interface 404, a user interface 403, a memory 405, and at least one communication bus 402.
[0079] The communication bus 402 is used to enable communication between these components.
[0080] The user interface 403 may include a display screen and a camera. Optionally, the user interface 403 may also include a standard wired interface and a wireless interface.
[0081] The network interface 404 may optionally include a standard wired interface or a wireless interface (such as a Wi-Fi interface).
[0082] The processor 401 may include one or more processing cores. The processor 401 connects to various parts of the server using various interfaces and lines, and performs various server functions and processes data by running or executing instructions, programs, code sets, or instruction sets stored in memory 405, and by calling data stored in memory 405. Optionally, the processor 401 may be implemented using at least one hardware form of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), or Programmable Logic Array (PLA). The processor 401 may integrate one or a combination of several of the following: Central Processing Unit (CPU), Graphics Processing Unit (GPU), and modem. The CPU primarily handles the operating system, user interface, and application requests; the GPU is responsible for rendering and drawing the content required for display; and the modem handles wireless communication. It is understood that the modem may also not be integrated into the processor 401 and may be implemented as a separate chip.
[0083] The memory 405 may include random access memory (RAM) or read-only memory. Optionally, the memory 405 may include a non-transitory computer-readable storage medium. The memory 405 may be used to store instructions, programs, code, code sets, or instruction sets. The memory 405 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as touch function, sound playback function, image playback function, etc.), instructions for implementing the above-described method embodiments, etc.; the data storage area may store data involved in the above-described method embodiments, etc. Optionally, the memory 405 may also be at least one storage device located remotely from the aforementioned processor 401.
[0084] As shown in Figure 4, the memory 405, which serves as a computer storage medium, may include an operating system, a network communication module, a user interface module, and an application program for detecting noise reduction performance.
[0085] In the electronic device 400 shown in Figure 4, the user interface 403 is mainly used to provide an input interface for the user and to obtain the user input data; while the processor 401 can be used to call the application program storing the noise reduction performance detection in the memory 405. When executed by one or more processors, the electronic device 400 performs one or more methods as described in the above embodiments.
[0086] It should be noted that, for the sake of simplicity, the foregoing method embodiments are all described as a series of actions. However, those skilled in the art should understand that this application is not limited to the described order of actions, as some steps may be performed in other orders or simultaneously according to this application. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are preferred embodiments, and the actions and modules involved are not necessarily essential to this application.
[0087] In the above embodiments, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions in other embodiments.
[0088] In the several embodiments provided in this application, it should be understood that the disclosed apparatus can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the shown or discussed mutual couplings or direct couplings or communication connections may be through some service interfaces; indirect couplings or communication connections between apparatuses or units may be electrical or other forms.
[0089] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0090] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0091] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage device (CMD). Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a memory and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of this application. The aforementioned memory includes various media capable of storing program code, such as USB flash drives, portable hard drives, magnetic disks, or optical disks.
[0092] The above are merely exemplary embodiments of this disclosure and should not be construed as limiting the scope of this disclosure. Any equivalent changes and modifications made in accordance with the teachings of this disclosure shall still fall within the scope of this disclosure. Those skilled in the art will readily conceive of other embodiments of this disclosure upon considering the specification and the disclosure of practical truths. This application is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not described in this disclosure.
Claims
1. A method for detecting noise reduction performance, characterized in that, An application is made in a noise reduction performance testing device, which includes an audio input device and an audio output device. The method includes: responding to a user's noise reduction performance testing operation on the audio input device, outputting a preset audio test signal through the audio output device; receiving the preset audio test signal through the audio input device; performing noise reduction processing on the preset audio test signal to obtain a noise-reduced audio signal; and calling a preset noise reduction performance testing interface to process the preset audio test signal, the noise-reduced audio signal, and a preset audio standard signal to obtain a noise reduction performance testing result. The preset noise reduction performance testing interface includes a TNLR testing interface, an NPLR testing interface, an SNRI testing interface, and a DSN testing interface, where TNLR is the total noise suppression factor. NPLR is the noise energy suppression factor, SNRI is the signal-to-noise ratio improvement factor, and DSN is the difference between SNRI and NPLR. Before outputting the preset audio test signal through the audio output device, the method includes: acquiring an audio standard signal and a noise signal through a noise reduction performance testing device; downsampling and high-pass filtering the audio standard signal to obtain a preset audio standard signal; downsampling and high-pass filtering the noise signal to obtain a preset noise signal; mixing the preset audio standard signal and the preset noise signal according to a preset signal-to-noise ratio to obtain the preset audio test signal, wherein the preset noise signal is any one of the preset noise types, one preset audio standard signal corresponds to multiple preset audio test signals, and one preset audio test signal corresponds to one noise type.
2. The method for detecting noise reduction performance according to claim 1, characterized in that, The step of calling the preset noise reduction performance test interface to process the preset audio test signal, the audio noise reduction signal, and the preset audio standard signal to obtain a noise reduction performance test result includes: sequentially performing time-domain alignment, downsampling, and volume padding on the preset audio test signal and the audio noise reduction signal to obtain a noise reduction performance pre-detection result; and calling the preset noise reduction performance test interface to detect the noise reduction performance pre-detection result and the preset audio standard signal to obtain a noise reduction performance test result.
3. The method for detecting noise reduction performance according to claim 1, characterized in that, The noise reduction performance test results include one or more of TNLR test data, NPLR test data, SNRI test data, and DSN test data; wherein, the preset noise reduction performance test interface corresponds to the noise reduction performance test results, and one preset noise reduction performance test interface corresponds to one noise reduction performance test result.
4. The method for detecting noise reduction performance according to claim 1, characterized in that, The audio input device includes a pickup device, and the audio output device includes a speaker and headphones.
5. The method for detecting noise reduction performance according to claim 1, characterized in that, The noise types include noise from multiple people talking, car noise, music noise, pink noise, street noise, and noise from human voice interference.
6. A noise reduction performance testing device, used to implement the method as described in any one of claims 1-5, characterized in that, The device includes a receiving module (6), a processing module (7), and a display module (8); the receiving module (6) responds to the user's noise reduction performance test operation on the audio input device by outputting a preset audio test signal through the audio output device; The preset audio test signal is received through the audio input device; The audio input device performs noise reduction processing on the preset audio test signal to obtain an audio noise-reduced signal; The processing module (7) calls the preset noise reduction performance test interface to process the preset audio test signal, the audio noise reduction signal and the preset audio standard signal to obtain the noise reduction performance test result; the display module (8) displays the obtained noise reduction performance test result.
7. An electronic device (400), characterized in that, The device includes a processor (401), a memory, a user interface, and a network interface. The memory is used to store instructions, and the user interface and network interface are used to communicate with other devices. The processor (401) is used to execute the instructions stored in the memory to cause the electronic device (400) to perform the method as described in any one of claims 1-5.
Citation Information
Patent Citations
Method and device for detecting noise reduction amount of uplink noise reduction, equipment and storage medium
CN114495978A
Noise reduction earphone test device
CN212013054U