Audio software testing method and related equipment

By automatically identifying and correcting the delay of vocals and accompaniment in audio software, it solves the problem of vocal accompaniment misalignment caused by the delay introduced by sound effects processing in karaoke software, improving detection accuracy and user experience.

CN118585433APending Publication Date: 2024-09-03TENCENT MUSIC ENTERTAINMENT TECH (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410632490.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-21
Publication Date
2024-09-03

AI Technical Summary

Technical Problem

Existing karaoke software easily introduces delays in the sound effects processing process, causing misalignment of vocals and accompaniment in synthesized audio works, affecting the quality of audio works, and causing inaccuracies and subjective biases in human detection.

Method used

By automatically identifying the cumulative delay of the vocal and accompaniment in the audio software, calculating the expected mixing delay, and judging whether the alignment processing of the audio software is accurate based on the match between the actual delay and the expected delay, using the cropping method or the compensation method for alignment processing. Correct delays.

Benefits of technology

It realizes high-accuracy automatic detection of misalignment of sound companions in audio software, reduces the deviation of human judgment, and improves the quality and user experience of audio works.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118585433A
    Figure CN118585433A
Patent Text Reader

Abstract

The embodiment of the invention discloses an audio software testing method and related equipment, which are used for identifying a sound companion misalignment phenomenon in a song with relatively high accuracy. The method provided by the embodiment of the invention comprises the following steps: performing sound effect processing on original human voice and / or original accompaniment in a test song by to-be-detected audio software to obtain target human voice and target accompaniment; determining human voice accumulated delay of the target human voice relative to the original human voice, determining accompaniment accumulated delay of the target accompaniment relative to the original accompaniment, and determining expected mixed delay based on the accompaniment accumulated delay and the human voice accumulated delay; after the audio software performs alignment processing and mixing processing on the target human voice and the target accompaniment to obtain a mixed song, determining a first delay of the human voice in the mixed song relative to the original human voice, and determining a second delay of the accompaniment in the mixed song relative to the original accompaniment; and according to whether the first delay and / or the second delay are / is equal to the expected mixed delay, determining whether the alignment processing of the audio software on the test song is accurate.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of audio, and in particular to a testing method for audio software and related equipment. Background Art

[0002] The songs posted by users on the Karaoke software are synthesized by the vocal audio (hereinafter referred to as vocal) recorded by the user and the song accompaniment audio (hereinafter referred to as accompaniment). In order to obtain better audio works, before synthesizing the audio works, users can use the sound effects provided in the Karaoke software to process the vocals and / or accompaniment to a certain extent. One of the factors to measure the quality of the synthesized song is the alignment of the vocals and accompaniment, that is, the correspondence between the beats of the vocals and the accompaniment. However, it is very easy to introduce delays when performing sound effects processing. The so-called delay is simply understood as a deviation to the right on the time axis. If a delay is introduced by sound effects processing on the vocals, the final listening experience is that the vocals have become slower; conversely, if a delay is introduced by sound effects processing on the accompaniment, the listening experience is that the vocals are faster and are not on the beat, resulting in a significant reduction in the quality of the final synthesized audio work.

[0003] In actual application, the karaoke software processes the original vocals and the original accompaniment according to each sound effect selected by the user, and obtains the processed vocals and the processed accompaniment. The alignment processing method used by the karaoke software to remove the delay introduced by the sound effect processing is that in the process of synthesizing the processed vocals and the processed accompaniment, according to the preset delay of each of the aforementioned sound effects, the relative delay between the processed vocals and the processed accompaniment is calculated, and the processed accompaniment or the processed vocals is delayed according to the relative delay, and then mixed to obtain a mixed song with sound effects. For example, if the delay of the processed vocals relative to the processed accompaniment is 50 milliseconds, then 50 milliseconds are cut at the beginning of the processed vocals and then merged with the processed accompaniment to obtain a mixed song. Alternatively, 50 milliseconds of silent data are added to the beginning of the processed accompaniment and mixed with the processed vocals to obtain a mixed song.

[0004] However, the software code of the karaoke software is manually written, and improper alignment processing may cause the mixed songs to have misaligned sound accompaniments. Therefore, a detection method is needed to detect the alignment processing of the audio software. Summary of the invention

[0005] The embodiments of the present application provide a testing method for audio software and related equipment for automatically identifying the phenomenon of misalignment of vocal accompaniments in songs with a higher accuracy and higher credibility.

[0006] A first aspect of an embodiment of the present application provides a method for testing audio software, comprising:

[0007] After the audio software to be tested performs sound effect processing on the original vocals and / or the original accompaniment in the test song, a target vocal and a target accompaniment are obtained, wherein the target vocal includes the original vocal or the vocal after the sound effect processing is performed on the original vocal, and the target accompaniment includes the original accompaniment or the accompaniment after the sound effect processing is performed on the original accompaniment;

[0008] Determining a cumulative vocal delay of the target vocal relative to the original vocal, and determining a cumulative accompaniment delay of the target accompaniment relative to the original accompaniment, and determining an expected mixed delay based on the cumulative accompaniment delay and the cumulative vocal delay;

[0009] After the audio software performs alignment processing and mixing processing on the target vocals and the target accompaniment to obtain a mixed song, determining a first delay of the vocals in the mixed song relative to the original vocals, and determining a second delay of the accompaniment in the mixed song relative to the original accompaniment;

[0010] Based on whether the first delay and / or the second delay is equal to the expected mixed delay, it is determined whether the alignment processing of the test song by the audio software is accurate.

[0011] In a specific implementation, the sound effect processing corresponds to a plurality of preset vocal effects, and the audio software sequentially uses each of the preset vocal effects to process the original vocal to obtain the target vocal, wherein the original vocal processed by the first preset vocal effect serves as the original vocal to be processed by the second preset vocal effect;

[0012] The step of determining the cumulative delay of the target human voice relative to the original human voice comprises:

[0013] For each of the preset vocal effects, determining the delay between the original vocal to be processed by the preset vocal effect and the original vocal processed by the preset vocal effect as the actual delay of the preset vocal effect;

[0014] The sum of the actual delays of each of the preset human voice effects is determined as the human voice cumulative delay.

[0015] In a specific implementation, the sound effect processing corresponds to a plurality of preset accompaniment sound effects, and the audio software sequentially uses each of the preset accompaniment sound effects to process the original accompaniment to obtain the target accompaniment, wherein the original accompaniment processed by the first preset accompaniment sound effect serves as the original accompaniment to be processed by the second preset accompaniment sound effect;

[0016] The determining of the cumulative accompaniment delay of the target accompaniment relative to the original accompaniment comprises:

[0017] For each of the preset accompaniment sound effects, determining the delay between the original accompaniment to be processed by the preset accompaniment sound effect and the original human voice after being processed by the preset accompaniment sound effect as the actual delay of the preset accompaniment sound effect;

[0018] The sum of the actual delays of the preset accompaniment sound effects is determined as the accompaniment cumulative delay.

[0019] In a specific implementation, the audio software delays the target vocal, mixes the target accompaniment and the delayed target vocal to obtain the mixed song,

[0020] The step of determining a first delay of the vocals in the mixed song relative to the original vocals, and determining a second delay of the accompaniment in the mixed song relative to the original accompaniment, comprises:

[0021] The delay of the target vocal after the delay processing relative to the original vocal is determined as a first delay, and the delay of the target accompaniment relative to the original accompaniment is determined as a second delay.

[0022] In a specific implementation, the audio software delays the target accompaniment, and mixes the target vocal and the delayed target accompaniment to obtain the mixed song;

[0023] The step of determining a first delay of the vocals in the mixed song relative to the original vocals, and determining a second delay of the accompaniment in the mixed song relative to the original accompaniment, comprises:

[0024] The delay of the target vocal relative to the original vocal is determined as a first delay, and the delay of the delayed target accompaniment relative to the original accompaniment is determined as a second delay.

[0025] In a specific implementation, the determining the expected mixed delay based on the accompaniment cumulative delay and the vocal cumulative delay includes:

[0026] If the alignment process is an alignment process using a compensation method, the expected mixed delay is equal to the maximum value of the accompaniment cumulative delay and the vocal cumulative delay;

[0027] If the alignment process is an alignment process using a clipping method, the expected mixed delay is equal to the absolute value of the difference between the accompaniment cumulative delay and the vocal cumulative delay.

[0028] In a specific implementation, before obtaining the target vocals and the target accompaniment, the method further includes:

[0029] Acquire at least one preset vocal effect and / or at least one preset accompaniment sound effect corresponding to the audio software, and construct at least one sound effect combination based on the at least one preset vocal effect and / or the at least one preset accompaniment sound effect;

[0030] The audio software is triggered to select a target sound effect combination from the at least one sound effect combination to perform sound effect processing on the original vocals and / or original accompaniment in the test song.

[0031] A third aspect of an embodiment of the present application provides a computer device, including:

[0032] CPU, memory and input / output interface;

[0033] The memory is a short-term storage memory or a persistent storage memory;

[0034] The central processing unit is configured to communicate with the memory and execute instructions in the memory to perform the method described in the first aspect.

[0035] A fourth aspect of the embodiments of the present application provides a computer program product comprising instructions, and when the computer program product is run on a computer, the computer is caused to execute the method described in the first aspect.

[0036] A fifth aspect of an embodiment of the present application provides a computer storage medium, wherein the computer storage medium stores instructions, and when the instructions are executed on a computer, the computer executes the method described in the first aspect.

[0037] As can be seen from the above technical solutions, the embodiment of the present application has the following advantages: generally, the original vocals and the original accompaniment are aligned, and the vocals and accompaniment in the mixed song are also required to be aligned with the sound accompaniment. Based on the above content, the vocal cumulative delay is obtained by the target vocals and the original vocals, and the accompaniment cumulative delay is obtained based on the target accompaniment and the original accompaniment, and further based on the accompaniment cumulative delay and the vocal cumulative delay, it is determined that if the vocals and the accompaniment in the mixed song are aligned, the expected mixed delay of the vocals in the mixed song relative to the original vocals and the accompaniment in the mixed song relative to the original accompaniment. In this way, it is possible to determine whether the beat of the vocals in the mixed song and the beat of the accompaniment in the mixed song are aligned according to whether the first delay and / or the second delay are equal to the expected mixed delay, that is, whether the alignment processing of the test song by the audio software is accurate. Compared with the phenomenon of artificially judging whether there is a misalignment of the sound accompaniment in the mixed song, the present application can automatically identify all the mixed songs with the misalignment phenomenon of the sound accompaniment, with higher accuracy and credibility. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] Figure 1A flowchart of a method for testing audio software disclosed in an embodiment of the present application;

