Audio processing method, device, computer equipment and storage medium

By separating and processing the components in audio, and using the playback parameter setting interface and separation model, the flexibility and diversity of audio processing are achieved, which solves the problem of a single audio processing method in the existing technology and improves the flexibility and flexibility of audio processing. efficiency.

CN112685000BActive Publication Date: 2024-09-10GUANGZHOU KUGOU COMP TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202011603259.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-12-30
Publication Date
2024-09-10
Estimated Expiration
2040-12-30

AI Technical Summary

Technical Problem

Existing audio processing methods are relatively single in processing audio, lack flexibility, and cannot individually perform personalized processing on different components in the audio.

Method used

By separating components in the audio, such as human voices and musical instruments, use the playback parameter setting interface to set playback parameters for each component, and call the time domain and frequency domain separation models for processing, achieving independent processing and fusion of each component.

Benefits of technology

It improves the flexibility of audio processing, allows different personalized playback effects to be set for different components in the same audio, and enhances the diversity and efficiency of audio processing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112685000B
    Figure CN112685000B
Patent Text Reader

Abstract

The embodiment of the present application discloses an audio processing method, device, computer equipment and storage medium, which belongs to the field of computer technology. The method includes: displaying playback parameter setting options of multiple components separated from the target audio; in response to the triggering operation of the playback parameter setting options of at least one target component, determining the playback parameters set for at least one target component; for each target component, according to the playback parameters set for the target component, processing the first audio signal of the target component to obtain the second audio signal of the target component; fusing the second audio signal of each target component with the third audio signal of other components in the target audio except at least one target component to obtain the processed target audio, realizing the separate processing of the audio signals of the components in the audio, being able to set different personalized playback effects for different components in the same audio, and improving the flexibility of audio processing.
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 computer technology, and in particular to an audio processing method, apparatus, computer equipment, and storage medium. Background Art

[0002] With the continuous development of computer technology, audio processing software has been widely used and has become increasingly closely related to people's lives. For example, the audio processing software has the function of playing audio, and people can listen to the audio played by the audio processing software in their leisure time; for another example, the audio processing software also has the function of adding sound effects to the audio, and people can add reverberation, equalization and other sound effects to the audio.

[0003] However, the above-mentioned method of processing audio can only uniformly process the entire audio, so the audio processing method is relatively simple and the flexibility of audio processing is relatively poor. Summary of the invention

[0004] The embodiments of the present application provide an audio processing method, apparatus, computer device and storage medium, which improve the flexibility of audio processing. The technical solution is as follows:

[0005] In one aspect, a method for audio processing is provided, the method comprising:

[0006] Displaying playback parameter setting options of multiple components separated from the target audio through a playback parameter setting interface, wherein the components are vocal components or any musical instrument sound components;

[0007] In response to a triggering operation on a playback parameter setting option of at least one target component, determining a playback parameter set for the at least one target component, the target component being any component among the plurality of components;

[0008] For each target component, according to the playback parameters set for the target component, the first audio signal of the target component is processed to obtain a second audio signal of the target component;

[0009] The second audio signal of each target component is fused with the third audio signals of other components in the target audio except the at least one target component to obtain a processed target audio.

[0010] In another aspect, an audio processing method is provided, the method comprising:

[0011] Acquire a target audio, where the target audio is composed of multiple components, and the components are vocal components or any musical instrument sound components;

[0012] Acquire a time domain separation model and a frequency domain separation model, wherein the time domain separation model and the frequency domain separation model are used to acquire components of the same type from the audio;

[0013] The time domain separation model and the frequency domain separation model are called to separate the first audio signal of each component of at least one component from the fourth audio signal of the target audio.

[0014] In another aspect, an audio processing device is provided, the device comprising:

[0015] A display module, used for displaying playback parameter setting options of multiple components separated from the target audio through a playback parameter setting interface, wherein the components are vocal components or any musical instrument sound components;

[0016] a determination module, configured to determine, in response to a triggering operation on a playback parameter setting option of at least one target component, a playback parameter set for the at least one target component, the target component being any component among the plurality of components;

[0017] A processing module, configured to process, for each target component, a first audio signal of the target component according to a playback parameter set for the target component, to obtain a second audio signal of the target component;

[0018] A fusion module is used to fuse the second audio signal of each target component with the third audio signals of other components in the target audio except the at least one target component to obtain a processed target audio.

[0019] In a possible implementation, the playback parameter includes a volume parameter, and the processing module is used to adjust the amplitude of the first audio signal of each target component according to the volume parameter set for the target component to obtain the second audio signal of the target component; or

[0020] The playback parameters include sound effect parameters, and the processing module is used to perform sound effect processing on the first audio signal of each target component according to the sound effect parameters set for the target component to obtain the second audio signal of the target component; or

[0021] The playback parameters include timbre parameters, which indicate the timbre of the audio. The processing module is used to obtain, for each target component, music score information corresponding to the target component, wherein the music score information is used to represent the pitch of the target component; and generate a second audio signal of the target component according to the music score information and the timbre parameters.

[0022] In a possible implementation, the device further includes:

[0023] The acquisition module is used to acquire, from a server, a first audio signal of a plurality of components separated from the target audio.

[0024] In a possible implementation, the device further includes:

[0025] a separation module, configured to call a time domain separation model and a frequency domain separation model to separate a first audio signal of each of the multiple components from a fourth audio signal of the target audio; or

[0026] The separation module is used to determine the first real signal and the first imaginary signal of the first spectrum corresponding to the target audio; based on the first real signal and the first imaginary signal, call the frequency domain separation model to separate the second real signal and the second imaginary signal of each of the multiple components from the first real signal and the first imaginary signal of the first spectrum; based on the second real signal and the second imaginary signal of each component, determine the first audio signal of each component.

[0027] In a possible implementation, the separation module includes:

[0028] A time domain separation unit, configured to call the time domain separation model and separate the fifth audio signal of each component from the fourth audio signal of the target audio based on the time domain information of the target audio;

[0029] A frequency domain separation unit, configured to call the frequency domain separation model, and for each component, based on the frequency domain information of the component, separate the first audio signal of the component from the fifth audio signal of the component to obtain the first audio signal of each component;

[0030] The time domain separation model and the frequency domain separation model are used to obtain components of the same type from the audio.

[0031] In a possible implementation, the separation module includes:

[0032] A frequency domain separation unit, configured to call the frequency domain separation model to separate the sixth audio signal of each component from the fourth audio signal of the target audio based on the frequency domain information of the target audio;

[0033] A time domain separation unit, configured to call the time domain separation model, and for each component, based on the time domain information of the component, separate the first audio signal of the component from the sixth audio signal of the component to obtain the first audio signal of each component;

[0034] The time domain separation model and the frequency domain separation model are used to obtain components of the same type from the audio.

[0035] In a possible implementation, the separation module includes:

[0036] A frequency domain separation unit, configured to call the frequency domain separation model to separate the sixth audio signal of each component from the fourth audio signal of the target audio based on the frequency domain information of the target audio;

[0037] A time domain separation unit, configured to call the time domain separation model and separate the fifth audio signal of each component from the fourth audio signal of the target audio based on the time domain information of the target audio;

[0038] The fusion unit is used to fuse the fifth audio signal of each component with the sixth audio signal of the component to obtain the first audio signal of the component.

[0039] In a possible implementation, the device further includes:

[0040] An acquisition module, configured to acquire sample data, wherein the sample data includes a sample audio and a sample audio signal of each of a plurality of components of the sample audio;

[0041] The separation module is used to call the frequency domain separation model to separate the first predicted audio signal of each of the multiple components from the sample audio signal of the sample audio based on the frequency domain information of the sample audio;

[0042] The separation module is further used to call the time domain separation sub-model to separate the second predicted audio signal of each component from the sample audio signal of the sample audio based on the time domain information of the sample audio;

[0043] The separation module is further configured to fuse the first predicted audio signal of each component with the second predicted audio signal of the component to obtain a third predicted audio signal of the component;

[0044] A training module is used to train the frequency domain separation model and the time domain separation model according to the difference between the third predicted audio signal of each component and the corresponding sample audio signal in the sample data.

[0045] In another aspect, an audio processing device is provided, the device comprising:

[0046] An audio acquisition module, used for acquiring target audio, wherein the target audio is composed of multiple components, which are human voice components or any musical instrument sound components;

[0047] A model acquisition module, used to acquire a time domain separation model and a frequency domain separation model, wherein the time domain separation model and the frequency domain separation model are used to acquire components of the same type from audio;

