Audio track separation method, device, equipment and storage medium based on Buddhist music

By splitting music data and combining weight parameters and neural network models, a multi-period and multi-resolution method is used to separate multiple musical instruments and vocals in Buddhist music, which solves the problems of low flexibility and efficiency in the existing technology and achieves More efficient track separation.

CN113012667BActive Publication Date: 2024-09-13PING AN TECH (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110284978.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-03-17
Publication Date
2024-09-13
Estimated Expiration
2041-03-17

AI Technical Summary

Technical Problem

The existing technology has low flexibility and low efficiency when separating multiple musical instruments and vocals in Buddha music, mainly due to the need to train a separate model for each instrument, and most use time-frequency mixed signals for separation.

Method used

By obtaining music data, splitting it into multiple periods, inputting the weight parameter generator to generate parameter weights, and combining the extractor model of linear encoder, dilated neural network and decoder for audio track separation, using multi-period and multi-resolution way to separate audio tracks.

Benefits of technology

It improves the flexibility and work efficiency of track separation, enabling parameterization of specific instruments and accurate separation of multiple types of tracks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113012667B
    Figure CN113012667B
Patent Text Reader

Abstract

The present invention relates to the field of artificial intelligence, and discloses a method, device, equipment and storage medium for separating tracks based on Buddhist music, which are used to improve the flexibility of separating tracks and the work efficiency of separating tracks. The method for separating tracks based on Buddhist music includes: obtaining music data, and splitting the music data into multiple time period music data, the music data is Buddhist music data; inputting the music data into a preset weight parameter generator to obtain multiple parameter weights; inputting the multiple parameter weights and multiple time period music data into a preset extractor model, combining the resolution of each time period music data to separate tracks, and generate multiple music track groups, each music track group includes multiple types of tracks, and the extractor includes a linear encoder, an expansion neural network and a decoder; according to multiple types of tracks, multiple music track groups are integrated to obtain multiple target complete tracks. In addition, the present invention also relates to blockchain technology, and multiple target complete tracks can be stored in the blockchain.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of neural network technology, and in particular to a method, device, equipment and storage medium for separating audio tracks based on Buddhist music. Background Art

[0002] Buddhist music often exists in the form of multiple tracks, including vocals and accompaniment of multiple instruments. Sometimes believers need to extract the accompaniment part or the track of a certain instrument as accompaniment for their own singing of Buddhist music or instrument playing practice.

[0003] Separating the various instruments and human voices of Buddhist music requires reference to the related technologies of music source separation. At present, the main method for music source separation is to train a separate model for each instrument, and then input the music source with this instrument into the model for track separation, resulting in low flexibility of track separation. Moreover, most of them separate tracks by the time-frequency of mixed signals, resulting in low efficiency of separating tracks. Summary of the invention

[0004] The present invention provides a method, device, equipment and storage medium for separating audio tracks based on Buddhist music, which improves the flexibility of separating audio tracks and the working efficiency of separating audio tracks.

[0005] The first aspect of the present invention provides a method for separating tracks based on Buddhist music, comprising: obtaining music data, and splitting the music data into multiple time periods of music data, wherein the music data is Buddhist music data; inputting the music data into a preset weight parameter generator to obtain multiple parameter weights; inputting the multiple parameter weights and the multiple time period music data into a preset extractor model, performing track separation in combination with the resolution of the music data in each time period to generate multiple music track groups, each music track group including multiple types of tracks, the extractor including a linear encoder, an expanded neural network and a decoder; integrating the multiple music track groups according to the multiple types of tracks to obtain multiple target complete tracks.

[0006] Optionally, in a first implementation method of the first aspect of the present invention, the obtaining of music data and splitting the music data into multiple time periods of music data, wherein the music data is Buddhist music data, includes: obtaining music data, wherein the music data is Buddhist music data; reading multiple time parameters from the music data, and dividing the multiple time parameters to obtain multiple time periods; splitting the music data according to each time period to obtain multiple time period music data.

[0007] Optionally, in a second implementation method of the first aspect of the present invention, inputting the music data into a preset weight parameter generator to obtain multiple parameter weights includes: performing feature extraction on the music data to obtain a music feature vector; inputting the music feature vector into a preset weight parameter generator network to obtain multiple parameter weights, and the multiple parameter weights are used to represent the relationship between multiple musical instruments and vocals in the music data.

[0008] Optionally, in a third implementation of the first aspect of the present invention, the multiple parameter weights and the multiple time period music data are input into a preset extractor model, and the audio tracks are separated in combination with the resolution of the music data of each time period to generate multiple music track groups, each music track group includes multiple types of tracks, and the extractor includes a linear encoder, an expansion neural network and a decoder, including: inputting the multiple time period music data into the linear encoder of a preset extractor model in sequence, and generating multiple frequency vectors to be convolved in combination with the parameter weights and the music data of each time period; convolving the multiple frequency vectors to be convolved in sequence according to the expansion neural network in the extractor model to obtain multiple expansion convolution vectors; decoding the multiple expansion convolution vectors in sequence according to the decoder in the extractor model to obtain multiple music track groups, each music track group includes multiple types of tracks, and the extractor includes a linear encoder, an expansion neural network and a decoder.

[0009] Optionally, in a fourth implementation method of the first aspect of the present invention, the step of sequentially inputting the music data of the multiple time periods into the linear encoder of a preset extractor model, and combining the parameter weights and the music data of each time period to generate multiple frequency vectors to be convolved includes: performing feature extraction on the music data of each time period to obtain multiple music feature vectors of the time period; sequentially inputting the music feature vector of each time period into the linear encoder of the preset extractor model, and convolving the music feature vector of each time period in a preset one-dimensional multi-kernel convolution layer to obtain multiple one-dimensional convolution vectors; normalizing the multiple one-dimensional convolution vectors in sequence in combination with a preset short-time Fourier transform spectrogram to obtain multiple frequency normalized convolution vectors; performing linear transformation on the multiple frequency normalized convolution vectors to obtain multiple linearly transformed convolution vectors; and merging each linearly transformed convolution vector with the parameter weights to obtain multiple frequency vectors to be convolved.

[0010] Optionally, in a fifth implementation manner of the first aspect of the present invention, the step of convolving the multiple frequency vectors to be convolved in sequence according to the dilated neural network in the extractor model to obtain multiple dilated convolution vectors includes: reading multiple resolutions from the multiple frequency vectors to be convolved, and sorting the multiple vectors to be convolved according to the multiple resolutions respectively to obtain multiple resolution vector sequences to be convolved, sorted in order from low to high; using a preset dilated convolution neural network, combining the time period sequence from low to high to perform dilated convolution on each resolution vector sequence to be convolved, to obtain a first dilated convolution vector; using the dilated convolution neural network, combining the first dilated convolution vector and the time period sequence from low to high to perform dilated convolution on each resolution vector sequence to be convolved, to obtain a second dilated convolution vector; performing dilated convolution on other resolution vectors to be convolved according to the above steps to obtain other dilated convolution vectors; integrating the first dilated convolution vector, the second dilated convolution vector and the other dilated convolution vectors to obtain multiple dilated convolution vectors.

[0011] Optionally, in a sixth implementation manner of the first aspect of the present invention, the decoder in the extractor model decodes the multiple dilated convolution vectors in sequence to obtain multiple music track groups, each music track group includes multiple types of tracks, and the extractor includes a linear encoder, a dilated neural network, and a decoder including: reading the corresponding vector dimension from each dilated convolution vector: inputting each dilated convolution vector into the decoding of the extractor model, using a preset one-dimensional deep neural convolution network to decode the corresponding dilated convolution vector according to the target vector dimension, and generating multiple initial music track groups and corresponding music track probability groups; based on the multiple initial probability music track groups and the corresponding music track probability groups, multiple music track groups are obtained, each music track group includes multiple types of tracks, and the extractor includes a linear encoder, an dilated neural network, and a decoder.

[0012] The second aspect of the present invention provides a track separation device based on Buddhist music, including: an acquisition module, used to acquire music data and split the music data into multiple time period music data, wherein the music data is Buddhist music data; a weight parameter generation module, used to input the music data into a preset weight parameter generator to obtain multiple parameter weights; a track separation module, used to input the multiple parameter weights and the multiple time period music data into a preset extractor model, and perform track separation in combination with the resolution of the music data in each time period to generate multiple music track groups, each music track group includes multiple types of tracks, and the extractor includes a linear encoder, an expansion neural network and a decoder; an integration module, used to integrate multiple music track groups according to multiple types of tracks to obtain multiple target complete tracks.

[0013] Optionally, in a first implementation method of the second aspect of the present invention, the acquisition module is specifically used to: acquire music data, which is Buddhist music data; read multiple moment parameters from the music data, and divide the multiple moment parameters to obtain multiple time periods; split the music data according to each time period to obtain multiple time period music data.

[0014] Optionally, in a second implementation of the second aspect of the present invention, the weight parameter generation module is specifically used to: perform feature extraction on the music data to obtain a music feature vector; input the music feature vector into a preset weight parameter generator network to obtain a plurality of parameter weights, and the plurality of parameter weights are used to represent the relationship between a plurality of musical instruments and vocals in the music data.

[0015] Optionally, in a third implementation of the second aspect of the present invention, the track separation module includes: an encoding unit, used to input the music data of the multiple time periods into a linear encoder of a preset extractor model in sequence, and generate a plurality of frequency vectors to be convolved in combination with the parameter weights and the music data of each time period; a convolution unit, used to convolve the multiple frequency vectors to be convolved in sequence according to the dilated neural network in the extractor model to obtain a plurality of dilated convolution vectors; a decoding unit, used to decode the multiple dilated convolution vectors in sequence according to the decoder in the extractor model to obtain a plurality of music track groups, each music track group including multiple types of tracks, and the extractor includes a linear encoder, an dilated neural network and a decoder.

[0016] Optionally, in a fourth implementation method of the second aspect of the present invention, the encoding unit is specifically used to: perform feature extraction on the music data of each time period to obtain multiple music feature vectors for the time period; input the music feature vector of each time period into the linear encoder of the preset extractor model in sequence, and convolve the music feature vector of each time period in the preset one-dimensional multi-kernel convolution layer to obtain multiple one-dimensional convolution vectors; normalize the multiple one-dimensional convolution vectors in sequence in combination with a preset short-time Fourier transform spectrogram to obtain multiple frequency normalized convolution vectors; perform linear transformation on the multiple frequency normalized convolution vectors to obtain multiple linearly transformed convolution vectors; merge each linearly transformed convolution vector with the parameter weight to obtain multiple frequency vectors to be convolved.

[0017] Optionally, in a fifth implementation manner of the second aspect of the present invention, the convolution unit is specifically used to: read multiple resolutions from the multiple frequency vectors to be convolved, and sort the multiple vectors to be convolved by the multiple resolutions respectively to obtain multiple resolution vector sequences to be convolved, sorted in order from low to high; use a preset dilated convolution neural network to perform dilated convolution on each resolution vector sequence to be convolved in combination with a time period order from low to high to obtain a first dilated convolution vector; use the dilated convolution neural network to perform dilated convolution on each resolution vector sequence to be convolved in combination with the first dilated convolution vector and a time period order from low to high to obtain a second dilated convolution vector; perform dilated convolution on other resolution vectors to be convolved according to the above steps to obtain other dilated convolution vectors; integrate the first dilated convolution vector, the second dilated convolution vector and the other dilated convolution vectors to obtain multiple dilated convolution vectors.

[0018] Optionally, in a sixth implementation manner of the second aspect of the present invention, the decoding unit is further specifically used to: read the corresponding vector dimension from each dilated convolution vector: input each dilated convolution vector into the decoding of the extractor model, and use a preset one-dimensional deep neural convolution network to decode the corresponding dilated convolution vector according to the target vector dimension to generate multiple initial music track groups and corresponding music track probability groups; based on the multiple initial probability music track groups and the corresponding music track probability groups, multiple music track groups are obtained, each music track group includes multiple types of tracks, and the extractor includes a linear encoder, an dilated neural network and a decoder.

[0019] The third aspect of the present invention provides a Buddhist music-based audio track separation device, comprising: a memory and at least one processor, wherein instructions are stored in the memory, and the memory and the at least one processor are interconnected via lines; the at least one processor calls the instructions in the memory so that the Buddhist music-based audio track separation device executes the above-mentioned Buddhist music-based audio track separation method.

[0020] A fourth aspect of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores instructions, which, when executed on a computer, enable the computer to execute the above-mentioned method for separating audio tracks based on Buddhist music.

[0021] In the technical solution provided by the present invention, music data is obtained, and the music data is split into multiple time periods of music data, and the music data is Buddhist music data; the music data is input into a preset weight parameter generator to obtain multiple parameter weights; the multiple parameter weights and the multiple time period music data are input into a preset extractor model, and the resolution of the music data of each time period is combined to perform track separation to generate multiple music track groups, each music track group includes multiple types of tracks, and the extractor includes a linear encoder, an expansion neural network and a decoder; according to the multiple types of tracks, the multiple music track groups are integrated to obtain multiple target complete tracks. In the embodiment of the present invention, multiple parameter weights are generated based on the music data, and the parameterization of specific musical instruments is realized, thereby improving the flexibility of the extractor model in separating tracks; and the track separation is performed in a multi-time period and multi-resolution manner in combination with the linear encoder, thereby improving the work efficiency of separating tracks. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] Figure 1 A schematic diagram of an embodiment of a method for separating audio tracks based on Buddhist music in an embodiment of the present invention;