[0039] Figure 2 Another flowchart of the method for testing audio software disclosed in the embodiment of the present application;

[0040] Figure 3 A schematic diagram of the structure of a computer device disclosed in an embodiment of the present application. DETAILED DESCRIPTION

[0041] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0042] The entire software code of the Karaoke software includes the software code for aligning the target vocals and target accompaniment after the sound effect processing in the Karaoke software. However, since the software code of the Karaoke software is manually written, there may be errors in the part of the software code for alignment processing, which directly makes the alignment processing inaccurate, and then causes the phenomenon of misalignment of the sound accompaniment in the mixed song. Among them, the reason for the inaccurate alignment processing may be that the calculated relative delay is inaccurate, or the alignment processing logic is wrong. For example, according to the compensation method, silent data should be added before the target vocal (compensation method), but due to the logic error, silent data is finally added before the target accompaniment (cropping method), resulting in the target accompaniment and target vocal after the alignment processing are still not aligned. It is understandable that inaccurate alignment processing may also be other cases besides the above two cases, which will not be repeated here.

[0043] In order to avoid the above problems, testers usually test the alignment of audio software before releasing it. However, different people have different perception ranges of their ears, which leads to different sensitivities to the phenomenon of misaligned sound accompaniment. For example, the average person can perceive a deviation of more than 30 milliseconds, while some people with sensitive ears can perceive a deviation of less than 20 milliseconds. Therefore, it is inaccurate for testers to manually determine whether there is a misaligned sound accompaniment in a mixed song.