[0048] The separation module is used to call the time domain separation model and the frequency domain separation model to separate the first audio signal of each component in at least one component from the fourth audio signal of the target audio.

[0049] In a possible implementation, the separation module includes:

[0050] A time domain separation unit, configured to call the time domain separation model and separate the fifth audio signal of each component from the fourth audio signal of the target audio based on the time domain information of the target audio;

[0051] The frequency domain separation unit is used to call the frequency domain separation model, and for each component, based on the frequency domain information of the component, separate the first audio signal of the component from the fifth audio signal of the component to obtain the first audio signal of each component.

[0052] In a possible implementation, the separation module includes:

[0053] A frequency domain separation unit, configured to call the frequency domain separation model to separate the sixth audio signal of each component from the fourth audio signal of the target audio based on the frequency domain information of the target audio;

[0054] The time domain separation unit is used to call the time domain separation model, and for each component, based on the time domain information of the component, separate the first audio signal of the component from the sixth audio signal of the component to obtain the first audio signal of each component.

[0055] In one possible implementation, the frequency domain separation unit is used to determine a first real signal and a first imaginary signal of a first spectrum corresponding to the target audio; call the frequency domain separation model to separate a second real signal and a second imaginary signal of each component from the first real signal and the first imaginary signal of the first spectrum; and determine a sixth audio signal of each component based on the second real signal and the second imaginary signal of each component.

[0056] In a possible implementation, the separation module includes:

[0057] A frequency domain separation unit, configured to call the frequency domain separation model to separate the sixth audio signal of each component from the fourth audio signal of the target audio based on the frequency domain information of the target audio;

[0058] A time domain separation unit, configured to call the time domain separation model and separate the fifth audio signal of each component from the fourth audio signal of the target audio based on the time domain information of the target audio;

[0059] The fusion unit is used to fuse the fifth audio signal of each component with the sixth audio signal of the component to obtain the first audio signal of the component.

[0060] In a possible implementation, the device further includes:

[0061] A sample acquisition module, used to acquire sample data, wherein the sample data includes sample audio and a sample audio signal of each component of at least one component of the sample audio;

[0062] The separation module is used to call the frequency domain separation model to separate the first predicted audio signal of each component in the at least one component from the sample audio signal of the sample audio based on the frequency domain information of the sample audio;

[0063] The separation module is used to call the time domain separation sub-model to separate the second predicted audio signal of each component from the sample audio signal of the sample audio based on the time domain information of the sample audio;

[0064] a fusion module, configured to fuse the first predicted audio signal of each component with the second predicted audio signal of the component to obtain a third predicted audio signal of the component;

[0065] A training module is used to train the frequency domain separation model and the time domain separation model according to the difference between the third predicted audio signal of each component and the corresponding sample audio signal in the sample data.

[0066] On the other hand, a computer device is provided, comprising a processor and a memory, wherein the memory stores at least one program code, and the at least one program code is loaded and executed by the processor to implement the operations performed in the audio processing method described in the above aspects.

[0067] On the other hand, a computer-readable storage medium is provided, in which at least one program code is stored. The at least one program code is loaded and executed by a processor to implement the operations performed in the audio processing method described in the above aspects.

[0068] On the other hand, a computer program is provided, wherein at least one program code is stored in the computer program, and the at least one program code is loaded and executed by a processor to implement the operations performed in the audio processing method of the above embodiment.

[0069] The audio processing method, apparatus, device and medium provided in the embodiments of the present application can set playback parameters for one or more components of the audio through a playback parameter setting interface when processing audio. For each component, the audio signal of the component is processed using the playback parameters set for the component, thereby achieving separate processing of the audio signals of the components in the audio. Therefore, the above method can set different personalized playback effects for different components in the same audio, thereby improving the flexibility of audio processing. BRIEF DESCRIPTION OF THE DRAWINGS

[0070] 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 embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0071] Figure 1 It is a structural diagram of an implementation environment provided by an embodiment of the present application.

[0072] Figure 2 It is a flowchart of an audio processing method provided in an embodiment of the present application.

[0073] Figure 3 It is a flowchart of an audio processing method provided in an embodiment of the present application.

[0074] Figure 4 It is a schematic diagram of a playback parameter setting interface provided in an embodiment of the present application.

[0075] Figure 5 It is a schematic diagram of a playback parameter setting interface provided in an embodiment of the present application.

[0076] Figure 6 It is a schematic diagram of a playback parameter setting interface provided in an embodiment of the present application.

[0077] Figure 7 It is a flowchart of an audio processing method provided in an embodiment of the present application.

[0078] Figure 8 It is a flowchart of an audio processing method provided in an embodiment of the present application.

[0079] Fig. 9It is a structural schematic diagram of an audio processing device provided in an embodiment of the present application.

[0080] Fig.10 It is a structural schematic diagram of another audio processing device provided in an embodiment of the present application.

[0081] Fig.11 It is a structural schematic diagram of an audio processing device provided in an embodiment of the present application.

[0082] Fig.12 It is a structural schematic diagram of another audio processing device provided in an embodiment of the present application.

[0083] Fig.13 It is a structural diagram of a terminal provided in an embodiment of the present application.

[0084] Fig.14 It is a structural diagram of a server provided in an embodiment of the present application. DETAILED DESCRIPTION

[0085] In order to make the objectives, technical solutions and advantages of the embodiments of the present application clearer, the implementation methods of the present application will be further described in detail below in conjunction with the accompanying drawings.

[0086] It is understood that the terms "first", "second", "third", "fourth", "fifth", "sixth", etc. used in this application can be used in this article to describe various concepts, 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, a first component can be called a second component, and a second component can be called a first component without departing from the scope of this application.

[0087] The terms "each", "plurality", "at least one", "any" and the like used in this application include one, two or more than two, and "plurality" includes two or more than two. "each" refers to each of the corresponding "plurality" and "any" refers to any one of the "plurality". For example, "plurality" includes three components, and "each" refers to each of the three components, and "any" refers to any one of the three components, which may be the first, the second or the third.

[0088] The audio processing method provided in the embodiment of the present application is applied to a computer device. In one possible implementation, the computer device is a terminal, such as a mobile phone, a tablet computer, a computer, etc. In another possible implementation, the computer device is a server, which is a server, or a server cluster composed of several servers, or a cloud computing service center. In another possible implementation, the computer device includes a terminal and a server.

[0089] Figure 1 is a schematic diagram of an implementation environment provided by an embodiment of the present application. Figure 1 , the implementation environment includes at least one terminal 101 and a server 102. The terminal 101 and the server 102 are connected via a wireless or wired network.

[0090] The target application served by the server 102 is installed on the terminal 101, and the terminal 101 can realize functions such as data transmission and message interaction through the target application. Optionally, the target application is a target application in the operating system of the terminal 101, or a target application provided by a third party. For example, the target application is an audio processing application, which has the function of playing audio. Of course, the audio processing application can also have other functions, such as recording function, live broadcast function, sharing function, sound effect adjustment function, etc. Optionally, the server 102 is the background server of the target application or a cloud server that provides cloud computing and cloud storage services.

[0091] Optionally, terminal 101 sends playback parameters set for at least one target component in the audio to the server, and server 102 performs personalized processing on the audio signal of at least one target component in the audio based on the received playback parameters to obtain processed audio, and sends the processed audio to terminal 101, which plays the processed audio.

[0092] Optionally, the terminal 101 obtains audio signals of multiple components of the audio from the server, performs personalized processing on the audio signal of at least one target component among the multiple components, and obtains processed audio. Optionally, the terminal 101 obtains audio from the server, separates audio signals of multiple components from the audio, performs personalized processing on the audio signal of at least one target component among the multiple components, and obtains processed audio. It should be noted that, in one possible implementation, after the terminal 101 obtains the processed audio, it plays the processed audio.

[0093] The audio is usually composed of human voice and musical instrument sounds, and the components in the audio refer to the human voice components, musical instrument sound components, etc. that make up the audio.

[0094] The audio processing method provided in the embodiment of the present application can be applied to the following audio processing scenarios:

[0095] For example, it is used in audio playback scenarios.

[0096] During the audio playback process, using the audio processing method provided in the embodiment of the present application, the user can personalize the components in the audio in the terminal interface, for example, increasing the volume of the human voice, adding sound effects to the bass sound in the accompaniment, replacing the drum sound in the accompaniment with African drum sound, etc.

[0097] For example, it is applied in song recording scenarios.