[0023] Figure 2 It is a schematic diagram of another embodiment of the method for separating audio tracks based on Buddhist music in an embodiment of the present invention;

[0024] Figure 3 It is a schematic diagram of an embodiment of a device for separating audio tracks based on Buddhist music in an embodiment of the present invention;

[0025] Figure 4 It is a schematic diagram of another embodiment of the audio track separation device based on Buddhist music in an embodiment of the present invention;

[0026] Figure 5 It is a schematic diagram of an embodiment of a track separation device based on Buddhist music in an embodiment of the present invention. DETAILED DESCRIPTION

[0027] The embodiments of the present invention provide a method, device, equipment and storage medium for separating audio tracks based on Buddhist music, which are used to improve the flexibility of separating audio tracks and the working efficiency of separating audio tracks.

[0028] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "including" or "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0029] For ease of understanding, the specific process of the embodiment of the present invention is described below. Figure 1 , an embodiment of the method for separating audio tracks based on Buddhist music in an embodiment of the present invention includes:

[0030] 101. Acquire music data, and split the music data into music data of multiple time periods, where the music data is Buddhist music data;

[0031] The server obtains music data which is Buddhist music data, and then divides the music data into music data of a plurality of time periods.

[0032] It should be noted that, since the neural network used in the present invention to separate the audio tracks is a time-series neural network, the music data is split into multiple time-period music data according to the time period. There are several frequently appearing musical instruments in Buddhist music data, namely wooden fish, drums, bells, zithers and other musical instruments. These frequently appearing musical instruments are combined with human voice to form six components. The present invention mainly obtains a piece of Buddhist music, and the server separates the audio tracks according to these six components, and finally obtains six music tracks, each of which is for users to sing Buddhist music again or practice playing musical instruments.