[0044] In order to solve the above technical problems, the embodiments of the present application provide a testing method for audio software and related equipment for automatically identifying the phenomenon of misalignment of vocal accompaniment in songs with higher accuracy and higher credibility.

[0045] The present application embodiment provides a method for testing audio software, which is used to detect whether the alignment processing of the audio software on the test song is accurate. Figure 1 For example, the audio software is called to perform sound effect processing, alignment processing and mixing processing on the original vocals and original accompaniment contained in the test song. Then, the vocals and accompaniment after each processing are obtained, and the original vocals and original accompaniment are combined to obtain the cumulative delay of the vocals, the cumulative delay of the accompaniment, the first delay and the second delay. Then, based on the cumulative delay of the vocals and the cumulative delay of the accompaniment, the delays of the vocals and accompaniment in the mixed song relative to the original vocals and the original accompaniment are calculated as the expected mixed delay. Finally, according to whether the first delay and / or the second delay are equal to the expected mixed delay, it is determined whether the alignment processing of the test song by the audio software is accurate. Automatically detect the delays in the entire link of sound effect processing, alignment processing and mixing processing, and intervene and process in time after determining that the alignment processing is inaccurate, so as to reduce the phenomenon of non-alignment of the sound accompaniment encountered by users. At the same time, the automatic detection scheme can avoid the deviation of subjective perception of different people, and can effectively improve the recognition efficiency while greatly reducing the input of manpower.