[0098] When a user records a song, the terminal plays the original song, allowing the user to sing according to the original song being played. The terminal records the user's singing voice and synthesizes the user's singing voice with the original song into a new audio. The audio processing method provided in the embodiment of the present application can change the volume of the human voice in the original song. By reducing the volume of the human voice in the original song, the human voice in the original song is mixed with the user's singing voice, thereby achieving the effect of using the human voice in the original song as harmony.

[0099] It should be noted that the embodiments of the present application only take the audio playback scenario and the song recording scenario as examples to exemplify the audio processing scenario, and do not impose any limitations on the audio processing scenario. The audio processing method provided in the embodiments of the present application can also be applied to any other audio processing scenario.

[0100] Figure 2 1 is a flowchart of an audio processing method provided by an embodiment of the present application. The execution subject of the embodiment of the present application is a computer device. Figure 2 , the method comprising:

[0101] 201. Displaying playback parameter setting options of multiple components separated from the target audio through a playback parameter setting interface, where the component is a vocal component or any instrument sound component.

[0102] The playback parameter setting interface is an interface for setting the playback effect of the audio, and the playback parameter setting interface includes at least one playback parameter setting option for the user to adjust the playback parameters of the audio, thereby changing the playback effect of the audio. The target audio is any audio in the computer device, for example, any song.

[0103] Audio is usually composed of human voice and musical instrument sound, and the components in the audio refer to the human voice component, the musical instrument sound component, etc. that constitute the audio. For example, the components included in the audio are human voice component and accompaniment component, wherein the accompaniment component refers to the remaining multiple musical instrument sound components except the human voice component in the audio. For another example, the components included in the audio include human voice component, drum sound component, bass sound component, and remaining accompaniment component, wherein the remaining accompaniment component refers to the other components in the audio except the human voice component, drum sound component and bass sound component.

[0104] 202. In response to a triggering operation on a playback parameter setting option of at least one target component, determine a playback parameter set for at least one target component.

[0105] The target component is any one of the multiple components of the target audio. The playback parameter is a parameter used to control the audio playback effect, such as a volume parameter, a sound effect parameter, a timbre parameter, etc. The playback parameter of the target component is the parameter used to control the playback effect of the target component. It should be noted that in the embodiment of the present application, the playback parameter of the target component is only used to control the playback effect of the target component, and will not control the playback effects of other components.

[0106] 203. For each target component, process the first audio signal of the target component according to the playback parameters set for the target component to obtain a second audio signal of the target component.

[0107] Among them, after the first audio signal of the target component is processed according to the playback parameters set for the target component, the playback effect of the target component is changed, thereby achieving the change of the playback effect of the target component by setting the playback parameters of the target component.

[0108] 204. Merge the second audio signal of each target component with the third audio signals of other components in the target audio except for the at least one target component to obtain processed target audio.

[0109] Among them, the components in the processed target audio are the same as the components in the target audio, but the audio signal of the target component in the processed target audio is not the same as the audio signal of the target component in the target audio, and the target component in the processed target audio has a playback effect corresponding to the playback parameters set in step 202.

[0110] The audio processing method provided in the embodiment of the present application, when processing audio, can set playback parameters for one or more components of the audio through a playback parameter setting interface. For each component, the audio signal of the component is processed using the playback parameters set for the component, thereby achieving separate processing of the audio signals of the components in the audio. Therefore, through the above method, different personalized playback effects can be set for different components in the same audio, thereby improving the flexibility of audio processing.

[0111] Figure 3 This is a flowchart of an audio processing method provided in an embodiment of the present application. In the embodiment of the present application, only the execution subject is taken as an example for exemplary description, see Figure 3 , the method comprising:

[0112] 301. A terminal obtains, from a server, a first audio signal of a plurality of components separated from a target audio.

[0113] The terminal is installed with a target application, and the server is a server that provides services for the target application. The target application is an audio processing application, and the terminal can obtain audio from the server, process the audio, or play it.

[0114] In the embodiment of the present application, the server stores multiple audios and the first audio signals of multiple components separated from each audio, or the server only stores the first audio signals of multiple components separated from each audio. Therefore, the terminal can directly obtain the first audio signals of multiple components of the target audio from the server without separating the target audio.

[0115] In one possible implementation, a terminal obtains a first audio signal of multiple components separated from a target audio from a server, including: the terminal sends an audio acquisition request to the server, the audio acquisition request carrying an audio identifier of the target audio; the server receives the audio acquisition request, and based on the audio identifier of the target audio, sends the first audio signal of multiple components separated from the target audio to the terminal, or sends the target audio and the first audio signal of multiple components separated from the target audio to the terminal.

[0116] Among them, the audio identifier can be the name of the audio, the author of the audio, the serial number of the audio, etc. The embodiment of the present application does not limit the audio identifier.

[0117] For example, when a user plays song A through a song playing application of a terminal, the terminal sends a song acquisition request to the server, and the song acquisition request carries the song name of song A. The server obtains the vocal component and each instrumental component of song A according to the song name of song A, and sends the vocal component and each instrumental component to the terminal. If song A is composed of vocals, piano, drums and bass, then each instrumental component refers to piano, drums and bass.

[0118] It should be noted that the embodiment of the present application only takes the first audio signal having multiple components separated from the audio stored in the server as an example to exemplify the process of the terminal acquiring the first audio signal having multiple components separated from the target audio. In another embodiment, the server only stores multiple audios. After the terminal acquires the audio from the server, it performs separation processing on the acquired audio and separates the first audio signal having multiple components from the acquired audio. The process of separating the first audio signal having multiple components from the audio can be referred to in Figure 7 and Figure 8 The embodiments shown will not be described in detail here.

[0119] 302. The terminal displays playback parameter setting options of the multiple components separated from the target audio through a playback parameter setting interface.

[0120] The playback parameter setting interface is an interface for setting the playback effect of the audio, and the playback parameter setting interface includes at least one playback parameter setting option. Optionally, the playback parameter setting option includes at least one of a volume setting option, a sound effect setting option, or a timbre setting option.

[0121] Optionally, a playback parameter setting option corresponding to each component is displayed in the playback parameter setting interface, for example, Figure 3 As shown, the playback parameter setting interface includes volume setting options for vocal components, drum sound components, bass sound components, and other accompaniment components. The volume of multiple components in the target audio can be adjusted through the playback parameter setting interface.

[0122] Optionally, the playback parameter setting interface displays multiple playback parameter setting options corresponding to each component. Figure 4 As shown, the playback parameter setting interface displays the volume setting options and sound effect setting options of the vocal component, the volume setting options and sound effect setting options of the drum component, the volume setting options and sound effect setting options of the bass component, and the volume setting options and sound effect setting options of other accompaniments. Among them, the sound effect setting option is one or more options. For example, the sound effect setting option includes a reverberation option, a soothing option, a rock option, etc.; or, the sound effect setting option is used to trigger the display of the sound effect setting interface, and the sound effect setting interface includes multiple sound effect options such as a reverberation option, a soothing option, and a rock option.

[0123] Optionally, one or more playback parameter setting options corresponding to a component are displayed in the playback parameter setting interface, that is, the playback parameter setting interface can only display playback parameter setting options for one component at a time. In a possible implementation, the playback parameter setting interface includes a component selection option, which is used to indicate which component's playback parameter setting options are displayed, or to indicate which component the playback parameters indicated by the current playback parameter setting option correspond to. For example, Figure 5 As shown, the playback parameter setting interface includes vocal options, drum sound options, bass sound options, other accompaniment options and at least one playback parameter setting option. When the vocal option is selected, the playback parameters are set for the vocal component by triggering the at least one playback parameter setting option; when the bass sound option is selected, the playback parameters are set for the bass sound component by triggering the at least one playback parameter setting option.

[0124] It should be noted that the components of different audios may be different, so the components separated from the audios may also be different. For example, the components separated from audio A are vocal components and accompaniment components; the components separated from audio B are vocal components, drum components and other accompaniment components. Therefore, the above terminal displays the playback parameter setting options of the multiple components separated from the target audio through the playback parameter setting interface, including: obtaining the component identification of each component in the target audio, and displaying the playback parameter setting options of the multiple components separated from the target audio through the playback parameter setting interface according to the obtained component identification. In this way, it can be ensured that the components displayed on the playback parameter setting interface correspond to the components of the target audio.

[0125] 303. The terminal determines the playback parameters set for the at least one target component in response to a triggering operation on the playback parameter setting option of the at least one target component.

[0126] The target component is any one of the multiple components separated from the target audio. Here, the target component refers to the component whose playback parameters are modified.