[0033] It is understandable that the execution subject of the present invention may be a track separation device based on Buddhist music, or a terminal or a server, which is not limited here. The embodiment of the present invention is described by taking the server as the execution subject as an example.

[0034] 102. Input the music data into a preset weight parameter generator to obtain a plurality of parameter weights;

[0035] The server inputs the music data into a preset weight parameter generator to obtain a plurality of parameter weights.

[0036] It should be noted that in the subsequent multiple convolutions, for each convolution, each parameter weight is shared. The role of the parameter weight is to express the relationship between the instruments and the human voice related to the Buddhist music data. For example, in a piece of Buddhist music data, if the Guzheng is used more, then the parameter weight of the Guzheng is larger, and the relationship between the Guzheng and the human voice is closer. In the subsequent multiple convolutions, multiple parameter weights can also make the convolutions related to each other.

[0037] 103. Input multiple parameter weights and multiple time period music data into a preset extractor model, perform track separation in combination with the resolution of the music data in each time period, and generate multiple music track groups, each music track group includes multiple types of tracks, and the extractor includes a linear encoder, an expansion neural network, and a decoder;

[0038] The server inputs multiple time period music data into a preset extractor model in order of the time periods of the time period music data, and separates the audio tracks in the extractor model by combining multiple parameter weights and the resolution of each time period music data to generate multiple music track groups including multiple types of tracks.

[0039] It should be noted that the extractor model uses a temporal neural network for convolution. During the convolution process, the convolution process of the next layer requires the result of the previous layer. Therefore, it is necessary to input the music data of multiple time periods into the preset extractor model in order from low to high for track separation.

[0040] Track separation in the extractor model mainly includes three stages. The first stage is to encode music data of multiple time periods, the second stage is to convolve the encoding results, and the third stage is to decode the convolution results. The decoding results are multiple music track groups. A music track group includes any number of tracks among wooden fish, drums, bells, guzheng, other instruments and human voices.