[0046] See also Figure 2 The present application provides a method for testing audio software, comprising the following steps:

[0047] 201. After the audio software to be tested performs sound effect processing on the original vocals and / or original accompaniment in the test song, a target vocal and a target accompaniment are obtained, wherein the target vocal includes the original vocal or the vocal after the original vocal is processed with sound effects, and the target accompaniment includes the original accompaniment or the accompaniment after the original accompaniment is processed with sound effects.

[0048] In the embodiment of the present application, the results of the audio processing, alignment processing and mixing processing of the audio software are called to test whether there is a phenomenon of misalignment of the sound accompaniment after the audio software performs sound effect processing corresponding to any preset sound effect on the song.

[0049] Specifically, the user may require that the sound effect processing be performed only on the original vocals, or only on the original accompaniment, or on both the original vocals and the original sound effect. The embodiment of the present application is to simulate the sound effect processing selected by the user, that is, the simulation includes but is not limited to the above three situations. Therefore, in this step, after the audio software to be tested performs sound effect processing on the original vocals and / or the original accompaniment in the test song, the target vocals and the target accompaniment are obtained.

[0050] Among them, if the original human voice needs to be processed with sound effects, the target human voice is the human voice after the original human voice is processed with sound effects; if the original accompaniment needs to be processed with sound effects, the target accompaniment is the accompaniment after the original accompaniment is processed with sound effects.

[0051] 202. Determine a cumulative vocal delay of a target vocal relative to an original vocal, determine a cumulative accompaniment delay of a target accompaniment relative to an original accompaniment, and determine an expected mixed delay based on the cumulative accompaniment delay and the cumulative vocal delay.

[0052] According to the foregoing, it can be known that in the process of audio software performing sound effect processing, alignment processing and mixed processing, only sound effect processing and alignment processing will produce delay, that is, the vocals and / or accompaniment output by sound effect processing and alignment processing are delayed relative to the vocals and / or accompaniment input by sound effect processing and alignment processing. Therefore, the embodiment of the present application can be known by the cumulative delay of vocals and the cumulative delay of accompaniment, the delay produced by vocals and accompaniment in the sound effect processing process. Meanwhile, the embodiment of the present application also knows that the process of audio software performing alignment processing is to carry out cutting processing (cutting method) to vocals or accompaniment, or to carry out delay processing (compensation method) to vocals or accompaniment. In this way, the embodiment of the present application can calculate the delay of vocals after alignment processing relative to the original vocals according to the cumulative delay of accompaniment and the cumulative delay of vocals, or the delay of the accompaniment after alignment processing relative to the original accompaniment, i.e. the expected mixed delay. It should be noted that, since the original vocals and the original accompaniment are aligned, if the aligned vocals and the accompaniment are also aligned, the delay of the aligned vocals relative to the original vocals should be equal to the delay of the aligned accompaniment relative to the original accompaniment.