[0127] Optionally, if the playback parameter setting option is a volume adjustment option, then the playback parameter is a volume parameter; optionally, if the playback parameter setting option is a sound effect adjustment option, then the playback parameter is a sound effect parameter, which is a sound effect name, an adjustment parameter for the audio signal, etc.; optionally, if the playback parameter setting option is a timbre adjustment option, then the playback parameter is a timbre parameter, which is used to identify the adjustment of the timbre of the audio to a target timbre, for example, the timbre parameter is a timbre identifier of the target timbre.

[0128] Optionally, each sound effect corresponds to at least one adjustment parameter of the audio signal, such as a frequency adjustment parameter, a phase adjustment parameter, etc. of the audio signal.

[0129] It should be noted that the playback parameters set for each target component can be one or more. For example, the playback parameters set for the target component include volume parameters and sound effect parameters; and the playback parameters set for each target component can be the same or different.

[0130] 304. For each target component, the terminal processes the first audio signal of the target component according to the playback parameters set for the target component to obtain a second audio signal of the target component.

[0131] Among them, the types of playback parameters are different, and the processing methods of the target components are also different. The embodiments of the present application take the playback parameters as volume parameters, sound effect parameters and timbre parameters as examples to exemplify the processing process of the target components. In some other embodiments, the playback parameters can also be other types of parameters. The embodiments of the present application do not limit the types of playback parameters, nor do they limit the process of processing the audio according to the playback parameters.

[0132] In one possible implementation, the playback parameters include volume parameters, and for each target component, the first audio signal of the target component is processed according to the playback parameters set for the target component to obtain the second audio signal of the target component, including: for each target component, according to the volume parameters set for the target component, the amplitude of the first audio signal of the target component is adjusted to obtain the second audio signal of the target component.

[0133] Among them, the playback volume of the audio is determined by the amplitude of the audio signal. The first audio signal and the second audio signal are only different in amplitude, while the frequency, phase and other information are the same. Therefore, after adjusting the amplitude of the first audio signal, only the volume of the target component is changed, and the timbre, playback speed, etc. of the target component will not be changed. Subsequently, the second audio signal based on the target component can be played. For example, audio A includes a vocal component, a bass component and a drum component. The volume of audio A is 10. Now the volume of the vocal component is adjusted to 20, and the volume of the bass component and the drum component is not adjusted. Then the terminal will adjust the amplitude of the audio signal of the vocal component to obtain the audio signal after the vocal component is adjusted, and the audio signal after the vocal component is adjusted is merged with the audio signal of the bass component and the audio signal of the drum component to obtain the processed target audio. The volume of the vocal component in the processed target audio is 20, and the volume of the bass component and the drum component is 10. Then when playing, the sound of the human voice in the processed target audio is louder.

[0134] In one possible implementation, the playback parameters include sound effect parameters, and for each target component, the first audio signal of the target component is processed according to the playback parameters set for the target component to obtain the second audio signal of the target component, including: for each target component, the first audio signal of the target component is processed with sound effects according to the sound effect parameters set for the target component to obtain the second audio signal of the target component.

[0135] The sound effect parameter indicates the timbre of the audio. Optionally, the sound effect parameter includes a volume parameter, a playback speed parameter, a frequency adjustment parameter, a phase adjustment parameter, etc. For example, the soothing sound effect includes a volume reduction parameter, a playback speed reduction parameter, a frequency reduction parameter, etc., wherein the reduction parameter is used to indicate a reduced amplitude.

[0136] Optionally, the sound effect parameters include volume parameters, playback speed parameters and frequency adjustment parameters, and sound effect processing is performed on the first audio signal of the target component to obtain the second audio signal of the target component, including: adjusting the amplitude, time and frequency of the first audio signal to obtain the second audio signal.

[0137] In one possible implementation, the playback parameters include timbre parameters, which are used to indicate that the timbre of the audio is adjusted to a target timbre. For each target component, the first audio signal of the target component is processed according to the playback parameters set for the target component to obtain a second audio signal of the target component, including: for each component of at least one component, obtaining music score information corresponding to the component, the music score information is used to indicate the pitch of the component; and generating a second audio signal with the target timbre according to the music score information and the timbre parameters, wherein the target component is composed of the generated second audio signal.

[0138] The score information includes at least one audio and the duration of each audio. For example, the target component is a drum sound component, and the timbre parameter is an identifier of an African drum. The drum sound component in the target audio is analyzed to obtain the score information of the drum sound component. According to the score information and the timbre parameter, an African drum sound component is generated. The African drum sound component is the same as the score information of the drum sound component. Therefore, the African drum sound component can be added to the target audio to replace the original drum sound component.

[0139] Since the musical note indicates the pitch of the audio, and the pitch is determined by the frequency of the audio signal, in one possible implementation, obtaining the music score information corresponding to a component includes: determining the musical note corresponding to the component based on the frequency of the first audio signal of the component; determining the duration of the corresponding audio based on the duration of the component at the frequency; and generating the music score information corresponding to the component based on multiple notes corresponding to the component and the duration of each note.

[0140] For example, if the frequency of the audio signal of component A from 0 to 1.5 seconds is B, then the note corresponding to the audio signal from 0 to 1.5 seconds is C, and the duration of note C is 1.5 seconds; if the frequency of the audio signal of component A from 1.5 to 2.5 seconds is D, then the note corresponding to the audio signal from 1.5 to 2.5 seconds is E, and the duration of note E is 1 second; if the frequency of the audio signal of component A from 2.5 to 4 seconds is F, then the note corresponding to the audio signal from 2.5 to 4 seconds is G, and the duration of note G is 1.5 seconds; the notes in the obtained music score information of component A are C, E and G, respectively, and the duration of each audio is 1.5 seconds, 1 second and 1.5 seconds, respectively.

[0141] The timbre is determined by the waveform of the audio signal, for example, the harmonic amplitude, phase shift, etc. of the audio signal. Therefore, it is possible to obtain audio with a target timbre by generating a corresponding audio signal. In one possible implementation, a second audio signal with a target timbre is generated according to music score information and timbre parameters, and the target component is composed of the generated second audio signal, including: inputting the music score information and the timbre parameters into an audio signal synthesizer, obtaining an audio signal output by the audio signal synthesizer, and the audio signal synthesizer is used to synthesize the audio signal according to the input music score information and the specified timbre.

[0142] Optionally, waveform features corresponding to a plurality of timbres are stored in an audio signal synthesizer, music score information and timbre parameters are input into the audio signal synthesizer, and an audio signal output by the audio signal synthesizer is obtained, including: inputting the music score information and timbre parameters into the audio signal synthesizer, the audio signal synthesizer determining the waveform features corresponding to the timbre parameters based on the timbre parameters, and synthesizing the corresponding audio signal based on the waveform features and the frequency of the audio signal indicated by the music score information and the duration of each frequency.

[0143] In another possible implementation, the terminal or server stores instrument materials of multiple instruments, each of which is an audio corresponding to an instrument, and the pitch and rhythm of the instrument material can be changed so that the instrument material can replace the target component. Optionally, according to the timbre parameter, a target audio material with a target timbre is obtained; the target audio material is adjusted according to the score information to obtain the adjusted target audio material, and the target audio material is used as the target component.

[0144] Among them, adjusting the target audio material according to the score information to obtain the adjusted target audio material means: adjusting the pitch and rhythm of the target audio material according to the score information, so that the score information corresponding to the adjusted target audio material is the same as the score information corresponding to the target component.

[0145] Adjusting the pitch of the target audio material refers to adjusting the frequency of the audio signal of the target audio material. Adjusting the rhythm of the target audio material refers to adjusting the duration of each frequency in the audio signal of the target audio material.

[0146] 305. The terminal merges the second audio signal of each target component with the third audio signals of other components in the target audio except for at least one target component to obtain processed target audio.

[0147] The fusion of multiple components is the reverse process of separating multiple components from the audio. The second audio signal of each target component is fused with the third audio signal of other components in the target audio except at least one target component, so that the components in the processed target audio are complete.

[0148] Optionally, the terminal fuses the second audio signal of each target component with the third audio signals of other components in the target audio except at least one target component to obtain a processed target audio, including: the terminal superimposes the second audio signal of each target component with the third audio signals of other components in the target audio except at least one target component to obtain an eighth audio signal, and the processed target audio consists of the eighth audio signal.

[0149] It should be noted that after obtaining the processed target audio, the processed target audio can be played, or the processed target audio can be stored, etc. The embodiment of the present application does not limit the subsequent processing method of the processed target audio.