[0041] 104. According to multiple types of audio tracks, multiple music audio track groups are integrated to obtain multiple target complete audio tracks.

[0042] The server integrates multiple music track groups into multiple target complete tracks according to multiple types of tracks.

[0043] Specifically, the corresponding first type of track is extracted from each music track group to obtain multiple first type of tracks, and the multiple first type of tracks are integrated to obtain a first target complete track; the corresponding second type of track is extracted from each music track group to obtain multiple second type of tracks, and the multiple second type of tracks are integrated to obtain a second target complete track; the corresponding third type of track is extracted from each music track group to obtain multiple third type of tracks, and the multiple third type of tracks are integrated to obtain a third target complete track; the corresponding fourth type of track is extracted from each music track group to obtain multiple fourth type of tracks, and the multiple fourth type of tracks are integrated to obtain a fourth target complete track; the corresponding fifth type of track is extracted from each music track group to obtain multiple fifth type of tracks, and the multiple fifth type of tracks are integrated to obtain a fifth target complete track; the corresponding sixth type of track is extracted from each music track group to obtain multiple sixth type of tracks, and the multiple sixth type of tracks are integrated to obtain a sixth target complete track.

[0044] In this embodiment, the first target complete audio track, the second target complete audio track, the third target complete audio track, the fourth target complete audio track, the fifth target complete audio track and the sixth target complete audio track are respectively the complete audio track of the wooden fish, the complete audio track of the drum, the complete audio track of the bell, the complete audio track of the guzheng, the complete audio track of other instruments and the complete audio track of the human voice.

[0045] In an embodiment of the present invention, multiple parameter weights are generated based on music data to achieve parameterization of specific musical instruments, thereby improving the flexibility of the extractor model in separating audio tracks; and in combination with a linear encoder, a multi-time period and multi-resolution method is adopted to separate audio tracks, thereby improving the work efficiency of separating audio tracks.

[0046] See also Figure 2 Another embodiment of the method for separating tracks based on Buddhist music in the embodiment of the present invention includes:

[0047] 201. Obtain music data, and split the music data into music data of multiple time periods, where the music data is Buddhist music data.

[0048] The server obtains music data which is Buddhist music data, and then divides the music data into music data of a plurality of time periods.

[0049] It should be noted that, since the neural network used in the present invention to separate the audio tracks is a time-series neural network, the music data is split into multiple time-period music data according to the time period. There are several frequently appearing musical instruments in Buddhist music data, namely wooden fish, drums, bells, zithers and other musical instruments. These frequently appearing musical instruments are combined with human voice to form six components. The present invention mainly obtains a piece of Buddhist music, and the server separates the audio tracks according to these six components, and finally obtains six music tracks, each of which is for users to sing Buddhist music again or practice playing musical instruments.

[0050] Specifically, the server obtains music data, which is Buddhist music data; the server reads multiple time parameters from the music data, and divides the multiple time parameters to obtain multiple time periods; the server splits the music data according to each time period to obtain multiple time period music data.

[0051] The server reads multiple time parameters from the music data, such as 1 second, 2 seconds, ..., 36 seconds, and divides the multiple time parameters according to the time period threshold. For example, if the parameter time period threshold is 12, the server takes every 12 seconds as a time period, and the server frys the music data according to the 12-second time period to obtain music data for 3 time periods.

[0052] 202. Input the music data into a preset weight parameter generator to obtain a plurality of parameter weights;

[0053] The server inputs the music data into a preset weight parameter generator to obtain a plurality of parameter weights.

[0054] It should be noted that in the subsequent multiple convolutions, for each convolution, each parameter weight is shared. The role of the parameter weight is to express the relationship between the instruments and the human voice related to the Buddhist music data. For example, in a piece of Buddhist music data, if the Guzheng is used more, then the parameter weight of the Guzheng is larger, and the relationship between the Guzheng and the human voice is closer. In the subsequent multiple convolutions, multiple parameter weights can also make the convolutions related to each other.

[0055] Specifically, the server extracts features from the music data to obtain a music feature vector; the server inputs the music feature vector into a preset weight parameter generator network to obtain multiple parameter weights, and the multiple parameter weights are used to represent the relationship between multiple musical instruments and human voices in the music data.

[0056] The server extracts features from the music data to obtain a music feature vector. In this embodiment, a one-hot encoding method is used to extract the feature vector, and then the feature vector is input into a preset weight parameter generation network for parameter processing to generate multiple parameter weights.

[0057] 203. Inputting the music data of multiple time periods into the linear encoder of the preset extractor model in sequence, and combining the parameter weight and the music data of each time period to generate multiple frequency vectors to be convolved;

[0058] The server inputs the music data of multiple time periods into a preset linear encoder in order from low to high, and generates multiple frequency vectors to be convolved by combining the parameter weights and the music data of each time period.

[0059] Specifically, the server extracts features from the music data of each time period to obtain multiple music feature vectors for each time period, and the one-hot encoding method is used to extract the music feature vectors for multiple time periods; the server inputs the music feature vectors for each time period into the linear encoder of the preset extractor model in order from low to high time periods, and convolves the music feature vectors for each time period in the preset one-dimensional multi-kernel convolution layer to obtain multiple one-dimensional convolution vectors. The multi-kernel can obtain a wider music frequency range and maintain higher music fidelity; the server normalizes the multiple one-dimensional convolution vectors in turn in combination with a preset short-time Fourier transform (STFT) spectrogram to obtain multiple frequency normalized convolution vectors; the server performs linear transformation on the multiple frequency normalized convolution vectors to obtain multiple linearly transformed convolution vectors; the server merges each linearly transformed convolution vector with the parameter weight to obtain multiple frequency vectors to be convolved.