[0053] In particular, if the target vocal is the original vocal, the cumulative delay of the vocal is zero; if the target accompaniment is the original accompaniment, the cumulative delay of the accompaniment is zero.

[0054] 203. After the audio software performs alignment processing and mixing processing on the target vocals and the target accompaniment to obtain a mixed song, a first delay of the vocals in the mixed song relative to the original vocals is determined, and a second delay of the accompaniment in the mixed song relative to the original accompaniment is determined.

[0055] It is understandable that for the user, what can be heard is the mixed song directly output by the audio software, and the vocals and accompaniment after the audio software performs the alignment process will not be obtained (which is useless to the user). In addition, since there will be no delay in the mixing process, there is no delay between the vocals after the alignment process and the vocals in the mixed song, and there is no delay between the accompaniment after the alignment process and the accompaniment in the mixed song.

[0056] In this way, the first delay of the vocals in the mixed song relative to the original vocals can be used as the delay of the vocals relative to the original vocals after the audio software performs sound effect processing and alignment processing; the second delay of the accompaniment in the mixed song relative to the original accompaniment can be used as the delay of the accompaniment relative to the original accompaniment after the audio software performs sound effect processing and alignment processing.

[0057] 204. Determine whether the alignment processing of the test song by the audio software is accurate based on whether the first delay and / or the second delay is equal to the expected mixing delay.

[0058] Step 202 obtains the expected mixed delay, that is, the delay of the human voice after the audio software accurately performs the alignment processing relative to the original human voice, or the delay of the accompaniment after the alignment processing relative to the original accompaniment; and step 203 obtains the first delay of the human voice after the audio software performs the sound effect processing and the alignment processing relative to the original human voice, and the second delay of the accompaniment after the audio software performs the sound effect processing and the alignment processing relative to the original accompaniment.

[0059] According to the above content, if the alignment process is accurate, the first delay and the second delay should be equal to the expected mixed delay calculated accurately. In this way, if either the first delay or the second delay is not equal to the expected mixed delay, it means that the alignment process is inaccurate.

[0060] In addition, since the original vocals and the original accompaniment are aligned, if the alignment process is accurate, the vocals and the accompaniment after the alignment process are also aligned, so the first delay should be equal to the second delay. In other words, when the first delay is not equal to the second delay, it is possible to determine that the alignment process is inaccurate without relying on the expected mixed delay.

[0061] In the present application embodiment, generally, original vocals and original accompaniment are aligned, and require that vocals and accompaniment in mixed songs are also aligned with sound accompaniment.Based on the foregoing, vocal cumulative delay is obtained by target vocals and original vocals, and accompaniment cumulative delay is obtained based on target accompaniment and original accompaniment, and further based on accompaniment cumulative delay and vocal cumulative delay, determine that if vocals and accompaniment are aligned in mixed songs, then the expected mixed delay of vocals in mixed songs relative to original vocals and accompaniment in mixed songs relative to original accompaniment.In this way, it is possible to determine whether the beat of vocals in mixed songs and the beat of accompaniment in mixed songs are aligned according to whether the first delay and / or the second delay are equal to the expected mixed delay, i.e. whether the alignment of test songs by audio software is accurate.Compared to artificially judging whether there is a phenomenon of misalignment of sound accompaniment in mixed songs, the present application can automatically identify all mixed songs with misalignment of sound accompaniment, with higher accuracy and credibility.

[0062] It is understandable that there are a variety of preset sound effects in the audio software, including preset vocal effects for processing vocals and preset accompaniment sound effects for processing accompaniment. Specifically, if a preset sound effect can be used to process both vocals and accompaniment, it is both a preset vocal effect and a preset accompaniment sound effect. It should be noted that if the sound effect processing corresponds to only one preset sound effect, the original vocal and / or original accompaniment only needs to be processed once; if the sound effect processing corresponds to multiple preset sound effects, the audio software uses each preset sound effect in turn to process the original vocal and / or accompaniment to obtain the target vocal and target accompaniment (see Figure 1 ). Taking the processing of the original human voice as an example, the original human voice processed by the previous preset human voice effect is used as the original human voice to be processed by the next preset human voice effect.