[0150] The audio processing method provided in the embodiment of the present application, when processing audio, can set playback parameters for one or more components of the audio through a playback parameter setting interface. For each component, the audio signal of the component is processed using the playback parameters set for the component, thereby achieving separate processing of the audio signals of the components in the audio. Therefore, through the above method, different personalized playback effects can be set for different components in the same audio, thereby improving the flexibility of audio processing.

[0151] Furthermore, the terminal can directly obtain the first audio signal of multiple components separated from the audio from the server, without the need for the terminal to separate and process the audio, thereby reducing requirements on the terminal and improving the efficiency of the terminal in processing audio.

[0152] Furthermore, the audio processing method provided in the embodiment of the present application provides a variety of processing methods for components in the audio, and is capable of processing the volume, sound effect, and timbre of any component, thereby improving the diversity and flexibility of processing.

[0153] Above Figures 2 to 3 The embodiment shown is only an exemplary description of the processing process of any one or more components in the audio. Figures 7 and 8 The illustrated embodiment exemplifies the process of separating multiple components from audio.

[0154] Figure 7 is a flowchart of an audio processing method provided by an embodiment of the present application. Figure 7 , the method is applied in a computer device, the method comprising:

[0155] 701. Obtain target audio, where the target audio is composed of multiple components, which are vocal components or any musical instrument components.

[0156] Among them, the target audio is any audio, for example, the target audio is the audio of any song, the audio of any symphony, etc. The embodiment of the present application does not limit the target audio.

[0157] 702. Obtain a time domain separation model and a frequency domain separation model, where the time domain separation model and the frequency domain separation model are used to obtain components of the same type from the audio.

[0158] The time domain separation model is a model for separating audio based on the time domain information of the audio. For example, the time domain separation model is a model such as Wave-U-Net (Wave-U-Network, signal wave U-type neural network) or TasNet (Time-domain audio separation Network, single channel speech separation neural network). The frequency domain separation model is a model for separating audio based on the frequency domain information of the audio. For example, the frequency domain separation model is a model such as U-Net (U-Network, U-type neural network) or open-unmix (a frequency domain separation model).

[0159] 703 . Call a time domain separation model and a frequency domain separation model to separate a first audio signal of each component in at least one component from a fourth audio signal of the target audio.

[0160] Since the time domain separation model and the frequency domain separation model are separated based on different information in the audio, the time domain separation model and the frequency domain separation model are complementary. If the time domain separation model and the frequency domain separation model are called to separate the audio, the various components can be separated more accurately.

[0161] The audio processing method provided in the embodiment of the present application is complementary to the time domain separation model and the frequency domain separation model because the time domain separation model and the frequency domain separation model can separate the audio based on different information in the audio. Therefore, by separating the audio together with the time domain separation model and the frequency domain separation model, various components can be separated more accurately, thereby improving the audio separation effect.

[0162] Figure 8 1 is a flowchart of an audio processing method provided in an embodiment of the present application. In the embodiment of the present application, the separation of audio by a computer device is used as an example for explanation. Figure 8 , the method comprising:

[0163] 801. A computer device obtains a target audio, where the target audio is composed of multiple components, which are a human voice component or any musical instrument sound component.

[0164] 802. The computer device obtains a time domain separation model and a frequency domain separation model, where the time domain separation model and the frequency domain separation model are used to obtain components of the same type from audio.

[0165] Among them, the time domain separation model and the frequency domain separation model obtained in step 802 are trained models, and the time domain separation model and the frequency domain separation model have a certain separation accuracy. The time domain separation model and the frequency domain separation model are used to obtain the same type of components from the audio, which means: separating the audio signals of the same components from the audio. For example, the time domain separation model is used to separate the audio signal of the human voice component, the audio signal of the drum component and the audio signal of other accompaniment from the audio, and the frequency domain separation model is also used to separate the audio signal of the human voice component, the audio signal of the drum component and the audio signal of other accompaniment from the audio.

[0166] Optionally, the time domain separation model is used to separate the first audio signal of the target component from the audio, and the frequency domain separation model is also used to separate the first audio signal of the target component from the audio, wherein the target component is a vocal component, or an accompaniment component, or any instrument sound component.

[0167] Optionally, the time domain separation model is used to separate multiple audio signal components from the audio, and the frequency domain separation model is also used to separate multiple audio signal components from the audio. For example, the time domain separation model is used to separate a human voice component and a bass component from the audio, and the frequency domain separation model is also used to separate a human voice component and a bass component from the audio.

[0168] 803. The computer device calls a frequency domain separation model to separate a sixth audio signal of each component from the fourth audio signal of the target audio based on the frequency domain information of the target audio.

[0169] The audio signal of an audio represents the law of how the audio waveform changes over time. Therefore, the audio signal is the time domain information of the audio. The spectrum is the frequency distribution curve of the audio, which represents the frequency domain information of the audio. By performing time-frequency conversion on the audio signal, the time domain information of the audio can be converted into frequency domain information.

[0170] Whether it is the time domain information or the frequency domain information of the audio, it contains information of various components in the audio. Therefore, the audio signals of various components can be separated from the audio based on the time domain information or the frequency domain information of the audio. In step 803, the audio signals of components are separated from the audio based on the frequency domain information of the audio as an example. In step 804, the audio signals of components are separated from the audio based on the time domain information of the audio as an example.

[0171] In one possible implementation, a frequency domain separation model is called to separate a sixth audio signal of each component from the fourth audio signal of the target audio based on frequency domain information of the target audio, including: based on amplitude information in a second spectrum corresponding to the target audio, the frequency domain separation model is called to separate the amplitude information corresponding to each component from the second spectrum, and based on the amplitude information of each component, the sixth audio signal of each component is generated.

[0172] The second spectrum is a curve in which the amplitude of the fourth audio signal of the target audio is arranged according to the frequency. Therefore, before calling the frequency domain separation model, the second spectrum needs to be generated first. Optionally, generating the second spectrum includes: performing Fourier transform on the fourth audio signal of the target audio to obtain a complex signal; obtaining the square sum of the real part information and the imaginary part information of the complex signal, performing a square root operation on the square sum to obtain the amplitude information of the fourth audio signal, obtaining a curve in which the amplitude information of the audio signal changes with the frequency, and obtaining the second spectrum.

[0173] Since the frequency domain separation model can only separate amplitude information, it is necessary to generate the component sixth audio signal based on the phase information of the fourth audio signal in the target audio and the separated amplitude information.

[0174] If the sixth audio signal of the component is generated by using the phase information of the fourth audio signal in the target audio, phase noise will be introduced into the sixth audio signal. Therefore, the embodiment of the present application also provides another more accurate separation method. In another possible implementation method, a frequency domain separation model is called to separate the sixth audio signal of each component from the fourth audio signal of the target audio based on the frequency domain information of the target audio, including: determining the first real signal and the first imaginary signal of the first spectrum corresponding to the target audio; calling the frequency domain separation model to separate the second real signal and the second imaginary signal of each component from the first real signal and the first imaginary signal of the first spectrum; and determining the sixth audio signal of each component based on the second real signal and the second imaginary signal of each component.

[0175] Optionally, determining the first real signal and the first imaginary signal of the first spectrum corresponding to the target audio includes: performing Fourier transform on the fourth audio signal of the target audio to obtain the first real signal and the first imaginary signal corresponding to the fourth audio signal, obtaining a curve of the first real signal and the first imaginary signal changing with frequency, and obtaining the first spectrum. Since the first spectrum is the curve of the first real signal and the first imaginary signal changing with frequency, obtaining the first spectrum means determining the first real signal and the first imaginary signal in the first spectrum.

[0176] In addition, according to the method of obtaining the amplitude information and phase information of the audio signal, it can be known that the first real signal and the first imaginary signal contain the amplitude information and phase information of the audio signal. Therefore, the sixth audio signal of each component can be determined directly based on the second real signal and the second imaginary signal of each component, thereby avoiding the introduction of phase noise and obtaining a more accurate sixth audio signal.

[0177] Wherein, based on the second real signal and the second imaginary signal of each component, determining the sixth audio signal of each component includes: performing inverse time-frequency conversion on the second real signal and the second imaginary signal of each component to obtain the sixth audio signal of each component.

[0178] 804. The computer device calls the time domain separation model to separate, for each component, the first audio signal of the component from the sixth audio signal of the component based on the time domain information of the component, to obtain the first audio signal of each component.