[0060] The specific process of normalizing multiple one-dimensional convolution vectors in combination with the preset STFT spectrogram is as follows:

[0061] The server first uses the window function of the STFT spectrogram to intercept the music signal for each one-dimensional convolution vector, then uses STFT to analyze the music signal to obtain multiple frequencies, and then moves the window function along the moment of the music signal to obtain the time-frequency distribution; finally, the video distribution is normalized to obtain multiple frequency-normalized convolution vectors.

[0062] It should be noted that the number of one-dimensional convolution vectors, frequency-normalized convolution vectors, linearly transformed convolution vectors, and frequency vectors to be convolved is the same.

[0063] 204. Convolve the multiple frequency vectors to be convolved in sequence according to the dilated neural network in the extractor model to obtain multiple dilated convolution vectors;

[0064] It should be noted that the expansion neural network is a time convolution network. The characteristic of this convolution network is that in the process of convolution, the time convolution of the next layer needs to use the time convolution result of the previous layer, so it is necessary to input the music data of multiple time periods into the preset expansion neural network in order from low to high for convolution. The expansion neural network is not affected by the size of the convolution kernel, and is not affected by stacking many convolution layers. It allows interval sampling during convolution. For example, there are 12 sampling points between 1s and 12s. The expansion neural network can convolve the frequency vector of these 12 sampling points as a whole.

[0065] The server reads multiple resolutions from the multiple frequency vectors to be convolved, and sorts the multiple vectors to be convolved at multiple resolutions respectively to obtain multiple resolution vector sequences to be convolved, sorted in order from low to high; secondly, the server uses a preset dilated convolutional neural network to perform dilated convolution on each sequence of vectors to be convolved at each resolution in combination with the time period order from low to high to obtain a first dilated convolution vector; the server uses a dilated convolutional neural network to perform dilated convolution on each sequence of vectors to be convolved at each resolution in combination with the first dilated convolution vector and the time period order from low to high to obtain a second dilated convolution vector; the server performs dilated convolution on other resolution vectors to be convolved according to the above steps to obtain other dilated convolution vectors; the server integrates the first dilated convolution vector, the second dilated convolution vector and the other dilated convolution vectors to obtain multiple dilated convolution vectors.

[0066] The purpose of sorting multiple resolutions of the vectors to be convolved in multiple time periods is to make the dilated convolutional neural network start convolution from the vectors to be convolved with lower resolutions. Then, in each convolution layer of the subsequent dilated neural network, the vectors to be convolved with higher frequencies in each sequence of vectors to be convolved at each resolution are sampled iteratively. In each convolution layer, the sampling rate, step size, and output size are also increased proportionally, so that the convolution of a sequence of vectors to be convolved at one resolution is completed, and the first dilated convolution vector is obtained. Then, in order from low to high time periods, the dilated convolution vector obtained in the previous time period and the current sequence of vectors to be convolved at the resolution are used as the input of the dilated convolutional neural network in the next time period, thereby obtaining multiple dilated convolution vectors.

[0067] 205. Decoding the plurality of dilated convolution vectors in sequence according to a decoder in the extractor model to obtain a plurality of music track groups, each music track group including a plurality of types of tracks, the extractor including a linear encoder, a dilated neural network and a decoder;

[0068] The server decodes the multiple dilated convolution vectors in sequence to obtain multiple music track groups including multiple types of tracks.

[0069] The server reads the corresponding vector dimension from each dilated convolution vector: the server inputs each dilated convolution vector into the decoding of the extractor model, uses a preset one-dimensional deep neural convolutional network, decodes the corresponding dilated convolution vector according to the target vector dimension, and generates multiple initial music track groups and corresponding music track probability groups; the server obtains multiple music track groups based on the multiple initial probability music track groups and the corresponding music track probability groups, each music track group includes multiple types of tracks, and the extractor includes a linear encoder, a dilated neural network and a decoder.

[0070] It should be noted that in addition to reading the vector dimension from the dilated convolution vector, the server also needs to read the reference vector dimension from the frequency vector to be convolved; assuming that the vector dimension is n and the reference vector dimension is m, at the end of decoding, the server needs to restore the vector dimension n to the reference vector dimension m.

[0071] The server determines the music track with the highest probability as the target music track in the initial music track group based on each corresponding music track probability group, thereby obtaining the music track corresponding to the music data of a time period. The server also performs the same calculation for the music data of other time periods, thereby obtaining multiple music track groups.

[0072] 206. Integrate multiple music track groups according to multiple types of tracks to obtain multiple target complete tracks.

[0073] The server integrates multiple music track groups into multiple target complete tracks according to multiple types of tracks.

[0074] Specifically, the corresponding first type of track is extracted from each music track group to obtain multiple first type of tracks, and the multiple first type of tracks are integrated to obtain a first target complete track; the corresponding second type of track is extracted from each music track group to obtain multiple second type of tracks, and the multiple second type of tracks are integrated to obtain a second target complete track; the corresponding third type of track is extracted from each music track group to obtain multiple third type of tracks, and the multiple third type of tracks are integrated to obtain a third target complete track; the corresponding fourth type of track is extracted from each music track group to obtain multiple fourth type of tracks, and the multiple fourth type of tracks are integrated to obtain a fourth target complete track; the corresponding fifth type of track is extracted from each music track group to obtain multiple fifth type of tracks, and the multiple fifth type of tracks are integrated to obtain a fifth target complete track; the corresponding sixth type of track is extracted from each music track group to obtain multiple sixth type of tracks, and the multiple sixth type of tracks are integrated to obtain a sixth target complete track.