[0063] In some specific methods, the calculation of the cumulative delay of human voice can refer to the following steps: for each preset human voice effect, the delay between the original human voice to be processed by the preset human voice effect and the original human voice after being processed by the preset human voice effect is determined as the actual delay of the preset human voice effect; the sum of the actual delays of each preset human voice effect is determined as the cumulative delay of human voice.

[0064] Specifically, the audio fingerprint technology can be used to process the delay between the original human voice to be processed by the preset human voice effect and the original human voice after the preset human voice effect processing. It should be noted that since the delay caused by using different preset human voice effects for sound effect processing is fixed and is not affected by the order of sound effect processing, the order in which multiple preset human voice effects are processed in turn can be the selected order or any order, which is not limited here.

[0065] Similarly, the calculation of the cumulative delay of the accompaniment can refer to the following steps: for each preset accompaniment sound effect, the delay between the original accompaniment to be processed by the preset accompaniment sound effect and the original human voice after being processed by the preset accompaniment sound effect is determined as the actual delay of the preset accompaniment sound effect; the sum of the actual delays of each preset accompaniment sound effect is determined as the cumulative delay of the accompaniment.

[0066] Specifically, the audio fingerprint technology can be used to process the delay between the original accompaniment to be processed by the preset accompaniment sound effect and the original accompaniment after the preset accompaniment sound effect is processed. It should be noted that since the delay caused by using different preset accompaniment sound effects for sound effect processing is fixed and is not affected by the order of sound effect processing, the order in which multiple preset accompaniment sound effects are processed in turn can be a selected order or an arbitrary order, which is not limited here.

[0067] According to the foregoing content, the embodiments of the present application can adopt the cropping method or the compensation method for alignment processing. In some specific implementation methods, if the compensation method is used for processing, the audio software needs to obtain the relative delay between the two after the foregoing sound effect processing based on the human voice and the accompaniment, and compensate the silence data with a relative delay in front of the target audio (target human voice or target accompaniment) with a smaller delay relative to the original audio (original human voice or original accompaniment).

[0068] Specifically, if the delay of the target vocal relative to the original vocal is smaller, the target vocal is delayed (silent data of a certain length is added before the target vocal), and the target accompaniment and the delayed target vocal are mixed to obtain a mixed song, and the delay of the delayed target vocal relative to the original vocal is determined as the first delay, and the delay of the target accompaniment relative to the original accompaniment is determined as the second delay. If the delay of the target accompaniment relative to the original accompaniment is smaller, the target accompaniment is delayed, and the target vocal and the delayed target accompaniment are mixed to obtain a mixed song; the delay of the target vocal relative to the original vocal is determined as the first delay, and the delay of the delayed target accompaniment relative to the original accompaniment is determined as the second delay.

[0069] By the same token, if the trimming method is used for alignment, the audio software needs to obtain the relative delay between the vocals and accompaniment after the aforementioned sound effects processing, and delete the silent data with a relatively delayed duration at the front of the target audio (target vocal or target accompaniment) that has a greater delay than the original audio (original vocal or original accompaniment).

[0070] It should be noted that the relative delay can be pre-configured according to the preset sound effect corresponding to the sound effect processing, or calculated according to the preset delay corresponding to each preset sound effect corresponding to the sound effect processing, and no specific limitation is made here.

[0071] Further, according to the above-mentioned embodiments of the cropping method and the compensation method, it can be known that the expected mixed delay between the vocals and the accompaniment obtained after accurate alignment processing relative to the original vocals and the original accompaniment will also be calculated in different ways. Specifically, if the alignment processing is an alignment processing using the compensation method, the expected mixed delay is equal to the maximum value of the accompaniment cumulative delay and the vocal cumulative delay; if the alignment processing is an alignment processing using the cropping method, the expected mixed delay is equal to the absolute value of the difference between the accompaniment cumulative delay and the vocal cumulative delay.