[0179] After the frequency domain separation model separates the sixth audio signal of each component from the audio, in order to ensure the separation effect, the separation result of the frequency domain separation model can be separated again by the time domain separation model. For example, the frequency domain separation model is used to separate the human voice component from the audio, but the separated human voice component may also be mixed with some drum sound components, so the human voice component separated by the frequency domain separation model is input into the time domain separation model, and the time domain separation model continues to separate the human voice component.

[0180] For the time domain separation model, the sixth audio signal of each component may be directly input into the time domain separation model. For each component, the time domain separation model separates the first audio signal of the component from the sixth audio signal of the component.

[0181] It should be noted that the embodiment of the present application is only to first call the frequency domain separation model and then call the time domain separation model to exemplify the process of calling the time domain separation model and the frequency domain separation model to separate the first audio signal of each component in at least one component from the fourth audio signal of the target audio. In another embodiment, the time domain separation model may be called first, and then the frequency domain separation model may be called. Among them, calling the time domain separation model and the frequency domain separation model to separate the first audio signal of each component in at least one component from the fourth audio signal of the target audio includes: calling the time domain separation model to separate the fifth audio signal of each component from the fourth audio signal of the target audio based on the time domain information of the target audio; calling the frequency domain separation model, for each component, based on the frequency domain information of the component, separating the first audio signal of the component from the fifth audio signal of the component, to obtain the first audio signal of each component.

[0182] That is, the time domain separation model is called first, and then the frequency domain separation model is called. The frequency domain separation model is called, and for each component, based on the frequency domain information of the component, the first audio signal of the component is separated from the fifth audio signal of the component to obtain the first audio signal of each component, including: determining the third real signal and the third imaginary signal of the third spectrum corresponding to the first audio signal of each component; calling the frequency domain separation model, for each component, separating the fourth real signal and the fourth imaginary signal of the component from the third real signal and the third imaginary signal of the component; based on the third real signal and the fourth imaginary signal of each component, determining the first audio signal of each component.

[0183] In another embodiment, the time domain separation model and the frequency domain separation model may be called in parallel, and the time domain separation model and the frequency domain separation model are called to separate the first audio signal of each component in at least one component from the fourth audio signal of the target audio, including: calling the frequency domain separation model to separate the sixth audio signal of each component from the fourth audio signal of the target audio based on the frequency domain information of the target audio; calling the time domain separation model to separate the fifth audio signal of each component from the fourth audio signal of the target audio based on the time domain information of the target audio; for each component, fusing the fifth audio signal of the component with the sixth audio signal of the component to obtain the first audio signal of the component.

[0184] That is, the time domain separation model and the frequency domain separation model are connected in parallel to separate the audio. For each component, fusing the fifth audio signal of the component with the sixth audio signal of the component to obtain the first audio signal of the component means: according to the weight of the fifth audio signal and the weight of the sixth audio signal, weighted processing is performed on the fifth audio signal and the sixth audio signal to obtain the first audio signal.

[0185] It should be noted that the embodiment of the present application also provides a method for training a time domain separation model and a frequency domain separation model. In a possible implementation method, before calling the frequency domain separation model and separating the sixth audio signal of each component from the fourth audio signal of the target audio based on the frequency domain information of the target audio, the method also includes: obtaining sample data, the sample data including the sample audio and the sample audio signal of each component in at least one component of the sample audio; calling the frequency domain separation model, separating the first predicted audio signal of each component in at least one component from the sample audio signal of the sample audio based on the frequency domain information of the sample audio; calling the time domain separation sub-model, separating the second predicted audio signal of each component from the sample audio signal of the sample audio based on the time domain information of the sample audio; for each component, fusing the first predicted audio signal of the component with the second predicted audio signal of the component to obtain the third predicted audio signal of the component; according to the difference between the third predicted audio signal of each component and the corresponding sample audio signal in the sample data, training the frequency domain separation model and the time domain separation model so that the difference between the third predicted audio signal and the corresponding sample audio signal in the sample data converges.

[0186] It should be noted that the time domain separation model and frequency domain separation model provided in the embodiments of the present application can separate at least one component from the audio. The embodiments of the present application also provide a method for separating audio when the time domain separation model and the frequency domain separation model can only separate one component.

[0187] First, take the example of audio separation through the frequency domain separation model. Optionally, the frequency domain separation model is a model for separating an audio signal of a component from audio. The frequency domain separation model is called to separate the first audio signal of the first component from the audio, including: determining the first real signal and the first imaginary signal of the first spectrum corresponding to the target audio, based on the first real signal and the first imaginary signal, calling the frequency domain separation model to separate the second real signal and the second imaginary signal of the first component from the first real signal and the first imaginary signal of the first spectrum, and determining the first audio signal of the first component based on the second real signal and the second imaginary signal of the first component. Subsequently, the first audio signal of the remaining component in the target audio can be determined based on the fourth audio signal of the target audio and the first audio signal of the first component. The first component and the remaining component constitute multiple components, thereby achieving the separation of the audio into multiple components.

[0188] Let's take the example of audio separation performed by a time domain separation model and a frequency domain separation model together. Optionally, the frequency domain separation model and the time domain are models for separating an audio signal of a component from the audio. The time domain separation model is called to separate the first audio signal of the first component from the audio, including: calling the time domain separation model and the frequency domain separation model to separate the first audio signal of the first component from the fourth audio signal of the target audio. Subsequently, based on the fourth audio signal of the target audio and the first audio signal of the first component, the first audio signal of the remaining component in the target audio is determined, and the first component and the remaining components constitute multiple components, thereby achieving the separation of the audio into multiple components.

[0189] The audio processing method provided in the embodiment of the present application is complementary to the time domain separation model and the frequency domain separation model because the time domain separation model and the frequency domain separation model can separate the audio based on different information in the audio. Therefore, by separating the audio together with the time domain separation model and the frequency domain separation model, various components can be separated more accurately, thereby improving the audio separation effect.

[0190] Fig. 9 is a structural diagram of an audio processing device provided by the present application. Fig. 9 , the device comprises:

[0191] The display module 901 is used to display the playback parameter setting options of multiple components separated from the target audio through the playback parameter setting interface, where the component is a vocal component or any instrument sound component;

[0192] A determination module 902, configured to determine the playback parameters set for at least one target component in response to a triggering operation on a playback parameter setting option of the at least one target component, the target component being any component among the plurality of components;

[0193] A processing module 903 is used for processing the first audio signal of each target component according to the playback parameters set for the target component to obtain a second audio signal of the target component;

[0194] The fusion module 904 is configured to fuse the second audio signal of each target component with the third audio signals of other components in the target audio except the at least one target component to obtain a processed target audio.

[0195] like Fig.10 As shown, in a possible implementation, the playback parameter includes a volume parameter, and the processing module 903 is used to adjust the amplitude of the first audio signal of each target component according to the volume parameter set for the target component to obtain the second audio signal of the target component; or,

[0196] The playback parameters include sound effect parameters, and the processing module 903 is used to perform sound effect processing on the first audio signal of each target component according to the sound effect parameters set for the target component to obtain a second audio signal of the target component; or

[0197] The playback parameters include timbre parameters, which indicate the timbre of the audio. The processing module 903 is used to obtain the music score information corresponding to each target component, and the music score information is used to represent the pitch of the target component; and generate a second audio signal of the target component according to the music score information and the timbre parameters.

[0198] In a possible implementation, the device further includes:

[0199] The acquisition module 905 is used to acquire, from a server, a first audio signal of a plurality of components separated from the target audio.

[0200] In a possible implementation, the device further includes:

[0201] A separation module 906 is configured to call a time domain separation model and a frequency domain separation model to separate the first audio signal of each of the multiple components from the fourth audio signal of the target audio; or

[0202] The separation module 906 is used to determine the first real signal and the first imaginary signal of the first spectrum corresponding to the target audio; based on the first real signal and the first imaginary signal, call the frequency domain separation model to separate the second real signal and the second imaginary signal of each of the multiple components from the first real signal and the first imaginary signal of the first spectrum; based on the second real signal and the second imaginary signal of each component, determine the first audio signal of each component.

[0203] In a possible implementation, the separation module 906 includes:

[0204] A time domain separation unit 9061 is used to call the time domain separation model to separate the fifth audio signal of each component from the fourth audio signal of the target audio based on the time domain information of the target audio;

[0205] The frequency domain separation unit 9062 is used to call the frequency domain separation model, and for each component, based on the frequency domain information of the component, separate the first audio signal of the component from the fifth audio signal of the component to obtain the first audio signal of each component;