[0075] In an embodiment of the present invention, multiple parameter weights are generated based on music data to achieve parameterization of specific musical instruments, thereby improving the flexibility of the extractor model in separating audio tracks; and in combination with a linear encoder, a multi-time period and multi-resolution method is adopted to separate audio tracks, thereby improving the work efficiency of separating audio tracks.

[0076] The above describes the method for separating the audio tracks based on Buddhist music in the embodiment of the present invention. The following describes the device for separating the audio tracks based on Buddhist music in the embodiment of the present invention. Figure 3 In one embodiment of the present invention, a device for separating tracks based on Buddhist music includes:

[0077] The acquisition module 301 is used to acquire music data and split the music data into multiple time periods of music data, where the music data is Buddhist music data;

[0078] A weight parameter generating module 302, for inputting music data into a preset weight parameter generator to obtain a plurality of parameter weights;

[0079] The track separation module 303 is used to input multiple parameter weights and multiple time period music data into a preset extractor model, perform track separation in combination with the resolution of the music data in each time period, and generate multiple music track groups, each music track group includes multiple types of tracks, and the extractor includes a linear encoder, an expansion neural network and a decoder;

[0080] The integration module 304 is used to integrate multiple music track groups according to multiple types of tracks to obtain multiple target complete tracks.

[0081] In an embodiment of the present invention, multiple parameter weights are generated based on music data to achieve parameterization of specific musical instruments, thereby improving the flexibility of the extractor model in separating audio tracks; and in combination with a linear encoder, a multi-time period and multi-resolution method is adopted to separate audio tracks, thereby improving the work efficiency of separating audio tracks.

[0082] See also Figure 4 Another embodiment of the audio track separation device based on Buddhist music in the embodiment of the present invention includes:

[0083] The acquisition module 301 is used to acquire music data and split the music data into multiple time periods of music data, wherein the music data is Buddhist music data;

[0084] A weight parameter generating module 302, used for inputting the music data into a preset weight parameter generator to obtain a plurality of parameter weights;

[0085] A track separation module 303 is used to input the multiple parameter weights and the multiple time period music data into a preset extractor model, perform track separation in combination with the resolution of the music data in each time period, and generate multiple music track groups, each music track group includes multiple types of tracks, and the extractor includes a linear encoder, an expansion neural network and a decoder;

[0086] The integration module 304 is used to integrate multiple music track groups according to multiple types of tracks to obtain multiple target complete tracks.

[0087] Optionally, the acquisition module 301 may also be specifically used for:

[0088] Acquiring music data, wherein the music data is Buddhist music data;

[0089] Reading a plurality of time parameters from the music data, and dividing the plurality of time parameters to obtain a plurality of time periods;

[0090] The music data is split according to each time period to obtain music data for multiple time periods.

[0091] Optionally, the weight parameter generating module 302 may also be specifically used for:

[0092] Extracting features from the music data to obtain a music feature vector;

[0093] The music feature vector is input into a preset weight parameter generator network to obtain a plurality of parameter weights, and the plurality of parameter weights are used to represent the relationship between a plurality of musical instruments and human voices in the music data.

[0094] Optionally, the audio track separation module 303 includes:

[0095] The encoding unit 3031 is used to sequentially input the music data of the plurality of time periods into a linear encoder of a preset extractor model, and generate a plurality of frequency vectors to be convolved by combining the parameter weights and the music data of each time period;

[0096] A convolution unit 3032 is used to sequentially convolve the multiple frequency vectors to be convolved according to the dilated neural network in the extractor model to obtain multiple dilated convolution vectors;

[0097] The decoding unit 3033 is used to decode the multiple dilated convolution vectors in sequence according to the decoder in the extractor model to obtain multiple music track groups.

[0098] Optionally, the encoding unit 3031 may also be specifically used for:

[0099] Extracting features from the music data of each time period to obtain music feature vectors of multiple time periods;

[0100] Inputting the music feature vector of each time period into the linear encoder of the preset extractor model in sequence, and convolving the music feature vector of each time period in the preset one-dimensional multi-kernel convolution layer to obtain multiple one-dimensional convolution vectors;

[0101] Normalizing the multiple one-dimensional convolution vectors in sequence in combination with a preset short-time Fourier transform spectrogram to obtain multiple frequency-normalized convolution vectors;

[0102] Performing linear transformation on the multiple frequency-normalized convolution vectors to obtain multiple linearly transformed convolution vectors;

[0103] Each convolution vector after linear transformation is combined with the parameter weight to obtain multiple frequency vectors to be convolved.

[0104] Optionally, the convolution unit 3032 may also be specifically used for:

[0105] Reading multiple resolutions from the multiple frequency vectors to be convolved, and sorting the multiple vectors to be convolved by the multiple resolutions respectively to obtain multiple sequences of vectors to be convolved at multiple resolutions, sorted in order from low to high;

[0106] Using a preset dilated convolutional neural network, each sequence of vectors to be convolved with each resolution is dilated and convolved in combination with a time period sequence from low to high, to obtain a first dilated convolution vector;

[0107] Using the dilated convolutional neural network, combining the first dilated convolution vector and the time period sequence from low to high, dilated convolution is performed on each sequence of vectors to be convolved at each resolution to obtain a second dilated convolution vector;

[0108] According to the above steps, dilated convolution is performed on other resolutions of the to-be-convolved vectors to obtain other dilated convolution vectors;

[0109] The first dilated convolution vector, the second dilated convolution vector, and the other dilated convolution vectors are integrated to obtain a plurality of dilated convolution vectors.

[0110] Optionally, the decoding unit 3033 may also be specifically configured to:

[0111] Read the corresponding vector dimension from each dilated convolution vector:

[0112] Inputting each dilated convolution vector into the decoding of the extractor model, using a preset one-dimensional deep neural convolutional network to decode the corresponding dilated convolution vector according to the target vector dimension, and generating multiple initial music track groups and corresponding music track probability groups;