[0072] In actual applications, before obtaining the target vocals and target accompaniment, the method of the embodiment of the present application also includes: obtaining at least one preset vocal effect and / or at least one preset accompaniment sound effect corresponding to the audio software, and constructing at least one sound effect combination based on the at least one preset vocal effect and / or at least one preset accompaniment sound effect; triggering the audio software to select the target sound effect combination in at least one sound effect combination to perform sound effect processing on the original vocals and / or original accompaniment in the test song.

[0073] Specifically, the step of triggering the audio software to select a target sound effect combination from at least one sound effect combination to perform sound effect processing on the original vocals and / or original accompaniment in the test song, and then obtaining a test result of whether the alignment processing performed by the audio software on the test song after the aforementioned sound effect processing is accurate, can be after the developer iterates the software code of the audio software or develops the software code of the new audio software, and before providing the user with the audio software based on the iterated software code or the audio software based on the newly developed software code, the above test is performed to ensure that the user can accurately obtain a mixed song with aligned sound accompaniment after using the sound effect processing, effectively improving the user experience. Among them, the constructed sound effect combination can be all possible combinations of each preset vocal effect and each preset accompaniment sound effect corresponding to the audio software, and each constructed sound effect combination is determined as the target sound effect combination in turn and tested based on the test song.

[0074] Furthermore, if it is determined that the audio software's alignment processing of the test song is inaccurate, a test report including the cumulative delay of the vocals, the cumulative delay of the accompaniment, the first delay and the second delay can be generated for the developer to conduct attribution analysis and modify the relevant code for alignment processing in the software code of the audio software.

[0075] Figure 3 It is a schematic diagram of a computer device structure provided in an embodiment of the present application. The computer device 300 may include one or more central processing units (CPU) 301 and a memory 305. The memory 305 stores one or more application programs or data.

[0076] The memory 305 may be a volatile storage or a persistent storage. The program stored in the memory 305 may include one or more modules, each of which may include a series of instruction operations in the computer device. Furthermore, the central processor 301 may be configured to communicate with the memory 305 and execute a series of instruction operations in the memory 305 on the computer device 300.

[0077] The computer device 300 may also include one or more power supplies 302, one or more wired or wireless network interfaces 303, one or more input and output interfaces 304, and / or one or more operating systems, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, etc.

[0078] The CPU 301 can execute the aforementioned Figure 1 to Figure 2 The operations performed by the computer device in the illustrated embodiment will not be described in detail here.

[0079] It should be noted that, although the steps in the flowcharts involved in the embodiments are drawn in sequence according to the instructions of the arrows, unless otherwise clearly stated in this document, there is no strict order restriction on the execution of these steps, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the embodiments may include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0080] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0081] In the several embodiments provided in the present application, it should be understood that the disclosed systems, 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 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 an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.

[0082] The units described 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.

[0083] 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.

[0084] 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 is essentially 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 a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, read-only memory), random access memory (RAM, random access memory), disk or optical disk and other media that can store program code.

[0085] An embodiment of the present application also provides a computer program product comprising instructions, which, when executed on a computer, enables the computer to execute the above-mentioned audio software testing method.

Claims

1. A method for testing audio software, characterized in that: include: After the audio software to be tested performs sound effect processing on the original vocals and / or the original accompaniment in the test song, a target vocal and a target accompaniment are obtained, wherein the target vocal includes the original vocal or the vocal after the sound effect processing is performed on the original vocal, and the target accompaniment includes the original accompaniment or the accompaniment after the sound effect processing is performed on the original accompaniment; Determining a cumulative vocal delay of the target vocal relative to the original vocal, and determining a cumulative accompaniment delay of the target accompaniment relative to the original accompaniment, and determining an expected mixed delay based on the cumulative accompaniment delay and the cumulative vocal delay; After the audio software performs alignment processing and mixing processing on the target vocals and the target accompaniment to obtain a mixed song, determining a first delay of the vocals in the mixed song relative to the original vocals, and determining a second delay of the accompaniment in the mixed song relative to the original accompaniment; Based on whether the first delay and / or the second delay is equal to the expected mixed delay, it is determined whether the alignment processing of the test song by the audio software is accurate.