[0206] The time domain separation model and the frequency domain separation model are used to obtain the same type of components from the audio.

[0207] In a possible implementation, the separation module 906 includes:

[0208] A frequency domain separation unit 9062 is used to call the frequency domain separation model to separate the sixth audio signal of each component from the fourth audio signal of the target audio based on the frequency domain information of the target audio;

[0209] The time domain separation unit 9061 is used to call the time domain separation model, and for each component, based on the time domain information of the component, separate the first audio signal of the component from the sixth audio signal of the component to obtain the first audio signal of each component;

[0210] The time domain separation model and the frequency domain separation model are used to obtain the same type of components from the audio.

[0211] In a possible implementation, the separation module 906 includes:

[0212] A frequency domain separation unit 9062 is used to call the frequency domain separation model to separate the sixth audio signal of each component from the fourth audio signal of the target audio based on the frequency domain information of the target audio;

[0213] A time domain separation unit 9061 is used to call the time domain separation model to separate the fifth audio signal of each component from the fourth audio signal of the target audio based on the time domain information of the target audio;

[0214] The fusion unit 9063 is used to fuse the fifth audio signal of each component with the sixth audio signal of the component to obtain the first audio signal of the component.

[0215] In a possible implementation, the device further includes:

[0216] An acquisition module 905 is used to acquire sample data, where the sample data includes a sample audio and a sample audio signal of each of a plurality of components of the sample audio;

[0217] The separation module 906 is used to call the frequency domain separation model to separate the first predicted audio signal of each component in the multiple components from the sample audio signal of the sample audio based on the frequency domain information of the sample audio;

[0218] The separation module 906 is further configured to call the time domain separation sub-model to separate the second predicted audio signal of each component from the sample audio signal of the sample audio based on the time domain information of the sample audio;

[0219] The separation module 906 is further configured to fuse the first predicted audio signal of each component with the second predicted audio signal of the component to obtain a third predicted audio signal of the component;

[0220] The training module 907 is used to train the frequency domain separation model and the time domain separation model according to the difference between the third predicted audio signal of each component and the corresponding sample audio signal in the sample data.

[0221] Fig.11 is a structural diagram of an audio processing device provided in an embodiment of the present application, see Fig.11 , the device comprises:

[0222] An audio acquisition module 1101 is used to acquire a target audio, where the target audio is composed of multiple components, which are a human voice component or any musical instrument sound component;

[0223] A model acquisition module 1102 is used to acquire a time domain separation model and a frequency domain separation model, wherein the time domain separation model and the frequency domain separation model are used to acquire components of the same type from the audio;

[0224] The separation module 1103 is configured to call the time domain separation model and the frequency domain separation model to separate the first audio signal of each component in at least one component from the fourth audio signal of the target audio.

[0225] like Fig.12 As shown, in a possible implementation, the separation module 1103 includes:

[0226] A time domain separation unit 1113 is used to call the time domain separation model to separate the fifth audio signal of each component from the fourth audio signal of the target audio based on the time domain information of the target audio;

[0227] The frequency domain separation unit 1123 is used to call the frequency domain separation model, and for each component, based on the frequency domain information of the component, separate the first audio signal of the component from the fifth audio signal of the component to obtain the first audio signal of each component.

[0228] In a possible implementation, the separation module 1103 includes:

[0229] A frequency domain separation unit 1123, configured to call the frequency domain separation model to separate the sixth audio signal of each component from the fourth audio signal of the target audio based on the frequency domain information of the target audio;

[0230] The time domain separation unit 1113 is configured to call the time domain separation model, and for each component, based on the time domain information of the component, separate the first audio signal of the component from the sixth audio signal of the component to obtain the first audio signal of each component.

[0231] In one possible implementation, the frequency domain separation unit 1123 is used to determine the first real signal and the first imaginary signal of the first spectrum corresponding to the target audio; call the frequency domain separation model to separate the second real signal and the second imaginary signal of each component from the first real signal and the first imaginary signal of the first spectrum; and determine the sixth audio signal of each component based on the second real signal and the second imaginary signal of each component.

[0232] In a possible implementation, the separation module 1103 includes:

[0233] A frequency domain separation unit 1123, configured to call the frequency domain separation model to separate the sixth audio signal of each component from the fourth audio signal of the target audio based on the frequency domain information of the target audio;

[0234] A time domain separation unit 1113 is used to call the time domain separation model to separate the fifth audio signal of each component from the fourth audio signal of the target audio based on the time domain information of the target audio;

[0235] The fusion unit 1133 is configured to fuse the fifth audio signal of each component with the sixth audio signal of the component to obtain the first audio signal of the component.

[0236] In a possible implementation, the device further includes:

[0237] A sample acquisition module 1104 is used to acquire sample data, where the sample data includes a sample audio and a sample audio signal of each component of at least one component of the sample audio;

[0238] The separation module 1103 is used to call the frequency domain separation model to separate the first predicted audio signal of each component in the at least one component from the sample audio signal of the sample audio based on the frequency domain information of the sample audio;

[0239] The separation module 1103 is used to call the time domain separation sub-model to separate the second predicted audio signal of each component from the sample audio signal of the sample audio based on the time domain information of the sample audio;

[0240] A fusion module 1105 is used to fuse the first predicted audio signal of each component with the second predicted audio signal of the component to obtain a third predicted audio signal of the component;

[0241] The training module 1106 is used to train the frequency domain separation model and the time domain separation model according to the difference between the third predicted audio signal of each component and the corresponding sample audio signal in the sample data.

[0242] An embodiment of the present application also provides a computer device, which includes a processor and a memory, wherein at least one program code is stored in the memory, and the at least one program code is loaded and executed by the processor to implement the operations performed in the audio processing method of the above embodiment.

[0243] Optionally, the computer device is provided as a terminal. Fig.13 1 is a schematic diagram of the structure of a terminal provided in an embodiment of the present application. The terminal 1300 may be a portable mobile terminal, such as a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III), an MP4 player (Moving Picture Experts Group Audio Layer IV), a laptop computer or a desktop computer. The terminal 1300 may also be referred to as a user device, a portable terminal, a laptop terminal, a desktop terminal or other names.

[0244] The terminal 1300 includes a processor 1301 and a memory 1302 .

[0245] The processor 1301 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 1301 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). The processor 1301 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 1301 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 1301 may also include an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.

[0246] The memory 1302 may include one or more computer-readable storage media, which may be non-transitory. The memory 1302 may also include a high-speed random access memory, and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 1302 is used to store at least one program code, which is used to be executed by the processor 1301 to implement the audio processing method provided in the method embodiment of the present application.

[0247] In some embodiments, the terminal 1300 may also optionally include: a peripheral device interface 1303 and at least one peripheral device. The processor 1301, the memory 1302 and the peripheral device interface 1303 may be connected via a bus or a signal line. Each peripheral device may be connected to the peripheral device interface 1303 via a bus, a signal line or a circuit board. Specifically, the peripheral device includes: at least one of a radio frequency circuit 1304, a display screen 1305, a camera assembly 1306, an audio circuit 1307, a positioning assembly 1308 and a power supply 1309.

[0248] Those skilled in the art will understand that Fig.13 The structure shown in the figure does not constitute a limitation on the terminal 1300, and the terminal 1300 may include more or less components than those shown in the figure, or combine some components, or adopt a different component arrangement.

[0249] Optionally, the computer device is provided as a server. Fig.14 This is a schematic diagram of the structure of a server according to an exemplary embodiment. The server 1400 may have relatively large differences due to different configurations or performances, and may include one or more processors (Central Processing Units, CPU) 1401 and one or more memories 1402, wherein the memory 1402 stores at least one program code, and the at least one program code is loaded and executed by the processor 1401 to implement the methods provided by the above-mentioned various method embodiments. Of course, the server may also have components such as a wired or wireless network interface, a keyboard, and an input and output interface for input and output, and the server may also include other components for implementing device functions, which will not be described in detail here.

[0250] An embodiment of the present application further provides a computer-readable storage medium, in which at least one program code is stored. The at least one program code is loaded and executed by a processor to implement the operations performed in the audio processing method of the above embodiment.

[0251] An embodiment of the present application further provides a computer program, in which at least one program code is stored. The at least one program code is loaded and executed by a processor to implement the operations performed in the audio processing method of the above embodiment.

[0252] A person skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware or by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk or an optical disk, etc.

[0253] The above are only optional embodiments of the embodiments of the present application and are not intended to limit the embodiments of the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the embodiments of the present application should be included in the protection scope of the present application.