[0113] Based on the multiple initial probability music track groups and the corresponding music track probability groups, multiple music track groups are obtained, each music track group includes multiple types of tracks, and the extractor includes a linear encoder, an expanded neural network and a decoder.

[0114] In an embodiment of the present invention, multiple parameter weights are generated based on music data to achieve parameterization of specific musical instruments, thereby improving the flexibility of the extractor model in separating audio tracks; and in combination with a linear encoder, a multi-time period and multi-resolution method is adopted to separate audio tracks, thereby improving the work efficiency of separating audio tracks.

[0115] above Figure 3 and Figure 4 The audio track separation device based on Buddha music in the embodiment of the present invention is described in detail from the perspective of modular functional entities, and the audio track separation device based on Buddha music in the embodiment of the present invention is described in detail from the perspective of hardware processing.

[0116] Figure 5 1 is a schematic diagram of the structure of a Buddha music-based audio track separation device provided by an embodiment of the present invention. The Buddha music-based audio track separation device 500 may have relatively large differences due to different configurations or performances, and may include one or more processors (central processing units, CPU) 510 (for example, one or more processors) and a memory 520, and one or more storage media 530 (for example, one or more mass storage devices) storing application programs 533 or data 532. Among them, the memory 520 and the storage medium 530 can be short-term storage or permanent storage. The program stored in the storage medium 530 may include one or more modules (not shown in the figure), and each module may include a series of instruction operations in the Buddha music-based audio track separation device 500. Furthermore, the processor 510 may be configured to communicate with the storage medium 530 to execute a series of instruction operations in the storage medium 530 on the Buddha music-based audio track separation device 500.

[0117] The audio track separation device 500 based on Fo Le can also include one or more power supplies 540, one or more wired or wireless network interfaces 550, one or more input and output interfaces 560, and / or, one or more operating systems 531, such as Windows Serve, Mac OS X, Unix, Linux, FreeBSD, etc. It can be understood by those skilled in the art that Figure 5 The structure of the Buddha music-based audio track separation device shown does not constitute a limitation of the Buddha music-based audio track separation device, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.

[0118] Furthermore, the computer-usable storage medium may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function, etc.; the data storage area may store data created according to the use of the blockchain node, etc.

[0119] The present invention also provides a computer-readable storage medium, which may be a non-volatile computer-readable storage medium or a volatile computer-readable storage medium. Instructions are stored in the computer-readable storage medium. When the instructions are executed on a computer, the computer executes the steps of the Buddhist music-based audio track separation method.

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

[0121] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art or the whole or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program code.

[0122] The blockchain referred to in this invention is a new application mode of computer technologies such as distributed data storage, peer-to-peer transmission, consensus mechanism, encryption algorithm, etc. Blockchain is essentially a decentralized database, a string of data blocks generated by cryptographic methods. Each data block contains a batch of network transaction information, which is used to verify the validity of its information (anti-counterfeiting) and generate the next block. Blockchain can include the underlying blockchain platform, platform product service layer, and application service layer.

[0123] As described above, the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features thereof may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for separating audio tracks based on Buddhist music, characterized in that: The audio track separation method based on Buddhist music comprises: Acquire music data, and split the music data into multiple time periods of music data, wherein the music data is Buddhist music data; Inputting the music data into a preset weight parameter generator to obtain a plurality of parameter weights; Input the plurality of parameter weights and the plurality of time period music data into a preset extractor model, perform track separation in combination with the resolution of the music data of each time period, and generate a plurality of music track groups, each of which includes multiple types of tracks, wherein the extractor includes a linear encoder, an expansion neural network, and a decoder; According to multiple types of tracks, multiple music track groups are integrated to obtain multiple target complete tracks; The step of inputting the music data into a preset weight parameter generator to obtain a plurality of parameter weights comprises: extracting features from the music data to obtain a music feature vector; inputting the music feature vector into a preset weight parameter generator network to obtain a plurality of parameter weights, wherein the plurality of parameter weights are used to represent the relationship between a plurality of musical instruments and human voices in the music data; The method comprises: inputting the plurality of parameter weights and the plurality of time period music data into a preset extractor model, performing track separation in combination with the resolution of the music data of each time period, generating a plurality of music track groups, each of which includes multiple types of tracks, and the extractor comprises a linear encoder, an expansion neural network and a decoder, comprising: sequentially inputting the plurality of time period music data into a linear encoder of a preset extractor model, and generating a plurality of frequency vectors to be convolved in combination with the parameter weights and the music data of each time period; sequentially convolving the plurality of frequency vectors to be convolved according to the expansion neural network in the extractor model to obtain a plurality of expansion convolution vectors; sequentially decoding the plurality of expansion convolution vectors according to the decoder in the extractor model to obtain a plurality of music track groups, each of which includes multiple types of tracks, and the extractor comprises a linear encoder, an expansion neural network and a decoder; The step of sequentially inputting the music data of the multiple time periods into the linear encoder of the preset extractor model, and combining the parameter weights and the music data of each time period to generate multiple frequency vectors to be convolved includes: extracting features from the music data of each time period to obtain multiple music feature vectors of the time period; sequentially inputting the music feature vector of each time period into the linear encoder of the preset extractor model, and convolving the music feature vector of each time period in a preset one-dimensional multi-kernel convolution layer to obtain multiple one-dimensional convolution vectors; normalizing the multiple one-dimensional convolution vectors in sequence in combination with a preset short-time Fourier transform spectrogram to obtain multiple frequency normalized convolution vectors; linearly transforming the multiple frequency normalized convolution vectors to obtain multiple linearly transformed convolution vectors; merging each linearly transformed convolution vector with the parameter weights to obtain multiple frequency vectors to be convolved; The step of sequentially convolving the multiple frequency vectors to be convolved according to the dilated neural network in the extractor model to obtain multiple dilated convolution vectors includes: reading multiple resolutions from the multiple frequency vectors to be convolved, and sorting the multiple frequency vectors to be convolved based on the multiple resolutions to obtain multiple resolution vector sequences to be convolved, sorted in order from low to high; using a preset dilated convolution neural network, selecting a first resolution vector sequence to be convolved in order from low to high for dilated convolution to obtain a first dilated convolution vector, selecting a second resolution vector sequence to be convolved in order from low to high, and performing dilated convolution in combination with the first dilated convolution vector obtained in the previous time period to obtain a second dilated convolution vector, and so on, performing dilated convolution in combination with the dilated convolution vector obtained in the previous time period and the current resolution vector sequence to be convolved selected in order from low to high time periods, until the dilated convolution of all resolution vector sequences to be convolved is completed to obtain multiple dilated convolution vectors.

