Sound mixing algorithm test method and device, electronic equipment and storage medium
Through the proposed mixing algorithm testing method, the response time is measured, the accuracy is identified and audio characteristics is analyzed, and the problem that the existing technology cannot evaluate the performance of the mixing algorithm is solved, efficient testing and optimization are achieved, and user experience is improved.
Patent Information
- Application Number
- CN202411151316.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-21
- Publication Date
- 2024-12-06
AI Technical Summary
During the development of mixing algorithms, the existing technology cannot comprehensively evaluate the performance and effectiveness of mixing algorithms, resulting in R&D personnel needing to adjust through trial and error, which increases trial and error costs and time investment and reduces user experience.
A mixing algorithm testing method is proposed, including measuring response time, identifying accuracy and identifying time, analyzing audio characteristics, processing test audio through mixing algorithm to obtain verification data, and using RT-Tester, mixed signal analysis instruments and digital signal processing chips Implement testing.
Through comprehensive testing and optimization of mixing algorithms, the testing efficiency is improved, ensuring that the algorithm can accurately identify different audios and perform appropriate mixing processing, reducing noise interference, and improving audio quality and user experience.
Smart Images

Figure CN119091917A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of audio processing technology, and in particular to a mixing algorithm testing method, device, electronic device and storage medium. Background Art
[0002] When there are multiple sound sources at the same time, it is a common design to mix multiple audios. However, in the process of developing the mixing algorithm, the mixing algorithm needs to be verified and tested to improve the reliability of the mixing algorithm. However, the relevant technology cannot fully evaluate the performance and effect of the mixing algorithm, which requires R&D personnel to adjust the mixing algorithm through trial and error, increasing the trial and error cost and time investment in the development process. Summary of the invention
[0003] The main purpose of the embodiments of the present application is to propose a mixing algorithm testing method to efficiently test the performance of the mixing algorithm.
[0004] To achieve the above object, an embodiment of the present application provides a method for testing a mixing algorithm, the method comprising the following steps:
[0005] Processing the audio source audio using a mixing algorithm and playing the audio source audio, and measuring the response time of the mixing algorithm to the audio source audio;
[0006] Recognize the test speech by using the mixing algorithm, and measure the recognition accuracy and recognition time of the test speech by the mixing algorithm;
[0007] Analyzing the audio features of the mixed audio processed by the mixing algorithm to obtain an analysis result;
[0008] The test audio is processed using the mixing algorithm to obtain a processing result, and the processing result is compared with an expected result to obtain verification data of the mixing algorithm.
[0009] In some embodiments, measuring the response time of the mixing algorithm to the source audio comprises the following steps:
[0010] RT-Tester is used to measure the response time of the mixing algorithm to the source audio.
[0011] In some embodiments, the step of using the mixing algorithm to recognize the test speech comprises the following steps:
[0012] The simulated voice and / or the real user voice is input as the test voice into the mixing algorithm for recognition.
[0013] In some embodiments, the step of analyzing the audio features of the mixed audio processed by the mixing algorithm to obtain the analysis result comprises the following steps:
[0014] A mixed signal analysis instrument is used to analyze the audio characteristics of the mixed audio processed by the mixing algorithm to obtain an analysis result.
[0015] In some embodiments, the step of processing the test audio using the mixing algorithm to obtain a processing result includes the following steps:
[0016] The mixing algorithm is executed by using a digital signal processing chip, so as to process the test audio by using the mixing algorithm to obtain a processing result.
[0017] To achieve the above object, another aspect of an embodiment of the present application provides a mixing algorithm testing device, the device comprising:
[0018] A response time test unit, used to process the audio source audio using a mixing algorithm and play the audio source audio, and measure the response time of the mixing algorithm to the audio source audio;
[0019] A speech recognition test unit, used to recognize a test speech using the sound mixing algorithm, and measure the recognition accuracy and recognition time of the sound mixing algorithm for the test speech;
[0020] A mixing feature analysis unit, used to analyze the audio features of the mixed audio processed by the mixing algorithm to obtain an analysis result;
[0021] The mixing performance testing unit is used to process the test audio using the mixing algorithm to obtain a processing result, and compare the processing result with an expected result to obtain verification data of the mixing algorithm.
[0022] In some embodiments, the response time testing unit includes:
[0023] The response time test subunit is used to measure the response time of the mixing algorithm to the audio source audio using RT-Tester.
[0024] In some embodiments, the speech recognition test unit includes:
[0025] The speech recognition test subunit is used to input simulated speech and / or real user speech as the test speech into the mixing algorithm for recognition.
[0026] In some embodiments, the mixing feature analysis unit includes:
[0027] The mixing feature analysis subunit is used to analyze the audio features of the mixed audio processed by the mixing algorithm using a mixed signal analysis instrument to obtain an analysis result.
[0028] In some embodiments, the mixing performance testing unit includes:
[0029] The mixing performance test subunit is used to execute the mixing algorithm using a digital signal processing chip, so as to process the test audio using the mixing algorithm to obtain a processing result.
[0030] To achieve the above purpose, another aspect of an embodiment of the present application provides an electronic device, the electronic device comprising a memory and a processor, the memory storing a computer program, and the processor implementing the above-mentioned mixing algorithm testing method when executing the computer program.
[0031] To achieve the above objective, another aspect of an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the above-mentioned mixing algorithm testing method is implemented.
[0032] The embodiments of the present application include at least the following beneficial effects:
[0033] This application can use a mixing algorithm to process the audio source audio and play the audio source audio, measure the response time of the mixing algorithm to the audio source audio; use the mixing algorithm to recognize the test voice, measure the recognition accuracy and recognition time of the mixing algorithm to the test voice; analyze the audio features of the mixed audio processed by the mixing algorithm to obtain the analysis results; use the mixing algorithm to process the test audio to obtain the processing results, and compare the processing results with the expected results to obtain the verification data of the mixing algorithm. By testing the response time, recognition accuracy and recognition time of the mixing algorithm, and obtaining the analysis results of the mixing algorithm on the mixed audio and the verification data of the test audio, the performance of the mixing algorithm can be comprehensively tested and evaluated. According to the test results, the mixing algorithm can be adjusted and optimized in a targeted manner, which improves the test efficiency of the mixing algorithm, and the optimized mixing algorithm can accurately identify different audios and perform appropriate mixing processing, so as to realize the timely transmission of important information, reduce noise interference and improve audio quality, thereby improving the user's auditory experience in various scenarios. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0035] Figure 1 A flow chart of a mixing algorithm testing method provided in an embodiment of the present application;
[0036] Figure 2 , Figure 3 , Figure 4 , Figure 5They are respectively example flow charts of a mixing algorithm testing method provided in an embodiment of the present application in different implementation modes;
[0037] Figure 6 A schematic diagram of the structure of a mixing algorithm testing device provided in an embodiment of the present application;
[0038] Figure 7 , Figure 8 , Fig. 9 , Fig.10 They are respectively exemplary structural diagrams of a mixing algorithm testing device provided in an embodiment of the present application in different implementation modes;
[0039] Fig.11 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0040] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application is further described in detail below in conjunction with the accompanying drawings and examples. It should be understood that the specific embodiments described herein are only used to explain the present application and are not intended to limit the present application. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the embodiments of the present application. They are only examples of devices and methods consistent with some aspects of the embodiments of the present application as detailed in the attached claims.
[0041] It is understood that the terms "first", "second", etc. used in this application can be used to describe various concepts in this article, but unless otherwise specified, these concepts are not limited by these terms. These terms are only used to distinguish one concept from another concept. For example, without departing from the scope of the embodiment of the present application, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the words "if" and "if" as used herein can be interpreted as "at the time of" or "when" or "in response to determination".
[0042] The terms "at least one", "multiple", "each", "any", etc. used in this application, at least one includes one, two or more, multiple includes two or more, each refers to each of the corresponding multiple, and any refers to any one of the multiple.
[0043] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.
[0044] Before describing the embodiments of the present application in detail, some related technologies involved in the embodiments of the present application are first described as follows:
[0045] When there are multiple sound sources in a smart cockpit at the same time, it is a common design to mix multiple audios, such as mixing music and instrument indicator sounds played at the same time. However, in the process of developing the mixing algorithm, the mixing algorithm needs to be verified and tested to improve the reliability of the mixing algorithm. However, the related technology lacks effective testing methods, which makes it impossible to fully evaluate the performance and effect of the mixing algorithm, so it is impossible to find potential problems and improvement space of the mixing algorithm, resulting in the need for R&D personnel to adjust the mixing algorithm through continuous trial and error, which increases the trial and error cost and time investment in the development process, and also reduces the user experience. Therefore, it is necessary to propose an effective testing method for the mixing algorithm to improve the reliability and user experience of the smart cockpit.
[0046] The embodiment of the present application provides a method, device, electronic device and storage medium for testing a mixing algorithm. The technical solution of the present application includes: using a mixing algorithm to process a sound source audio and play the sound source audio, measuring the response time of the mixing algorithm to the sound source audio; using a mixing algorithm to recognize a test voice, measuring the recognition accuracy and recognition time of the mixing algorithm to the test voice; analyzing the audio features of the mixed audio processed by the mixing algorithm to obtain an analysis result; using a mixing algorithm to process the test audio to obtain a processing result, and comparing the processing result with the expected result to obtain verification data of the mixing algorithm. By testing the response time, recognition accuracy and recognition time of the mixing algorithm, and obtaining the analysis result of the mixing algorithm on the mixed audio and the verification data of the test audio, the performance of the mixing algorithm can be comprehensively tested and evaluated, and the mixing algorithm can be adjusted and optimized in a targeted manner according to the test results, thereby improving the test efficiency of the mixing algorithm, and the optimized mixing algorithm can accurately recognize different audios and perform appropriate mixing processing, thereby realizing the timely transmission of important information, reducing noise interference and improving audio quality, thereby improving the user's auditory experience in various scenarios.
[0047] The embodiment of the present application provides a mixing algorithm test method, which relates to the field of audio processing technology. The mixing algorithm test method provided in the embodiment of the present application can be applied to a terminal, can also be applied to a server, and can also be software running in a terminal or a server. In some embodiments, the terminal can be a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a smart watch, and a car terminal, etc., but is not limited to this; the server side can be configured as an independent physical server, or it can be configured as a server cluster or distributed system composed of multiple physical servers, and can also be configured to provide cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms and other basic cloud computing services. The cloud server, the server can also be a node server in the blockchain network; the software can be an application that implements the mixing algorithm test method, etc., but is not limited to the above forms.
[0048] The present application can be used in many general or special computer system environments or configurations. For example: personal computers, server computers, handheld or portable devices, tablet devices, multiprocessor systems, microprocessor-based systems, set-top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, distributed computing environments including any of the above systems or devices, etc. The present application can be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. The present application can also be practiced in distributed computing environments, in which tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules can be located in local and remote computer storage media including storage devices.
[0049] Reference Figure 1 , the embodiment of the present application provides a mixing algorithm testing method, the method may include but is not limited to including S100 to S130, specifically as follows:
[0050] S100: Processing a sound source audio using a sound mixing algorithm and playing the sound source audio, and measuring a response time of the sound mixing algorithm to the sound source audio.
[0051] It can be understood that the mixing algorithm of this embodiment can process multiple different audios for simultaneous playback. For example, the audio sources that can be processed and played by the mixing algorithm include: telephone audio, audio played by a player, welcome words, navigation voice, broadcast audio, radar prompt sound, media audio, instrument indicator sound, acoustic vehicle warning sound or engine noise enhancement sound.
[0052] The mixing algorithm can process various audios, such as adjusting the sound intensity, playback order, and playback frequency of each audio. In order to test the response performance of the mixing algorithm, this embodiment can use the mixing algorithm to mix each audio and then play the audio obtained after the mixing process, and measure the time interval from processing each audio to playing the audio as the response time. Generally, the shorter the response time, the stronger the performance of the mixing algorithm.
[0053] Reference Figure 2 The step of measuring the response time of the mixing algorithm to the source audio in S100 may further include the following steps:
[0054] S101: Using RT-Tester to measure the response time of the mixing algorithm to the source audio.
[0055] It is understandable that in this embodiment, a real-time performance testing tool, such as RT-Tester, can be used to measure the response time of the mixing algorithm. For example, by simulating the audio input of the sound source under different loads and scenarios, the response time of the mixing algorithm is tested to determine the processing delay, which can provide test data for the mixing algorithm to meet the real-time requirements.
[0056] Specifically, RT-Tester is a general test system that integrates automated semi-physical testing, instantiation of different types of hardware interfaces, and software integration testing of operating systems. It consists of a series of components and supports multiple languages such as C, C++, Java, and C#. It is used in various test stages such as unit testing, integration testing, configuration item testing, software and hardware integration testing, and system testing. It automatically generates test cases, executes tests, and conducts real-time test evaluation during the test process.
[0057] RT-Tester can automatically generate test cases, test data and test processes, is compatible with specifications in multiple formats (UML2.0, Domain-Specific language, CSP, etc.), and generates and maintains a traceability matrix of requirements, test cases, test processes and test results.
[0058] RT-Tester has its own runtime environment, based on the lightweight process mechanism of the underlying Windows or Linux operating system, managing configurable user threads on LWP, and the cost of context switching is not high. In Linux multi-core and multi-CPU platforms, the capabilities of RT-Tester are enhanced with the help of Hard Real-Time Linux kernel patch. A specified number of CPUs can be reserved for RT-Tester's LWPs, which makes the scheduling accuracy about a few microseconds. In the remaining cores or CPUs, other programs can be executed normally without affecting the system during real-time runtime.
[0059] S110: using the sound mixing algorithm to recognize a test voice, and measuring the recognition accuracy and recognition time of the sound mixing algorithm for the test voice.
[0060] It can be understood that the mixing algorithm of this embodiment can process externally input voice, which can be a voice command. Therefore, this embodiment can input a test voice command as a test voice into the mixing algorithm, use the mixing algorithm to recognize the voice command, and then test the recognition accuracy of the mixing algorithm for the voice command based on the recognition result, and test the time interval from inputting the voice command to obtaining the recognition result as the recognition time.
[0061] Reference Figure 3 The step of using the mixing algorithm to recognize the test speech in S110 may further include the following steps:
[0062] S111: Inputting simulated voice and / or real user voice as the test voice into the mixing algorithm for recognition.
[0063] It can be understood that the present embodiment can use simulated generated voice or user's real voice and other voice commands as test voice input to the mixing algorithm for recognition. For example, the present embodiment can use a voice recognition test tool to test the recognition accuracy of the mixing algorithm for voice commands. By simulating voice input or using real voice data, the accuracy and response time of voice recognition are measured to test whether the audio processing method of the mixing algorithm affects the recognition accuracy and speed of voice commands.
[0064] S120: Analyze the audio features of the mixed audio processed by the mixing algorithm to obtain an analysis result.
[0065] Exemplarily, the audio features that can be analyzed in this embodiment may include features such as spectrum features or distortion levels, so as to test whether the mixed audio processed by the mixing algorithm damages the sound quality or introduces additional noise.
[0066] Reference Figure 4 , S120 may further include:
[0067] S121: Analyze the audio features of the mixed audio processed by the mixing algorithm using a mixed signal analysis instrument to obtain an analysis result.
[0068] Exemplarily, this embodiment can use a mixed signal analysis instrument such as an oscilloscope or a spectrum analyzer to perform real-time monitoring and analysis on the mixed audio obtained after the mixing algorithm is processed, so as to detect the spectral characteristics, degree of distortion and other characteristics of the mixed audio, and then test whether the mixed audio processed by the mixing algorithm damages the sound quality or introduces additional noise.
[0069] S130: Using the mixing algorithm to process the test audio to obtain a processing result, and comparing the processing result with an expected result to obtain verification data of the mixing algorithm.
[0070] It can be understood that in order to understand the actual processing effect of the mixing algorithm, the present embodiment can use the mixing algorithm to process the test audio, wherein the test audio may include multiple different types of audio, such as communication, navigation, media, and broadcast audio, and then obtain the mixed processing result of the mixing algorithm on various types of audio, and then compare the processing result with the estimated result, for example, compare the spectral characteristics, distortion degree or signal-to-noise ratio and other indicators of the two, and then obtain verification data, and then verify the performance of the mixing algorithm based on the verification data.
[0071] Reference Figure 5 The step of using the mixing algorithm to process the test audio to obtain a processing result in S130 may further include the following steps:
[0072] S131: Utilize a digital signal processing chip to execute the mixing algorithm, so as to utilize the mixing algorithm to process the test audio and obtain a processing result.
[0073] By way of example, the present embodiment can verify the performance and effect of the mixing algorithm through algorithm simulation and actual testing. For example, the algorithm simulation is performed using software such as MATLAB to verify the mixed audio processing effect of the mixing algorithm in different scenarios. At the same time, actual testing is performed using a digital signal processing (DSP) chip or a real-time audio processor to evaluate the performance and effect of the mixing algorithm.
[0074] Next, the solution of the embodiment of the present application will be introduced and explained in conjunction with specific application examples:
[0075] Exemplarily, this embodiment can test the mixing algorithm deployed in the smart cockpit, wherein the smart cockpit can be mounted on various vehicles. Specifically, the vehicle can be a private car, such as a sedan, SUV, MPV or pickup truck. The vehicle can also be an operating vehicle, such as a van, bus, small truck or large trailer. The vehicle can be a gasoline vehicle or a new energy vehicle. When the vehicle is a new energy vehicle, it can be a hybrid vehicle or a pure electric vehicle.
[0076] Specifically, this embodiment can perform the following tests on the mixing algorithm:
[0077] 1. Real-time performance test:
[0078] Use RT-Tester or similar real-time performance testing tools to perform performance testing of the mixing algorithm in a real-time environment that simulates a smart cockpit. By sending audio source trigger signals of different priorities and frequencies to emit corresponding audio sources, monitor the response time of the mixing algorithm to various audio sources and the processing delay time.
[0079] Specifically, RT-Tester is a general test system that integrates automated semi-physical testing, instantiation of different types of hardware interfaces, and software integration testing of operating systems. It consists of a series of components and supports multiple languages such as C, C++, Java, and C#. It is used in various test stages such as unit testing, integration testing, configuration item testing, software and hardware integration testing, and system testing. It automatically generates test cases, executes tests, and conducts real-time test evaluation during the test process.
[0080] RT-Tester can automatically generate test cases, test data and test processes, is compatible with specifications in multiple formats (UML2.0, Domain-Specific language, CSP, etc.), and generates and maintains a traceability matrix of requirements, test cases, test processes and test results.
[0081] RT-Tester has its own runtime environment, based on the lightweight process mechanism of the underlying Windows or Linux operating system, managing configurable user threads on LWP, and the cost of context switching is not high. In Linux multi-core and multi-CPU platforms, the capabilities of RT-Tester are enhanced with the help of Hard Real-Time Linux kernel patch. A specified number of CPUs can be reserved for RT-Tester's LWPs, which makes the scheduling accuracy about a few microseconds. In the remaining cores or CPUs, other programs can be executed normally without affecting the system during real-time runtime.
[0082] 2. Speech recognition accuracy test:
[0083] Use the speech recognition test platform to simulate the voice interaction scenario in the smart cockpit, send different voice commands to the mixing algorithm, play media sound sources at the same time, evaluate the speech recognition accuracy and response time of the mixing algorithm under mixing conditions, and record the recognition results and processing time of the mixing algorithm for voice commands.
[0084] 3. Mixed audio analysis:
[0085] Connect a signal analysis instrument such as an oscilloscope or spectrum analyzer to the audio output port of the smart cockpit, play and drive various audio sources to play audio at the same time, monitor the mixed audio obtained after the mixing algorithm is processed, and perform spectrum analysis and distortion detection on the mixed audio to evaluate the audio quality and noise level of the mixed audio.
[0086] 4. Mixing algorithm performance verification:
[0087] Implement the mixing algorithm on the digital signal processing (DSP) chip, and verify the performance and effect of the mixing algorithm through simulation scenarios and actual tests. Use simulated audio signals or actual recorded car audio data to input into the mixing algorithm, obtain the processing results after the mixing algorithm processes the audio, and compare and analyze the processing results with the expected results.
[0088] This embodiment can efficiently and comprehensively test the mixing algorithm, and can specifically adjust and optimize the mixing algorithm according to the test results, thereby improving the testing efficiency of the mixing algorithm. The optimized mixing algorithm can accurately identify different audios and perform appropriate mixing processing, thereby achieving timely communication of important information, reducing noise interference and improving audio quality, thereby improving the user's auditory experience in various scenarios.
[0089] Reference Figure 6 The embodiment of the present application further provides a mixing algorithm testing device, which can implement the above-mentioned mixing algorithm testing method, and the device includes:
[0090] A response time test unit, used to process the audio source audio using a mixing algorithm and play the audio source audio, and measure the response time of the mixing algorithm to the audio source audio;
[0091] A speech recognition test unit, used to recognize a test speech using the sound mixing algorithm, and measure the recognition accuracy and recognition time of the sound mixing algorithm for the test speech;
[0092] A mixing feature analysis unit, used to analyze the audio features of the mixed audio processed by the mixing algorithm to obtain an analysis result;
[0093] The mixing performance testing unit is used to process the test audio using the mixing algorithm to obtain a processing result, and compare the processing result with an expected result to obtain verification data of the mixing algorithm.
[0094] Reference Figure 7 In some embodiments, the response time testing unit comprises:
[0095] The response time test subunit is used to measure the response time of the mixing algorithm to the audio source audio using RT-Tester.
[0096] Reference Figure 8 In some embodiments, the speech recognition test unit comprises:
[0097] The speech recognition test subunit is used to input simulated speech and / or real user speech as the test speech into the mixing algorithm for recognition.
[0098] Reference Fig. 9 In some embodiments, the mixing feature analysis unit includes:
[0099] The mixing feature analysis subunit is used to analyze the audio features of the mixed audio processed by the mixing algorithm using a mixed signal analysis instrument to obtain an analysis result.
[0100] Reference Fig.10 In some embodiments, the mixing performance testing unit includes:
[0101] The mixing performance test subunit is used to execute the mixing algorithm using a digital signal processing chip, so as to process the test audio using the mixing algorithm to obtain a processing result.
[0102] It can be understood that the contents of the above method embodiments are all applicable to the present device embodiments, the functions specifically implemented by the present device embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.
[0103] The embodiment of the present application also provides an electronic device, the electronic device includes a memory and a processor, the memory stores a computer program, and the processor implements the above mixing algorithm test method when executing the computer program. The electronic device can be any intelligent terminal including a tablet computer, a car computer, etc.
[0104] It can be understood that the contents of the above method embodiments are all applicable to the present device embodiments, the functions specifically implemented by the present device embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.
[0105] See also Fig.11 , Fig.11 The hardware structure of an electronic device of another embodiment is illustrated, and the electronic device includes:
[0106] The processor 1101 may be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of the present application;
[0107] The memory 1102 may be implemented in the form of a read-only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM). The memory 1102 may store an operating system and other application programs. When the technical solution provided in the embodiment of this specification is implemented by software or firmware, the relevant program code is stored in the memory 1102, and the processor 1101 calls and executes the mixing algorithm test method of the embodiment of this application;
[0108] Input / output interface 1103, used to implement information input and output;
[0109] The communication interface 1104 is used to realize the communication interaction between the device and other devices. The communication can be realized through a wired manner (such as USB, network cable, etc.) or a wireless manner (such as mobile network, WIFI, Bluetooth, etc.);
[0110] A bus 1105 that transmits information between various components of the device (e.g., the processor 1101, the memory 1102, the input / output interface 1103, and the communication interface 1104);
[0111] The processor 1101 , the memory 1102 , the input / output interface 1103 and the communication interface 1104 are connected to each other in communication within the device via the bus 1105 .
[0112] The embodiment of the present application further provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the above-mentioned mixing algorithm testing method is implemented.
[0113] It can be understood that the contents of the above method embodiments are all applicable to the present storage medium embodiments, the functions specifically implemented by the present storage medium embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.
[0114] The memory, as a non-transient computer-readable storage medium, can be used to store non-transient software programs and non-transient computer executable programs. In addition, the memory may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some embodiments, the memory may optionally include a memory remotely disposed relative to the processor, and these remote memories may be connected to the processor via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0115] The embodiments described in the embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application and do not constitute a limitation on the technical solutions provided in the embodiments of the present application. Those skilled in the art will appreciate that with the evolution of technology and the emergence of new application scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
[0116] Those skilled in the art will appreciate that the technical solutions shown in the figures do not constitute a limitation on the embodiments of the present application, and may include more or fewer steps than shown in the figures, or a combination of certain steps, or different steps.
[0117] The device embodiments described above are merely illustrative, and the units described as separate components may or may not be physically separated, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0118] Those skilled in the art will appreciate that all or some of the steps in the methods disclosed above, and the functional modules / units in the systems and devices may be implemented as software, firmware, hardware, or a suitable combination thereof.
[0119] The terms "first", "second", "third", "fourth", etc. (if any) in the specification of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0120] It should be understood that in the present application, "at least one (item)" means one or more, and "plurality" means two or more. "And / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" can mean: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally indicates that the objects associated before and after are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or multiple.
[0121] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the above units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0122] The units described above as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0123] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0124] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, 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, and the computer software product is stored in a storage medium, including multiple instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, referred to as ROM), random access memory (Random Access Memory, referred to as RAM), disk or optical disk and other media that can store programs.
[0125] The preferred embodiments of the present invention are described above with reference to the accompanying drawings, but the scope of the rights of the present invention is not limited thereto. Any modification, equivalent substitution and improvement made by a person skilled in the art without departing from the scope and essence of the present invention should be within the scope of the rights of the present invention.
Claims
1. A mixing algorithm testing method, characterized in that: The method comprises the following steps: Processing the audio source audio using a mixing algorithm and playing the audio source audio, and measuring the response time of the mixing algorithm to the audio source audio; Recognize the test speech by using the mixing algorithm, and measure the recognition accuracy and recognition time of the test speech by the mixing algorithm; Analyzing the audio features of the mixed audio processed by the mixing algorithm to obtain an analysis result; The test audio is processed using the mixing algorithm to obtain a processing result, and the processing result is compared with an expected result to obtain verification data of the mixing algorithm.
2. A mixing algorithm testing method according to claim 1, characterized in that: The measuring of the response time of the mixing algorithm to the audio source audio comprises the following steps: RT-Tester is used to measure the response time of the mixing algorithm to the source audio.
3. A mixing algorithm testing method according to claim 1, characterized in that: The method of using the mixing algorithm to recognize the test speech comprises the following steps: The simulated voice and / or the real user voice is input as the test voice into the mixing algorithm for recognition.
4. A mixing algorithm testing method according to claim 1, characterized in that: The step of analyzing the audio features of the mixed audio processed by the mixing algorithm to obtain the analysis result comprises the following steps: A mixed signal analysis instrument is used to analyze the audio characteristics of the mixed audio processed by the mixing algorithm to obtain an analysis result.
5. A mixing algorithm testing method according to claim 1, characterized in that: The method of using the mixing algorithm to process the test audio to obtain a processing result includes the following steps: The mixing algorithm is executed by using a digital signal processing chip, so as to process the test audio by using the mixing algorithm to obtain a processing result.
6. A mixing algorithm testing device, characterized in that: The device comprises: A response time test unit, used to process the audio source audio using a mixing algorithm and play the audio source audio, and measure the response time of the mixing algorithm to the audio source audio; A speech recognition test unit, used to recognize a test speech using the sound mixing algorithm, and measure the recognition accuracy and recognition time of the sound mixing algorithm for the test speech; A mixing feature analysis unit, used to analyze the audio features of the mixed audio processed by the mixing algorithm to obtain an analysis result; The mixing performance testing unit is used to process the test audio using the mixing algorithm to obtain a processing result, and compare the processing result with an expected result to obtain verification data of the mixing algorithm.
7. A mixing algorithm testing device according to claim 6, characterized in that: The response time testing unit comprises: The response time test subunit is used to measure the response time of the mixing algorithm to the audio source audio using RT-Tester.
8. A mixing algorithm testing device according to claim 6, characterized in that: The speech recognition test unit comprises: The speech recognition test subunit is used to input simulated speech and / or real user speech as the test speech into the mixing algorithm for recognition.
9. A mixing algorithm testing device according to claim 6, characterized in that: The mixing feature analysis unit comprises: The mixing feature analysis subunit is used to analyze the audio features of the mixed audio processed by the mixing algorithm using a mixed signal analysis instrument to obtain an analysis result.
10. A mixing algorithm testing device according to claim 6, characterized in that: The mixing performance testing unit comprises: The mixing performance test subunit is used to execute the mixing algorithm using a digital signal processing chip, so as to process the test audio using the mixing algorithm to obtain a processing result.
11. An electronic device, characterized in that: The electronic device comprises a memory and a processor, the memory stores a computer program, and the processor implements a mixing algorithm testing method as claimed in any one of claims 1 to 5 when executing the computer program.
12. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, a mixing algorithm test according to any one of claims 1 to 5 is implemented.
Citation Information
Cited By
Sound effect quality evaluation method and device, equipment and storage medium
CN121459848A