Claims

1. An audio processing method, characterized in that: The method comprises: Displaying playback parameter setting options of multiple components separated from the target audio through a playback parameter setting interface, wherein the components are vocal components or any musical instrument sound components; In response to a triggering operation on a playback parameter setting option of at least one target component, determining a playback parameter set for the at least one target component, the target component being any component among the plurality of components; For each target component, according to the playback parameters set for the target component, the first audio signal of the target component is processed to obtain a second audio signal of the target component; fusing the second audio signal of each target component with third audio signals of other components in the target audio except the at least one target component to obtain a processed target audio; Before the first audio signal of each target component is processed according to the playback parameters set for the target component to obtain the second audio signal of the target component, the method further includes: Determine a first real signal and a first imaginary signal of a first spectrum corresponding to the target audio, wherein the first real signal and the first imaginary signal include amplitude information and phase information of the audio signal; based on the first real signal and the first imaginary signal, call a frequency domain separation model to separate a second real signal and a second imaginary signal of each of the multiple components from the first real signal and the first imaginary signal of the first spectrum; based on the second real signal and the second imaginary signal of each component, determine a sixth audio signal of each component; input the sixth audio signal of each component separated by the frequency domain separation model into a time domain separation model, call the time domain separation model, and for each component, based on the time domain information of the component, separate the first audio signal of the component from the sixth audio signal of the component to obtain the first audio signal of each component; or, Call the time domain separation model, and based on the time domain information of the target audio, separate the fifth audio signal of each component from the fourth audio signal of the target audio; determine the third real signal and the third imaginary signal of the third spectrum corresponding to the fifth audio signal of each component; call the frequency domain separation model, and for each component, separate the fourth real signal and the fourth imaginary signal of the component from the third real signal and the third imaginary signal of the component; determine the first audio signal of each component based on the fourth real signal and the fourth imaginary signal of each component; The time domain separation model and the frequency domain separation model are used to obtain components of the same type from the audio.

2. The method according to claim 1, characterized in that The step of processing, for each target component, the first audio signal of the target component according to the playback parameters set for the target component to obtain the second audio signal of the target component comprises: The playback parameter includes a volume parameter, and for each target component, the amplitude of the first audio signal of the target component is adjusted according to the volume parameter set for the target component to obtain the second audio signal of the target component; or The playback parameters include sound effect parameters, and for each target component, sound effect processing is performed on the first audio signal of the target component according to the sound effect parameters set for the target component to obtain a second audio signal of the target component; or The playback parameters include timbre parameters, which indicate the timbre of the audio. For each target component, the music score information corresponding to the target component is obtained, and the music score information is used to represent the pitch of the target component; based on the music score information and the timbre parameters, a second audio signal of the target component is generated.

3. The method according to claim 1, characterized in that Before displaying the playback parameter setting options of the multiple components separated from the target audio through the playback parameter setting interface, the method further includes: A first audio signal of a plurality of components separated from the target audio is obtained from a server.

4. An audio processing method, characterized in that: The method comprises: Acquire a target audio, where the target audio is composed of multiple components, and the components are vocal components or any musical instrument sound components; Acquire a time domain separation model and a frequency domain separation model, wherein the time domain separation model and the frequency domain separation model are used to acquire components of the same type from the audio; Determine a first real signal and a first imaginary signal of a first spectrum corresponding to the target audio, wherein the first real signal and the first imaginary signal include amplitude information and phase information of the audio signal; based on the first real signal and the first imaginary signal, call the frequency domain separation model to separate a second real signal and a second imaginary signal of each of the multiple components from the first real signal and the first imaginary signal of the first spectrum; based on the second real signal and the second imaginary signal of each component, determine a sixth audio signal of each component; input the sixth audio signal of each component separated by the frequency domain separation model into the time domain separation model, call the time domain separation model, and for each component, based on the time domain information of the component, separate the first audio signal of the component from the sixth audio signal of the component to obtain the first audio signal of each component; or, The time domain separation model is called to separate the fifth audio signal of each component from the fourth audio signal of the target audio based on the time domain information of the target audio; the third real signal and the third imaginary signal of the third spectrum corresponding to the fifth audio signal of each component are determined; the frequency domain separation model is called to separate the fourth real signal and the fourth imaginary signal of each component from the third real signal and the third imaginary signal of the component; and the first audio signal of each component is determined based on the fourth real signal and the fourth imaginary signal of each component.

5. An audio processing device, characterized in that: The device comprises: A display module, used for displaying playback parameter setting options of multiple components separated from the target audio through a playback parameter setting interface, wherein the components are vocal components or any musical instrument sound components; a determination module, configured to determine, in response to a triggering operation on a playback parameter setting option of at least one target component, a playback parameter set for the at least one target component, the target component being any component among the plurality of components; A processing module, configured to process, for each target component, a first audio signal of the target component according to a playback parameter set for the target component, to obtain a second audio signal of the target component; a fusion module, configured to fuse the second audio signal of each target component with third audio signals of other components in the target audio except the at least one target component, to obtain a processed target audio; The device also includes: A separation module is used to determine a first real signal and a first imaginary signal of a first spectrum corresponding to the target audio, wherein the first real signal and the first imaginary signal include amplitude information and phase information of the audio signal; based on the first real signal and the first imaginary signal, a frequency domain separation model is called to separate a second real signal and a second imaginary signal of each of the multiple components from the first real signal and the first imaginary signal of the first spectrum; based on the second real signal and the second imaginary signal of each component, a sixth audio signal of each component is determined; the sixth audio signal of each component separated by the frequency domain separation model is input into a time domain separation model, the time domain separation model is called, and for each component, based on the time domain information of the component, the first audio signal of the component is separated from the sixth audio signal of the component to obtain the first audio signal of each component; or, The separation module is used to call the time domain separation model, and based on the time domain information of the target audio, separate the fifth audio signal of each component from the fourth audio signal of the target audio; determine the third real signal and the third imaginary signal of the third spectrum corresponding to the fifth audio signal of each component; call the frequency domain separation model, and for each component, separate the fourth real signal and the fourth imaginary signal of the component from the third real signal and the third imaginary signal of the component; determine the first audio signal of each component based on the fourth real signal and the fourth imaginary signal of each component; The time domain separation model and the frequency domain separation model are used to obtain components of the same type from the audio.

6. An audio processing device, characterized in that: The device comprises: An audio acquisition module, used for acquiring target audio, wherein the target audio is composed of multiple components, which are human voice components or any musical instrument sound components; A model acquisition module, used to acquire a time domain separation model and a frequency domain separation model, wherein the time domain separation model and the frequency domain separation model are used to acquire components of the same type from audio; A separation module, comprising a time domain separation unit and a frequency domain separation unit, wherein the frequency domain separation unit is used to determine a first real signal and a first imaginary signal of a first spectrum corresponding to the target audio, wherein the first real signal and the first imaginary signal include amplitude information and phase information of the audio signal; based on the first real signal and the first imaginary signal, calling the frequency domain separation model to separate a second real signal and a second imaginary signal of each of the multiple components from the first real signal and the first imaginary signal of the first spectrum; based on the second real signal and the second imaginary signal of each component, determining a sixth audio signal of each component; A module for performing the following steps: inputting the sixth audio signal of each component separated by the frequency domain separation model into the time domain separation model; The time domain separation unit is used to call the time domain separation model, and for each component, based on the time domain information of the component, separate the first audio signal of the component from the sixth audio signal of the component to obtain the first audio signal of each component; or The time domain separation unit is used to call the time domain separation model to separate the fifth audio signal of each component from the fourth audio signal of the target audio based on the time domain information of the target audio; determine the third real signal and the third imaginary signal of the third spectrum corresponding to the fifth audio signal of each component; The frequency domain separation unit is used to call the frequency domain separation model to separate, for each component, the fourth real signal and the fourth imaginary signal of the component from the third real signal and the third imaginary signal of the component; and determine the first audio signal of each component based on the fourth real signal and the fourth imaginary signal of each component.

7. A computer device, characterized in that: The computer device includes a processor and a memory, wherein the memory stores at least one program code, and the at least one program code is loaded and executed by the processor to implement the operations performed in the audio processing method as described in any one of claims 1 to 3; or to implement the operations performed in the audio processing method as described in claim 4.

8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores at least one program code, and the at least one program code is loaded and executed by the processor to implement the operations performed in the audio processing method as described in any one of claims 1 to 3; or to implement the operations performed in the audio processing method as described in claim 4.