2. The method for separating audio tracks based on Buddhist music according to claim 1, characterized in that: The music data is obtained and divided into music data of multiple time periods, wherein the music data is Buddhist music data including: Acquiring music data, wherein the music data is Buddhist music data; Reading a plurality of time parameters from the music data, and dividing the plurality of time parameters to obtain a plurality of time periods; The music data is split according to each time period to obtain music data for multiple time periods.

3. The method for separating audio tracks based on Buddhist music according to claim 1, characterized in that: The decoder in the extractor model sequentially decodes the plurality of dilated convolution vectors to obtain a plurality of music track groups, each music track group including multiple types of tracks, the extractor including a linear encoder, a dilated neural network and a decoder including: Read the corresponding vector dimension from each dilated convolution vector: Inputting each dilated convolution vector into the decoding of the extractor model, using a preset one-dimensional deep neural convolutional network to decode the corresponding dilated convolution vector according to the target vector dimension, and generating multiple initial music track groups and corresponding music track probability groups; Based on the multiple initial music track groups and the corresponding music track probability groups, multiple music track groups are obtained, each music track group includes multiple types of tracks, and the extractor includes a linear encoder, an expanded neural network and a decoder.

4. A sound track separation device based on Buddhist music, characterized in that: The audio track separation device based on Buddhist music comprises: An acquisition module, used for acquiring music data and splitting the music data into music data of multiple time periods, wherein the music data is Buddhist music data; A weight parameter generating module, used for inputting the music data into a preset weight parameter generator to obtain a plurality of parameter weights; A track separation module, used for inputting the plurality of parameter weights and the plurality of time period music data into a preset extractor model, performing track separation in combination with the resolution of the music data in each time period, and generating a plurality of music track groups, each of which includes multiple types of tracks, wherein the extractor includes a linear encoder, an expansion neural network, and a decoder; An integration module is used to integrate multiple music track groups according to multiple types of tracks to obtain multiple target complete tracks; The weight parameter generation module is specifically used to: extract features from the music data to obtain a music feature vector; input the music feature vector into a preset weight parameter generator network to obtain a plurality of parameter weights, wherein the plurality of parameter weights are used to represent the relationship between a plurality of musical instruments and human voices in the music data; The track separation module includes: an encoding unit, which is used to sequentially input the music data of the multiple time periods into a linear encoder of a preset extractor model, and generate multiple frequency vectors to be convolved in combination with the parameter weight and the music data of each time period; a convolution unit, which is used to sequentially convolve the multiple frequency vectors to be convolved according to the expansion neural network in the extractor model to obtain multiple expansion convolution vectors; a decoding unit, which is used to sequentially decode the multiple expansion convolution vectors according to the decoder in the extractor model to obtain multiple music track groups, each music track group includes multiple types of tracks, and the extractor includes a linear encoder, an expansion neural network and a decoder; The encoding unit is specifically used for: extracting features from the music data of each time period to obtain multiple music feature vectors of each time period; inputting the music feature vectors of each time period into the linear encoder of the preset extractor model in sequence, and convolving the music feature vectors of each time period in the preset one-dimensional multi-kernel convolution layer to obtain multiple one-dimensional convolution vectors; normalizing the multiple one-dimensional convolution vectors in sequence in combination with the preset short-time Fourier transform spectrogram to obtain multiple frequency normalized convolution vectors; linearly transforming the multiple frequency normalized convolution vectors to obtain multiple linearly transformed convolution vectors; merging each linearly transformed convolution vector with the parameter weight to obtain multiple frequency vectors to be convolved; The convolution unit is specifically used to: read multiple resolutions from the multiple frequency vectors to be convolved, and sort the multiple frequency vectors to be convolved based on the multiple resolutions to obtain multiple resolution vector sequences to be convolved, sorted in order from low to high; use a preset dilated convolutional neural network to select a first resolution vector sequence to be convolved in order from low to high for dilated convolution to obtain a first dilated convolution vector, select a second resolution vector sequence to be convolved in order from low to high, and perform dilated convolution in combination with the first dilated convolution vector obtained in the previous time period to obtain a second dilated convolution vector, and so on, combine the dilated convolution vector obtained in the previous time period with the current resolution vector sequence to be convolved selected in order from low to high time periods to perform dilated convolution, until the dilated convolution of all resolution vector sequences to be convolved is completed to obtain multiple dilated convolution vectors.

5. A track separation device based on Buddhist music, characterized in that: The audio track separation device based on Buddha music comprises: a memory and at least one processor, the memory stores instructions, and the memory and the at least one processor are interconnected via a line; The at least one processor calls the instructions in the memory to enable the Buddhist music-based audio track separation device to perform the Buddhist music-based audio track separation method as described in any one of claims 1-3.

6. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for separating audio tracks based on Buddhist music as described in any one of claims 1 to 3 is implemented.