2. The method for testing audio software according to claim 1, characterized in that: The sound effect processing corresponds to a plurality of preset vocal effects, and the audio software sequentially uses each of the preset vocal effects to process the original vocal to obtain the target vocal, wherein the original vocal processed by the first preset vocal effect serves as the original vocal to be processed by the second preset vocal effect; The step of determining the cumulative delay of the target human voice relative to the original human voice comprises: For each of the preset vocal effects, determining the delay between the original vocal to be processed by the preset vocal effect and the original vocal processed by the preset vocal effect as the actual delay of the preset vocal effect; The sum of the actual delays of each of the preset human voice effects is determined as the human voice cumulative delay.

3. The method for testing audio software according to claim 1, characterized in that: The sound effect processing corresponds to a plurality of preset accompaniment sound effects, and the audio software sequentially uses each of the preset accompaniment sound effects to process the original accompaniment to obtain the target accompaniment, wherein the original accompaniment processed by the first preset accompaniment sound effect serves as the original accompaniment to be processed by the second preset accompaniment sound effect; The determining of the cumulative accompaniment delay of the target accompaniment relative to the original accompaniment comprises: For each of the preset accompaniment sound effects, determining the delay between the original accompaniment to be processed by the preset accompaniment sound effect and the original human voice after being processed by the preset accompaniment sound effect as the actual delay of the preset accompaniment sound effect; The sum of the actual delays of the preset accompaniment sound effects is determined as the accompaniment cumulative delay.

4. The method for testing audio software according to claim 1, characterized in that: The audio software delays the target vocals, and mixes the target accompaniment and the delayed target vocals to obtain the mixed song. The step of determining a first delay of the vocals in the mixed song relative to the original vocals, and determining a second delay of the accompaniment in the mixed song relative to the original accompaniment, comprises: The delay of the target vocal after the delay processing relative to the original vocal is determined as a first delay, and the delay of the target accompaniment relative to the original accompaniment is determined as a second delay.

5. The method for testing audio software according to claim 1, characterized in that: The audio software performs delay processing on the target accompaniment, and mixes the target vocal and the delayed target accompaniment to obtain the mixed song; The step of determining a first delay of the vocals in the mixed song relative to the original vocals, and determining a second delay of the accompaniment in the mixed song relative to the original accompaniment, comprises: The delay of the target vocal relative to the original vocal is determined as a first delay, and the delay of the delayed target accompaniment relative to the original accompaniment is determined as a second delay.

6. The method for testing audio software according to any one of claims 1 to 5, characterized in that: The step of determining the expected mixed delay based on the accompaniment cumulative delay and the vocal cumulative delay comprises: If the alignment process is an alignment process using a compensation method, the expected mixed delay is equal to the maximum value of the accompaniment cumulative delay and the vocal cumulative delay; If the alignment process is an alignment process using a clipping method, the expected mixed delay is equal to the absolute value of the difference between the accompaniment cumulative delay and the vocal cumulative delay.

7. The method for testing audio software according to any one of claims 1 to 5, characterized in that: Before obtaining the target vocals and the target accompaniment, the method further includes: Acquire at least one preset vocal effect and / or at least one preset accompaniment sound effect corresponding to the audio software, and construct at least one sound effect combination based on the at least one preset vocal effect and / or the at least one preset accompaniment sound effect; The audio software is triggered to select a target sound effect combination from the at least one sound effect combination to perform sound effect processing on the original vocals and / or original accompaniment in the test song.

8. A computer device, characterized in that: include: CPU, memory and input / output interface; The memory is a short-term storage memory or a persistent storage memory; The central processing unit is configured to communicate with the memory and execute instructions in the memory to perform the method according to any one of claims 1 to 7.

9. A computer program product comprising instructions, characterized in that When the computer program product is run on a computer, the computer is caused to execute the method according to any one of claims 1 to 7.

10. A computer storage medium, characterized in that: The computer storage medium stores instructions, and when the instructions are executed on a computer, the computer is caused to perform the method according to any one of claims 1 to 7.