Tone mixing method and device, audio processing method and device, electronic device, storage medium
By reducing and upgrading the dimensionality of the timbre feature sequence, the problem of unstable and unnatural timbre mixing is solved, and natural and stable audio output is achieved, which is suitable for fields such as speech synthesis and speech conversion.
Patent Information
- Application Number
- CN202311864508.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-29
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2043-12-29
AI Technical Summary
In existing audio processing technology, especially in the fields of speech synthesis and speech conversion, the problems of unstable, unnatural and large background noise in the mixed timbre limit the application of timbre mixing.
By performing dimensionality reduction on multiple high-dimensional timbre feature sequences, principal component analysis (PCA) and clustering methods are used to generate a fused dimensionality-reduced timbre sequence, and dimensionality is increased through inverse PCA transformation to generate output for controlling the acoustic neural network. Mixed timbre sequence.
It achieves the elimination of noise and interference information while retaining a variety of timbre attributes, generating natural, stable and realistic audio output, improving the processing speed and output stability, and is suitable for a variety of audio output needs.
Smart Images

Figure CN117975933B
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of audio processing, and in particular to a timbre mixing method and device, an audio processing method and device, and related electronic equipment and storage media. Background Art
[0002] In related fields, a variety of audio processing technologies are being developed, including but not limited to text-to-speech (TTS) and voice conversion (VC). These technologies have a wide range of applications, such as in speech synthesis, voice assistants, and audio books. Among these audio processing technologies, especially in the field of speech synthesis, it is hoped that diverse sound effects and personalized audio output can be created.
[0003] The description of the background technology is intended to help understand the relevant technology in the relevant field, and does not constitute an admission that the content of the background technology belongs to the prior art. Summary of the invention
[0004] Therefore, the embodiments of the present application aim to provide a timbre mixing method and device, an audio processing method and device, an electronic device, and a storage medium, thereby proposing an excellent mixed timbre control solution for audio processing technologies, including but not limited to speech synthesis, speech conversion, singing synthesis, etc., and optionally solving or improving at least one of the problems of mixed audio, such as unstable timbre of speech or singing, unnatural timbre, poor sound quality, and high background noise.
[0005] In a first aspect, an embodiment of the present application provides a timbre mixing method, the timbre mixing method comprising:
[0006] Acquire multiple timbre feature sequences;
[0007] Performing dimension reduction on the multiple timbre feature sequences to obtain multiple dimension-reduced timbre sequences;
[0008] fusing the plurality of dimension-reduced timbre sequences to obtain a fused dimension-reduced timbre sequence; and
[0009] The fused reduced-dimensional timbre sequence is dimensionally increased to obtain a mixed timbre sequence for controlling the audio timbre output by the acoustic neural network.
[0010] In some embodiments of the present application, the dimensionality reduction of the multiple timbre feature sequences to obtain multiple reduced-dimensional timbre sequences includes:
[0011] Using PCA transformation to reduce the dimensions of the plurality of timbre feature sequences, and determining the principal component coefficients and means corresponding to the principal component analysis method for reducing the dimensions;
[0012] The step of increasing the dimension of the fused reduced-dimensional timbre sequence to obtain a mixed timbre sequence for controlling the audio timbre output by the acoustic neural network includes:
[0013] Based on the determined principal component coefficients and means, the mixed timbre sequence is dimensionally upgraded using an inverse PCA transformation.
[0014] In some embodiments of the present application, the fusion of the multiple reduced-dimensionality timbre sequences to obtain a fused reduced-dimensionality timbre sequence includes:
[0015] The plurality of dimension-reduced timbre sequences are weightedly summed to obtain the fused dimension-reduced timbre sequence.
[0016] In some embodiments of the present application, the step of obtaining a plurality of timbre feature sequences includes:
[0017] Get multiple initial timbre feature sequences:
[0018] Performing clustering processing on the multiple initial timbre feature sequences;
[0019] The plurality of timbre feature sequences are generated based on cluster centers of the plurality of initial timbre feature sequences.
[0020] In some embodiments of the present application, the multiple timbre feature sequences are dimensionally reduced to obtain multiple dimensionally reduced timbre sequences, including:
[0021] Based on the number of clusters of the multiple initial timbre feature sequences, the dimension reduction dimensions of the multiple timbre feature sequences are determined.
[0022] In a second aspect, an embodiment of the present application provides an audio processing method, the audio processing method comprising:
[0023] Acquire a first control sequence for controlling target audio content;
[0024] Acquire multiple timbre feature sequences;
[0025] Performing dimension reduction on the multiple timbre feature sequences to obtain multiple dimension-reduced timbre sequences;
[0026] fusing the multiple reduced-dimensionality timbre sequences to obtain a fused reduced-dimensionality timbre sequence;
[0027] Performing dimension increase on the fused reduced-dimension timbre sequence to obtain a second control sequence for controlling the target audio timbre; and
[0028] The first control sequence and the second control sequence are input into a given acoustic neural network to obtain a target audio.
[0029] In some embodiments of the present application, the dimensionality reduction of the multiple timbre feature sequences to obtain multiple reduced-dimensional timbre sequences includes: reducing the dimensionality of the multiple timbre feature sequences using PCA transformation, and determining the principal component coefficients and means corresponding to the principal component analysis method;
[0030] The step of increasing the dimension of the fused reduced-dimensional timbre sequence to obtain a mixed timbre sequence for controlling the audio timbre output by the acoustic neural network includes:
[0031] Based on the determined principal component coefficients and means, the mixed timbre sequence is dimensionally upgraded using an inverse PCA transformation.
[0032] In some embodiments of the present application, the fusion of the multiple reduced-dimensionality timbre sequences to obtain a fused reduced-dimensionality timbre sequence includes:
[0033] The plurality of dimension-reduced timbre sequences are weightedly summed to obtain the fused dimension-reduced timbre sequence.
[0034] In some embodiments of the present application, the step of obtaining a plurality of timbre feature sequences includes:
[0035] Get multiple initial timbre feature sequences:
[0036] Performing clustering processing on the multiple initial timbre feature sequences;
[0037] The plurality of timbre feature sequences are generated based on cluster centers of the plurality of initial timbre feature sequences.
[0038] In some embodiments of the present application, the multiple timbre feature sequences are dimensionally reduced to obtain multiple dimensionally reduced timbre sequences, including:
[0039] Based on the number of clusters of the multiple initial timbre feature sequences, the dimension reduction dimensions of the multiple timbre feature sequences are determined.
[0040] In some embodiments of the present application, the audio processing method is a text-to-speech (TTS) method, wherein the first control sequence is a text sequence for synthesizing a target speech, and the acoustic neural network is a speech synthesis model.
[0041] In some embodiments of the present application, the audio processing method is a voice conversion (VC) method, the first control sequence is a speech sequence to be converted for conversion into a target speech, and the acoustic neural network is a speech conversion model.
[0042] In some embodiments of the present application, the step of obtaining a plurality of timbre feature sequences includes: extracting timbre features from the speech sequence to be converted to obtain a first timbre feature sequence, and obtaining one or more second timbre feature sequences provided in advance;
[0043] The step of reducing the dimension of the plurality of timbre feature sequences to obtain a plurality of reduced-dimensional timbre sequences comprises: reducing the dimension of the first timbre feature sequence to obtain a first reduced-dimensional timbre sequence, and reducing the dimension of the one or more second timbre feature sequences to obtain one or more second reduced-dimensional timbre sequences;
[0044] The step of fusing the plurality of reduced-dimensionality timbre sequences to obtain a fused reduced-dimensionality timbre sequence comprises: performing weighted summation of the first reduced-dimensionality timbre sequence and the one or more second reduced-dimensionality timbre sequences to obtain the fused reduced-dimensionality timbre sequence.
[0045] In some embodiments of the present application, the weight of the first reduced-dimensionality timbre sequence is greater than the total weight of the one or more second reduced-dimensionality timbre sequences.
[0046] In some embodiments of the present application, the audio processing method is a singing synthesis method, the first control sequence is a lyrics text sequence for synthesizing a target singing voice, and the acoustic neural network is a singing synthesis model.
[0047] The audio processing method further includes: acquiring a third control sequence for controlling the melody of the target singing voice, wherein the third control sequence includes one or more melody features of the song corresponding to the lyrics text sequence;
[0048] The step of inputting the first control sequence and the second control sequence into a given acoustic neural network to obtain the target audio includes: inputting the first control sequence, the second control sequence and the third control sequence into the singing synthesis model to obtain the target singing.
[0049] In a third aspect, an embodiment of the present application provides a timbre mixing device, the timbre mixing device comprising:
[0050] An acquisition unit configured to acquire a plurality of timbre feature sequences;
[0051] A dimension reduction unit, configured to reduce the dimension of the plurality of timbre feature sequences to obtain a plurality of reduced-dimension timbre sequences;
[0052] a fusion unit configured to fuse the plurality of reduced-dimensionality timbre sequences to obtain a fused reduced-dimensionality timbre sequence; and
[0053] The dimension increasing unit is configured to increase the dimension of the fused reduced-dimensional timbre sequence to obtain a mixed timbre sequence for controlling the audio timbre output by the acoustic neural network.
[0054] In a fourth aspect, an embodiment of the present application provides an audio processing device, the audio processing device comprising:
[0055] A first acquisition unit configured to acquire a first control sequence for controlling target audio content;
[0056] A second acquisition unit is configured to acquire a plurality of timbre feature sequences;
[0057] A dimension reduction unit, configured to reduce the dimension of the plurality of timbre feature sequences to obtain a plurality of reduced-dimension timbre sequences;
[0058] a fusion unit configured to fuse the plurality of reduced-dimensionality timbre sequences to obtain a fused reduced-dimensionality timbre sequence;
[0059] a dimension-increasing unit configured to perform dimension-increasing on the fused reduced-dimensional timbre sequence to obtain a second control sequence for controlling the target audio timbre; and
[0060] An input unit is configured to input the first control sequence and the second control sequence into a given acoustic neural network to obtain a target audio.
[0061] In some embodiments of the present application, the audio processing device includes a speech synthesis device, wherein the first control sequence is a text sequence for synthesizing a target speech, and the acoustic neural network is a speech synthesis model.
[0062] In some embodiments of the present application, the audio processing device includes a speech conversion device, wherein the first control sequence is a speech sequence to be converted for conversion into a target speech, and the acoustic neural network is a speech conversion model.
[0063] In some embodiments of the present application, the audio processing device includes a singing voice synthesis device, wherein the first control sequence is a lyrics text sequence for synthesizing a target singing voice, and the acoustic neural network is a singing voice synthesis model.
[0064] The audio processing device further includes: a third acquisition unit configured to acquire a third control sequence for controlling the melody of the target singing voice, wherein the third control sequence includes one or more melody features of the song corresponding to the lyrics text sequence;
[0065] Wherein, the input unit is configured to input the first control sequence, the second control sequence and the third control sequence into the singing synthesis model to obtain the target singing.
[0066] In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium on which a computer program is stored, wherein when the program is executed by a processor, it implements the method of any embodiment of the present application.
[0067] In a sixth aspect, an embodiment of the present application provides an electronic device, comprising: a processor and a memory storing a computer program, wherein the processor is configured to execute any method of the embodiment of the present application when running the computer program.
[0068] The inventors have noticed that timbre control has been proposed to help create diverse sound effects and provide personalized audio output. The inventors have also noticed that current timbre control schemes rarely involve controlling audio output by mixing timbre. At the same time, the inventors have found that simple timbre feature mixing has the problem of unstable or unnatural timbre after mixing, which limits the application of timbre mixing in audio processing, including but not limited to speech synthesis, speech conversion, singing synthesis and other fields.
[0069] The technical solution of the present application provides a timbre mixing method and a related audio processing method. By reducing the dimension of multiple high-dimensional timbre feature sequences and fusing them in low-dimensional space, a fused dimensionality-reduced timbre sequence is obtained that effectively eliminates noise and interference information while retaining multiple timbre attributes. By increasing the dimension of the fused dimensionality-reduced timbre sequence, a mixed timbre sequence that is ultimately used to control the output of the acoustic neural network is generated. Inputting it into the acoustic model can produce natural, stable and realistic audio output. In addition, the timbre mixing method and the related audio processing method of the present application are also compatible with the Fastspeech model and other existing audio processing models, which improves the processing speed, ensures the stability and naturalness of the output, and is suitable for a variety of audio output requirements.
[0070] Other optional features and technical effects of the embodiments of the present application are partially described below, and partially can be understood by reading this document. BRIEF DESCRIPTION OF THE DRAWINGS
[0071] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use are briefly introduced below. It should be clear that the drawings in the following description only cover some embodiments of the present application, and ordinary technicians in this field can obtain other drawings based on these drawings without performing creative work. The purpose of these drawings is to better illustrate the technical details to help understand the implementation methods of the present application, among which:
[0072] Figure 1 A schematic flow chart showing a speech synthesis method of the prior art;
[0073] Figure 2 A schematic flow chart showing a timbre mixing method according to an embodiment of the present application;
[0074] Figure 3 A schematic flow chart showing a timbre mixing method according to an embodiment of the present application;
[0075] Figure 4A schematic distribution diagram showing the color gathering result of the tone color mixing method according to an embodiment of the present application;
[0076] Figure 5 A schematic flow chart showing an audio processing method according to an embodiment of the present application;
[0077] Figure 6 A schematic structural diagram showing a method for implementing a text-to-speech (TTS) method combined with an audio processing solution of an embodiment of the present application is shown;
[0078] Figure 7 A structural diagram showing an exemplary Fastspeech-based acoustic model architecture for implementing an audio processing method according to an embodiment of the present application;
[0079] Figure 8 A schematic structural diagram showing a voice conversion (VC) method for implementing the audio processing solution in accordance with an embodiment of the present application is shown;
[0080] Fig. 9 A schematic structural diagram showing a song generation method combined with the audio processing solution of an embodiment of the present application is implemented;
[0081] Fig.10 An exemplary structural diagram showing a tone mixing device according to an embodiment of the present application;
[0082] Fig.11 An exemplary structural diagram showing an audio processing device according to an embodiment of the present application; and
[0083] Fig.12 An exemplary structural diagram of an electronic device implementing a method according to an embodiment of the present application. DETAILED DESCRIPTION
[0084] The exemplary embodiments of the present application will be described in detail below, and the illustrations of the examples have been shown in the accompanying drawings. When referring to the drawings, unless otherwise specified, the same numbers or marks in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with one or more embodiments of this specification. Instead, they are only examples of some aspects of the devices and methods covered by one or more embodiments of this specification as detailed in the claims of this application.
[0085] The term "including" and its variations used in this specification are all intended to be broadly inclusive, i.e., "including but not limited to" the items listed. Unless otherwise stated, the term "or" means "and / or", the term "based on" means relying on, or at least partially relying on, the terms "an example embodiment" and "an embodiment" refer to at least one example embodiment, and the term "another embodiment" means at least one different embodiment. The terms "first", "second", etc. may refer to different or the same objects. Other explicit and implicit definitions may also be included below.
[0086] Currently, traditional audio processing technologies such as text-to-speech (TTS) and voice conversion technology have been widely used. Figure 1 As shown, some conventional TTS known to the inventors usually include two main parts: a first acoustic model for generating a Mel spectrum from an input text sequence containing text information and a timbre feature sequence, and a second acoustic model for converting the Mel spectrum into a final target audio waveform.
[0087] However, few existing solutions involve inputting mixed timbre information obtained by mixing two or more timbres. The inventors have found that when obtaining mixed timbre information, if only a rough method of linearly mixing multiple timbres is used, the generated audio, such as the mixed timbre of speech, has problems such as instability, unnaturalness, and high background noise.
[0088] In this regard, the embodiments of the present application provide a timbre mixing method and device, an audio processing method and device that applies the timbre mixing scheme of the embodiments of the present application, and related electronic equipment and storage media. The timbre mixing scheme of the embodiments of the present application introduces the dimension increase and dimension reduction technology of the timbre sequence, which greatly improves the stability and naturalness of the mixed timbre audio generated by the speech synthesis model, and reduces the presence of irrelevant noise. In addition, the timbre mixing scheme of the embodiments of the application can also be widely used in other audio processing technologies based on artificial intelligence neural networks, especially machine learning, such as speech conversion technology and singing synthesis technology, and further effects are produced by combining with these audio processing technologies.
[0089] The method and apparatus may be implemented by one or more computers. In some embodiments, the implementation of these apparatuses may be accomplished by software, hardware, or a combination of software and hardware. In some embodiments, the electronic device or computer may be implemented by a computer described herein or other electronic device capable of performing the corresponding functions.
[0090] In the solution of the embodiment of the present application, Figure 2As shown, a timbre mixing method is provided, and the timbre mixing method may include the following steps:
[0091] S210: Acquire multiple timbre feature sequences.
[0092] In the embodiment of the present application, the timbre refers to specific characteristics of sound, including the frequency distribution, spectrum characteristics, resonance characteristics and vibration mode of sound waves. Each speaker's voice has a unique timbre, which enables people to distinguish different speakers.
[0093] In an embodiment of the present application, the multiple timbre feature sequences are usually in the form of high-dimensional features, for example, in the form of embedding vectors (512 dimensions or 1024 dimensions). In some embodiments of the present application, for example, in the above step S210, multiple timbre embedding vectors containing timbre information can be obtained. In some embodiments of the present invention, the multiple initial timbre feature sequences can be timbre feature sequences of speakers of different genders, different ages, and different emotional states, which are not limited here.
[0094] In some embodiments of the present application, the dimension reduction process described below may be directly performed on the acquired or generated multiple timbre feature sequences (such as embedding vectors).
[0095] In other embodiments of the present application, clustering processing can be advantageously performed on at least part, preferably all, of the multiple timbre feature sequences (such as embedding vectors), and subsequent dimensionality reduction processing can be assisted based on the results of the clustering processing.
[0096] like Figure 3 As shown, in the step of obtaining a plurality of timbre feature sequences, the following steps may be further included:
[0097] S211: Acquire multiple initial timbre feature sequences.
[0098] Similarly, the multiple initial timbre feature sequences are usually in the form of high-dimensional features, such as 512-dimensional or 1024-dimensional Embedding vectors.
[0099] S212: performing clustering processing on the multiple initial timbre feature sequences.
[0100] In the embodiments of the present application, the clustering process refers to a method of grouping objects in a data set. Clustering will divide the data into multiple groups or "clusters" so that the data points in the same cluster are similar to each other, while the data points in different clusters are relatively dissimilar, and thus generate cluster centers, which represent the center point or representative features of each cluster. They can be used to represent the common features of all data points in the cluster. The generated cluster centers can be used for further analysis, feature extraction, or model training tasks.
[0101] In some embodiments of the present application, for example, in the above step S212, the multiple initial timbre feature sequences may be clustered to generate cluster centers corresponding to the multiple initial timbre feature sequences.
[0102] In some embodiments of the present application, the clustering processing may include K-means clustering processing, hierarchical clustering processing, Gaussian mixture model processing, etc., which are not limited here.
[0103] S213: Generate the multiple timbre feature sequences based on the cluster centers of the multiple initial timbre feature sequences.
[0104] In the embodiment of the present invention, each cluster center of the plurality of initial timbre feature sequences represents a typical timbre feature of all timbre feature sequences in the cluster.
[0105] In the embodiment of the present application, for example, in the above step S213, a plurality of timbre feature sequences having typical timbre features of the plurality of initial timbre feature sequences may be generated based on the cluster centers of the plurality of initial timbre feature sequences.
[0106] S220: Perform dimension reduction on the multiple timbre feature sequences to obtain multiple dimension-reduced timbre sequences.
[0107] In an embodiment of the present application, dimensionality reduction implements the process of converting a high-dimensional feature sequence into one or more low-dimensional feature sequences. This process will reduce the complexity of the high-dimensional feature sequence, remove redundant information, and improve computational efficiency, while retaining the main features of the original data as much as possible.
[0108] In an embodiment of the present application, for example in the above step S220, the multiple timbre feature sequences are usually high-dimensional features, such as timbre embedding vectors (512 dimensions or 1024 dimensions), which, in addition to timbre information, also contain some background noise or ambient sound information.
[0109] As mentioned above, in a preferred embodiment of the present application, the dimension reduction can be determined based on the number of clusters. In a specific embodiment of the present application, the above step S220 can further include the following steps: determining the dimension reduction of multiple timbre feature sequences based on the number of clusters of multiple initial timbre feature sequences.
[0110] In an embodiment of the present application, the number of clusters refers to the total number of clusters formed by the multiple initial timbre feature sequences during the clustering process, and in the graphical representation, these clusters may be displayed as different point groups, each point group represents a cluster, and the dimension reduction dimension can be set according to the number of clusters. For example, in one embodiment, the dimension reduction dimension can be determined roughly based on the number of clusters or roughly based on the number of clusters plus a reasonable margin. In an exemplary embodiment, for example, in the above-mentioned step S221, the number of dimensions of the dimension reduction dimension of the multiple timbre feature sequences can be set to 1 to 2 times the number of clusters of the multiple initial timbre feature sequences. In a specific embodiment of the present application, in the above-mentioned step of determining the dimension reduction dimension of multiple timbre feature sequences based on the number of clusters of multiple initial timbre feature sequences, the dimension after dimension reduction can be determined to be 100. In a specific example, for example, the number of clusters is determined to be 76 and the dimension reduction dimension is 100.
[0111] In some embodiments of the present application, in the above step S220, principal component analysis (PCA) can be used to reduce the dimension of the multiple timbre feature sequences, and determine the principal component coefficients and means corresponding to the dimensionality reduction using the principal component analysis method.
[0112] In an embodiment of the present application, the principal component analysis (PCA) is a statistical method for data dimension reduction and feature extraction, and its core idea is to map the original high-dimensional feature space (n dimension) to a new low-dimensional space (k dimension), where k is less than n. In the new low-dimensional space (k dimension), each dimension is a new, mutually orthogonal feature, which is also called a principal component. Principal component analysis (PCA) can find a set of mutually orthogonal coordinate axes in an orderly manner, and the selection of these coordinate axes is closely related to the variance distribution of the original data. First, PCA selects the first new coordinate axis, which is the direction with the maximum variance in the original data. Next, it selects the second new coordinate axis, which is located in a plane orthogonal to the first coordinate axis to maximize the variance. Subsequently, principal component analysis (PCA) selects the third new coordinate axis, which is orthogonal to the first two coordinate axes and maximizes the variance in this plane, and so on, until k new coordinate axes are obtained.
[0113] Through this process, most of the data variance is contained in the first k coordinate axes, while the variance contained in the subsequent coordinate axes is almost negligible. Therefore, the remaining coordinate axes can be safely discarded, and only the first k coordinate axes are retained, which contain most of the data variance information. Thus, principal component analysis (PCA) reduces the dimensionality of data features, retaining the most informative feature dimensions while ignoring feature dimensions with almost no variance.
[0114] For example, in the above step S220, when the principal component analysis method is used to reduce the dimensions of the plurality of timbre feature sequences, it is preferred to also determine the principal component coefficients and means corresponding to the dimensionality reduction of the principal component analysis method.
[0115] In some embodiments, data standardization can be performed during principal component analysis, including but not limited to calculating the mean (mu) and standard deviation of each timbre feature sequence by mean zeroing and standard deviation normalization to ensure that all features are on the same scale. Covariance matrices can also be calculated for standardized multiple timbre feature data sets, and the covariance matrix represents the correlation between different features. In addition, eigenvalue decomposition can also be performed on the covariance matrix to obtain eigenvalues and corresponding eigenvectors. And, the principal component (coeff) can be determined as follows: the eigenvectors are sorted by the size of the eigenvalues, and the first k eigenvectors are selected as the principal component, where k is the number of dimensions after the expected dimensionality reduction. Further, the original multiple timbre feature sequences are projected into a new k-dimensional space using the selected first k eigenvectors to obtain the principal component score (score) of each timbre feature sequence on each principal component, thereby generating multiple timbre feature sequences after dimensionality reduction.
[0116] In an embodiment of the present invention, using a general PCA for dimensionality reduction means using a unified principal component (coeff) and mean (mu), so that the multiple timbre feature sequences obtained after dimensionality reduction will be suitable for mixing with each other in the dimensionality reduction space, for example, suitable for fusion processing in the subsequent step S230.
[0117] In an example of the present application, when the high-dimensional timbre Embedding (1024 dimensions) is reduced to 100 dimensions using PCA to obtain a low-dimensional timbre Embedding_pca (100 dimensions), the timbre Embedding_pca (100 dimensions) is clustered, and Embeddings with similar timbre can still be clustered, such as Figure 4 This shows that directly reducing the dimensions of multiple high-dimensional timbre feature sequences to 100 dimensions, Embedding_pca discards useless features (background noise, ambient sound, etc.), while still preserving most of the required timbre features.
[0118] In the embodiments of the present application, in addition to principal component analysis, independent component analysis (ICA), linear discriminant analysis (LDA), non-negative matrix factorization (NMF) and t-distributed stochastic neighbor embedding (t-SNE) and other methods can also be used to reduce the dimension of multiple timbre feature sequences, without limitation here.
[0119] S230: Fusing multiple reduced-dimensionality timbre sequences to obtain a fused reduced-dimensionality timbre sequence.
[0120] In the embodiment of the present application, the fused reduced-dimensionality timbre sequence obtained by fusion includes the timbre information of the multiple reduced-dimensionality timbre sequences.
[0121] In some embodiments of the present application, for example, in the above step S230, a plurality of reduced-dimensionality timbre sequences may be fused to obtain a fused reduced-dimensionality timbre sequence including the timbre information of the plurality of reduced-dimensionality timbre sequences.
[0122] In some embodiments of the present application, for example, in the above step S230, the plurality of reduced-dimensionality timbre sequences may be weighted and summed to obtain the fused reduced-dimensionality timbre sequence.
[0123] In some embodiments of the present application, for example, in the above step S230, a weighted summation may be performed on the timbre Embeddings of multiple dimensionally reduced timbres to obtain a fused timbre Embedding.
[0124] In a specific embodiment of the present application, for example, the three timbres Embedding_pca_A, Embedding_pca_B and Embedding_pca_C obtained after PCA dimensionality reduction can be weighted and summed according to the following formula to obtain the fused timbre Embedding_pca_X:
[0125] Embedding_pca_X=a*Embedding_pca_A+b*Embedding_pca_B+c*Embedding_pca_C
[0126] Wherein, a, b and c are weight coefficients of the corresponding timbres, and a+b+c = 1. The weight coefficient determines the contribution of each dimension-reduced timbre Embedding in the final Embedding_pca_x, and different fusion timbres can be obtained by using different weight settings.
[0127] The above shows three timbre mixing, but the number of mixed timbre can be greater than or equal to two, and the specific number is not limited.
[0128] S240: Upgrading the fused reduced-dimensionality timbre sequence to obtain a mixed timbre sequence for controlling the audio timbre output by the acoustic neural network.
[0129] In an embodiment of the present application, for example in the above step S240, the fused reduced-dimensionality timbre sequence may be dimensionally upgraded to obtain a mixed timbre sequence whose dimension is the same as that of the original speech synthesis model and is used to control the audio timbre output by the acoustic neural network.
[0130] In some embodiments of the present application, for example, in the above step S240, the mixed timbre sequence may be dimensionally increased using an inverse PCA transformation based on the principal component coefficients and mean values determined in the PCA dimension reduction process. For example, the mixed timbre sequence may be dimensionally increased by an inverse PCA transformation based on the principal component (coeff) and mean value (mu) in the above step S220, which ensures the consistency of the dimension increase process to obtain a mixed timbre sequence suitable for controlling the audio timbre output by the acoustic neural network.
[0131] Therefore, the technical solution of the present application provides a timbre mixing method, which obtains a fused dimensionality-reduced timbre sequence that effectively eliminates noise and interference information while retaining multiple timbre attributes by dimensionality reduction processing and low-dimensional space fusion of multiple high-dimensional timbre feature sequences, and generates a mixed timbre sequence that is ultimately used to control the output of the acoustic neural network by dimensionality-upgrading the fused dimensionality-reduced timbre sequence, which can be input into the acoustic model to produce natural, stable and realistic audio output. The technical solution of the present application provides a timbre mixing method that effectively realizes the accurate extraction of timbre attributes in multiple timbre feature sequences by optionally combining a clustering method before dimensionality reduction.
[0132] As mentioned above, the timbre mixing scheme of the application embodiment can also be widely applied to other audio processing technologies based on artificial intelligence neural networks, especially machine learning, such as voice conversion technology and singing synthesis technology, and further effects can be produced by combining with these audio processing technologies. The following describes the application of the timbre mixing scheme in audio processing technology based on artificial intelligence neural networks in conjunction with specific embodiments.
[0133] In some embodiments of the present application, Figure 5As shown, an audio processing method is also provided, which may include the following steps:
[0134] S510: Acquire a first control sequence for controlling target audio content.
[0135] S520: Acquire multiple timbre feature sequences.
[0136] S530: Perform dimension reduction on the multiple timbre feature sequences to obtain multiple dimension-reduced timbre sequences.
[0137] S540: Fusing multiple reduced-dimensionality timbre sequences to obtain a fused reduced-dimensionality timbre sequence.
[0138] S550: Upgrading the fused reduced-dimensionality timbre sequence to obtain a second control sequence for controlling the target audio timbre.
[0139] S560: Input the first control sequence and the second control sequence into a given acoustic neural network to obtain target audio.
[0140] In some embodiments of the present application, the above-mentioned tone mixing method, for example Figure 2 The timbre mixing method shown and its steps S210 to S240, sub-steps such as steps S211 to S213 or features can be combined with the audio processing method of the embodiment of the present application in a non-contradictory manner, and vice versa, which will not be elaborated here.
[0141] In the embodiments of the present application, the above audio processing method can be applied to a variety of application scenarios.
[0142] In some embodiments of the present application, the audio processing method may be a text-to-speech (TTS) method.
[0143] like Figure 6 An exemplary structural diagram of a speech synthesis method incorporating the timbre mixing scheme of an embodiment of the present application is shown.
[0144] like Figure 6 In the illustrated embodiment, for example in the above step S510, when the audio processing method is applied to speech synthesis technology, the first control sequence for controlling the target audio content may be a text sequence for synthesizing the target speech, and the acoustic neural network is a speech synthesis model.
[0145] like Figure 6 In the illustrated embodiment, the text sequence may be subjected to front-end processing, for example, text normalization, word segmentation, syntactic analysis, and phoneme conversion may be performed on the text sequence to convert the text sequence into a format suitable for acoustic processing, such as similarly performing embedding processing.
[0146] like Figure 6 In the illustrated embodiment, for example, in steps S520 to S550, the timbre mixing scheme described in the embodiment of the present application may be used to perform timbre mixing processing on multiple timbre feature sequences, such as timbre feature sequences 1 to N.
[0147] like Figure 6 As shown, the processed first control sequence (such as a text sequence) and the second control sequence (a timbre control sequence processed with timbre mixing) will be input into a given acoustic neural network, here a text-to-speech (TTS) model. In some embodiments, the text-to-speech (TTS) model may include a first acoustic model at the front end. In some embodiments of the present application, it may be based on the Fastspeech architecture, as described below. After being processed by the first acoustic model, a sound feature Mel spectrum will be generated. In the model, the feature Mel spectrum of the sound generated by combining the two control information can be used as a key intermediate representation in speech synthesis, capturing the key characteristics of the speech to be generated. However, the present application is not intended to limit the intermediate representation of speech synthesis. The feature Mel spectrum will be input into a second acoustic model, which is, for example, a vocoder. In an embodiment of the present application, the second acoustic model, such as a vocoder, may include, but is not limited to, WaveNet, WaveGlow, and WaveRNN, etc., which are not limited here. The vocoder can convert the Mel spectrum into a final audio waveform and output a natural and stable target audio containing a mixed timbre.
[0148] The audio processing method of the embodiment of the present application can also be implemented in combination with the Fastspeech architecture. As mentioned above, the first acoustic model can have a Fastspeech architecture for speech synthesis, such as Figure 7 In the embodiment of the present application, the Fastspeech architecture is a new feedforward network, which has improved performance in many aspects compared with the traditional TTS model. Fastspeech can quickly generate stable, controllable and high-quality mel-spectrograms.
[0149] In some embodiments of the present application, Figure 7 As shown, the Fastspeech architecture model can mainly include a feed-forward transformer block (FFT Block Feed-Forward Transformer Block), a length regulator (Length Regulator), and a linear layer (Linear Layer):
[0150] a. Feed-Forward Transformer Block: It includes a self-attention module and a 1D convolution module, which can convert the input phoneme sequence into a Mel-spectrogram sequence to prepare for the subsequent speech synthesis step.
[0151] b. Length Regulator: Since the length of the phoneme sequence is smaller than the length of the Mel-spectrogram sequence, one phoneme corresponds to multiple Mel-spectrograms. The number of Mel-spectrograms aligned with a phoneme is called the phoneme duration. The length regulator expands the hidden sequence of the phoneme according to the duration to match the length of the Mel-spectrogram sequence. We can increase or decrease the duration of the phoneme proportionally to adjust the speed of the sound.
[0152] c. Linear Layer: The linear layer is a basic neural network layer used to implement linear transformation. In deep learning and neural networks, it is often called a fully connected layer or a dense layer, which can be used to convert the intermediate representation of the network into the final output format, i.e., a mel-spectrogram.
[0153] In some embodiments of the present application, Figure 7 As shown, in combination with step S560, an example of applying the audio processing method of the present application to a speech synthesis model of the Fastspeech architecture to output a synthesized speech with a mixed timbre is described, wherein:
[0154] like Figure 7 As shown, the processed phoneme sequence and the mixed timbre sequence (for example, in the form of embedding) will be input into the feedforward transformer block. In the embodiment of the present application, unlike the conventional Fastspeech architecture that only inputs the phoneme sequence, the phoneme sequence and the mixed timbre sequence are input, and optionally, the phoneme sequence and the mixed timbre sequence can be spliced, for example, the phoneme sequence is located before the timbre sequence.
[0155] The length-adjusted fused phonemes and mixed timbre Embeddings are fed into the Feed-Forward Transformer (FFT) Blocks of Fastspeech, for example, using M FFT Block modules, which will use the self-attention mechanism and 1D convolutional network to process the fused phoneme Embeddings to capture the relationship and contextual information between the fused phonemes and mixed timbre Embeddings.
[0156] The obtained fused phoneme and mixed timbre Embedding sequence are input into the length regulator (LengthRegulator) to adjust the length of the Embedding.
[0157] The Embedding sequence processed by the length adjuster will be sent to the positional encoding module for positional encoding to add further position information to maintain the order information of the Embedding sequence.
[0158] Then, the second FFT Block processing is performed. The Embedding sequence after the second position encoding is sent to M FFT Block modules again to further capture the relationship and context information between the fused phonemes and the mixed timbre Embedding.
[0159] The fused phoneme Embedding sequence processed as above will be input into the linear layer, which will implement linear transformation and convert the fused phoneme Embedding sequence representation into the final sound feature mel-spectrogram.
[0160] Then, as described above and as Figure 6 As shown, the mel-spectrogram may be processed by a second acoustic model, such as a vocoder, to obtain synthesized speech.
[0161] In some embodiments of the present application, the audio processing method may be a voice conversion technology (Voice Conversion).
[0162] In some embodiments of the present application, for example in the above step S510, when the audio processing method is applied to speech conversion technology, the first control sequence may be a speech sequence to be converted into a target speech, and the acoustic neural network may be a speech conversion (VC) model.
[0163] In some embodiments of the present application, for example, in steps S520 to S550, the timbre mixing scheme described in the embodiments of the present application may be used to perform timbre mixing processing on multiple timbre feature sequences.
[0164] In a preferred embodiment of the present application, it is also conceivable to extract the timbre of the speech to be converted for mixing when performing speech conversion.
[0165] like Figure 8 In the illustrated embodiment, when the audio processing method is applied to speech conversion technology, the above step S510 may further include the following steps:
[0166] S511: Extracting timbre features from the speech sequence to be converted to obtain a first timbre feature sequence.
[0167] In the embodiment of the present application, the speech sequence to be converted can be preprocessed by noise reduction, pre-emphasis, and frame division, and then the preprocessed speech sequence to be converted (original speech) is subjected to feature extraction and feature selection to obtain a first timbre feature sequence containing the timbre features of the speech sequence to be converted. The first timbre feature sequence can be extracted by any suitable method, which will not be described in detail here.
[0168] S512: Acquire one or more second timbre feature sequences provided in advance.
[0169] In a preferred embodiment, the second timbre feature sequence may be, for example, a preferred voice that can be used to beautify and optimize the original voice.
[0170] Preferably, the timbre of the original speech can be used as the main one. Fig. 9 As shown, the above step S530 may further include the following steps: reducing the dimension of the first timbre feature sequence to obtain a first reduced-dimensional timbre sequence; reducing the dimension of the one or more second timbre feature sequences to obtain one or more second reduced-dimensional timbre sequences. Correspondingly, the above step S540 may further include the following steps: weighted summing the first reduced-dimensional timbre sequence and the one or more second reduced-dimensional timbre sequences to obtain a fused reduced-dimensional timbre sequence. In such an embodiment, the weight of the first reduced-dimensional timbre sequence is greater than the total weight of the one or more second reduced-dimensional timbre sequences.
[0171] For example, in a specific example, the fusion weight formula can be set as follows:
[0172] Embedding_pca_X=a*Embedding_pca_A+b*Embedding_pca_B+c*Embedding_pca_C
[0173] Wherein, a, b and c are weight coefficients of the first reduced dimension timbre sequence Embedding_pca_A and the two second reduced dimension timbre sequences Embedding_pca_B and Embedding_pca_C, respectively, and a+b+c=1, and a>(b+c). Thus, a fused reduced dimension timbre sequence Embedding_pca_x is finally generated.
[0174] Those skilled in the art will understand that the audio processing method of the embodiment of the present application, here the voice conversion method, can be implemented based on any suitable voice conversion model, as long as it can be combined with the timbre mixing method described in the embodiment of the present application, including but not limited to any voice conversion model based on the self-attention mechanism, and the present application does not limit it here. In an optional embodiment, the voice conversion model can be appropriately modified to be suitable for inputting a voice sequence to be converted and a mixed timbre sequence (for example, in the form of embedding).
[0175] For example Figure 8 As shown, the speech conversion model may include a feature extraction module for extracting features of the speech sequence to be converted and the mixed timbre sequence, and converting them into an intermediate representation, such as a mel-spectrogram, through an acoustic model, and mapping the features of the source speaker to the features of the target speaker (including the mixed timbre features) through feature conversion, and then reconstructing and generating a target speech waveform, for example, through a vocoder, such as WaveNet, WaveGlow, and WaveRNN, etc., which are not limited here. The vocoder can convert the mel-spectrogram into a final audio waveform, and output a target audio with a mixed timbre that retains the speech content of the speech sequence to be converted.
[0176] In some embodiments of the present application, the audio processing method may be a singing synthesis method.
[0177] In some embodiments of the present application, for example in the above step S510, when the audio processing method may be a singing synthesis method, the first control sequence may be a lyrics text sequence for synthesizing the target singing, and the acoustic neural network may be a singing synthesis model.
[0178] In some embodiments of the present application, for example, in steps S520 to S550, the timbre mixing scheme described in the embodiments of the present application may be used to perform timbre mixing processing on multiple timbre feature sequences.
[0179] In some embodiments of the present application, for example, the above step S510 may further include the following steps: obtaining a third control sequence for controlling the target singing melody, wherein the third control sequence includes one or more melody features of the song corresponding to the lyrics text sequence, such as a pitch sequence obtained by extracting pitch features, such as Fig. 9 shown.
[0180] In some embodiments of the present application, the melody feature may be the pitch information of the song corresponding to the lyrics text sequence, specifically, it may be the fundamental frequency (F0) information of the song, and the change of the fundamental frequency constitutes the main line of the melody in the song.
[0181] Accordingly, the above step S560 will include: inputting the first control sequence (text sequence), the second control sequence (mixed timbre sequence) and the third control sequence (melody sequence) into the singing synthesis model to obtain the target singing.
[0182] Those skilled in the art will understand that the audio processing method of the embodiment of the present application, here the singing synthesis method, can be implemented based on any suitable singing synthesis model, as long as it can be combined with the timbre mixing method described in the embodiment of the present application. Preferably, the singing synthesis model may not be limited to a singing synthesis model based on an extension of a speech synthesis model and / or any speech conversion model based on a self-attention mechanism, and the present application does not limit this. In an optional embodiment, the singing synthesis model can be appropriately modified to be suitable for inputting a speech sequence to be converted and a mixed timbre sequence (for example, in the form of an embedding).
[0183] For example Fig. 9 As shown, the singing synthesis model may include a first acoustic model for extracting the features of the speech sequence to be converted, the mixed timbre sequence, and the pitch sequence, and converting them into an intermediate representation such as a Mel-spectrogram through the acoustic model, and generating a target singing waveform through feature conversion.
[0184] The timbre mixing method and audio processing method of the embodiments of the present application realize accurate extraction of timbre attributes of timbre feature sequences through cluster analysis, and by reducing the dimensions of multiple acquired high-dimensional timbre feature sequences to low-dimensional space for fusion, the obtained fused reduced-dimensional timbre sequence can not only retain multiple timbre attributes, but also remove noise and interference information. The fused reduced-dimensional timbre sequence is upgraded to finally obtain a mixed timbre sequence for controlling the output of the acoustic neural network. The mixed timbre sequence is used in the acoustic model to realize natural, stable and realistic audio output controlled by the mixed timbre sequence. The timbre mixing method and audio processing method of the present application can also be used in combination with Fastspeech and a variety of existing audio processing models to realize fast, stable and natural audio output of mixed timbre.
[0185] In some embodiments of the present application, Fig.10 As shown, a timbre mixing device 1000 is also provided, and the timbre mixing device 1000 comprises:
[0186] An acquisition unit 1010 is configured to acquire a plurality of timbre feature sequences;
[0187] A dimension reduction unit 1020 is configured to reduce the dimension of the plurality of timbre feature sequences to obtain a plurality of reduced-dimensional timbre sequences;
[0188] A fusion unit 1030 is configured to fuse the multiple reduced-dimensionality timbre sequences to obtain a fused reduced-dimensionality timbre sequence; and
[0189] The dimension increasing unit 1040 is configured to increase the dimension of the fused reduced-dimensional timbre sequence to obtain a mixed timbre sequence for controlling the audio timbre output by the acoustic neural network.
[0190] In some embodiments of the present application, Fig.11 As shown, an audio processing device 1100 is also provided, and the audio processing device 1100 includes:
[0191] A first acquisition unit 1110 is configured to acquire a first control sequence for controlling target audio content;
[0192] A second acquisition unit 1120 is configured to acquire a plurality of timbre feature sequences;
[0193] A dimension reduction unit 1130 is configured to reduce the dimension of the plurality of timbre feature sequences to obtain a plurality of reduced-dimensional timbre sequences;
[0194] A fusion unit 1140 is configured to fuse the multiple reduced-dimensionality timbre sequences to obtain a fused reduced-dimensionality timbre sequence;
[0195] A dimension increasing unit 1150 is configured to increase the dimension of the fused reduced-dimensional timbre sequence to obtain a second control sequence for controlling the target audio timbre; and
[0196] The input unit 1160 is configured to input the first control sequence and the second control sequence into a given acoustic neural network to obtain a target audio.
[0197] The method and its steps, sub-steps and features in the embodiments of the present application can be combined with the device of the embodiments of the present application in a non-contradictory manner, and the device and its components, modules, units and features in the embodiments of the present application can be combined with the method of the embodiments of the present application in a non-contradictory manner.
[0198] In some embodiments of the present application, an electronic device is provided, which includes a processor and a memory storing a computer program, and the processor is configured to implement any method of the embodiments of the present application when running the computer program.
[0199] Fig.12 A schematic diagram of an electronic device 1200 that can be used to implement the method of an embodiment of the present application or to implement an embodiment of the present application is shown. In some embodiments, the number of electronic devices may be more or less than the number shown. In some embodiments, a single or multiple electronic devices may be used for implementation. In some embodiments, cloud or distributed electronic devices may also be used for implementation.
[0200] like Fig.12As shown, the electronic device 1200 includes a processor 1210 and a memory 1220. The processor is used to execute programs stored in the memory, which can implement the methods, steps or functions described in the above embodiments when executed by the computer. The processor 1210 may include various types of processors, such as a central processing unit (CPU), a graphics processing unit (GPU), a neural network processor (NPU), a digital signal processor (DSP), etc. The processor 1210 and the memory 1220 are interconnected via a bus 1230. The bus 1230 can also be connected to an input / output (I / O) interface, etc.
[0201] Although not shown in the figure, an embodiment of the present application also provides a storage medium, which stores computer programs, which are configured to execute speech synthesis model training and speech synthesis methods related to any embodiment at runtime.
[0202] It should be understood that all operations in the method described above are merely exemplary, and the present disclosure is not limited to any operation in the method or the order of these operations, but should cover all other equivalent transformations under the same or similar concept.
[0203] It should also be understood that all modules in the above described device can be implemented in various ways. These modules can be implemented as hardware, software, or a combination thereof. In addition, any module in these modules can be further divided into submodules or combined together functionally.
[0204] Processors have been described in conjunction with various devices and methods. These processors can be implemented using electronic hardware, computer software or any combination thereof. Whether these processors are implemented as hardware or software will depend on specific application and the overall design constraints imposed on the system. As an example, the processor provided in the present disclosure, any part of the processor or any combination of processors can be implemented as a microprocessor, a microcontroller, a digital signal processor (DSP), a field programmable gate array (FPGA), a programmable logic device (PLD), a state machine, a gate logic, a discrete hardware circuit, and other suitable processing components configured to perform the various functions described in the present disclosure. The function of the processor provided in the present disclosure, any part of the processor or any combination of processors can be implemented as software performed by a microprocessor, a microcontroller, a DSP or other suitable platforms.
[0205] Software should be broadly considered to represent instructions, instruction sets, codes, code segments, program codes, programs, subroutines, software modules, applications, software applications, software packages, routines, subroutines, objects, running threads, processes, functions, etc. Software can reside in a computer-readable medium. A computer-readable medium can include, for example, a memory, which can be, for example, a magnetic storage device (e.g., a hard disk, a floppy disk, a magnetic stripe), an optical disk, a smart card, a flash memory device, a random access memory (RAM), a read-only memory (ROM), a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable PROM (EEPROM), a register, or a removable disk. Although the memory is shown as being separated from the processor in the various aspects provided in the present disclosure, the memory can also be located inside the processor (e.g., a cache or a register).
[0206] The above description is provided to enable any person skilled in the art to implement the various aspects described herein. Various modifications to these aspects are apparent to those skilled in the art, and the general principles defined herein may be applied to other aspects. Therefore, the claims are not intended to be limited to the aspects shown herein. All structural and functional equivalents of elements of various aspects described in this disclosure that are known or to be known to those skilled in the art will be expressly included herein by reference and are intended to be covered by the claims.
Claims
1. A timbre mixing method, It is characterized in that The timbre mixing method comprises: Acquire multiple timbre feature sequences; Performing dimension reduction on the multiple timbre feature sequences to obtain multiple dimension-reduced timbre sequences; fusing the plurality of dimension-reduced timbre sequences to obtain a fused dimension-reduced timbre sequence; and The fused reduced-dimensional timbre sequence is dimensionally increased to obtain a mixed timbre sequence for controlling the audio timbre output by the acoustic neural network.
2. The timbre mixing method according to claim 1, It is characterized in that The step of reducing the dimension of the plurality of timbre feature sequences to obtain a plurality of reduced-dimensional timbre sequences comprises: Using principal component analysis (PCA) transformation to reduce the dimensions of the plurality of timbre feature sequences, and determining principal component coefficients and means corresponding to the dimension reduction; The step of increasing the dimension of the fused reduced-dimensional timbre sequence to obtain a mixed timbre sequence for controlling the audio timbre output by the acoustic neural network includes: Based on the determined principal component coefficients and means, the mixed timbre sequence is dimensionally upgraded using an inverse PCA transformation.
3. The timbre mixing method according to claim 1 or 2, It is characterized in that The step of fusing the plurality of dimension-reduced timbre sequences to obtain a fused dimension-reduced timbre sequence comprises: The plurality of dimension-reduced timbre sequences are weightedly summed to obtain the fused dimension-reduced timbre sequence.
4. The timbre mixing method according to claim 1, It is characterized in that The step of obtaining a plurality of timbre feature sequences comprises: Get multiple initial timbre feature sequences: Performing clustering processing on the multiple initial timbre feature sequences; The plurality of timbre feature sequences are generated based on cluster centers of the plurality of initial timbre feature sequences.
5. The timbre mixing method according to claim 4, It is characterized in that The multiple timbre feature sequences are subjected to dimension reduction to obtain multiple dimension-reduced timbre sequences, including: Based on the number of clusters of the multiple initial timbre feature sequences, the dimension reduction dimensions of the multiple timbre feature sequences are determined.
6. An audio processing method, It is characterized in that The audio processing method comprises: Acquire a first control sequence for controlling target audio content; Acquire multiple timbre feature sequences; Performing dimension reduction on the multiple timbre feature sequences to obtain multiple dimension-reduced timbre sequences; fusing the multiple reduced-dimensionality timbre sequences to obtain a fused reduced-dimensionality timbre sequence; Performing dimension increase on the fused reduced-dimension timbre sequence to obtain a second control sequence for controlling the target audio timbre; and The first control sequence and the second control sequence are input into a given acoustic neural network to obtain a target audio.
7. The audio processing method according to claim 6, It is characterized in that The step of reducing the dimensions of the plurality of timbre feature sequences to obtain a plurality of reduced-dimensional timbre sequences comprises: reducing the dimensions of the plurality of timbre feature sequences by using principal component analysis (PCA) transformation, and determining principal component coefficients and means corresponding to the reduced dimensions; The step of increasing the dimension of the fused reduced-dimensional timbre sequence to obtain a mixed timbre sequence for controlling the audio timbre output by the acoustic neural network includes: Based on the determined principal component coefficients and means, the mixed timbre sequence is dimensionally upgraded using an inverse PCA transformation.
8. The audio processing method according to claim 6, It is characterized in that The step of fusing the plurality of dimension-reduced timbre sequences to obtain a fused dimension-reduced timbre sequence comprises: The plurality of dimension-reduced timbre sequences are weightedly summed to obtain the fused dimension-reduced timbre sequence.
9. The audio processing method according to claim 6, It is characterized in that The step of obtaining a plurality of timbre feature sequences comprises: Get multiple initial timbre feature sequences: Performing clustering processing on the multiple initial timbre feature sequences; The plurality of timbre feature sequences are generated based on cluster centers of the plurality of initial timbre feature sequences.
10. The audio processing method according to claim 9, It is characterized in that The multiple timbre feature sequences are subjected to dimension reduction to obtain multiple dimension-reduced timbre sequences, including: Based on the number of clusters of the multiple initial timbre feature sequences, the dimension reduction dimensions of the multiple timbre feature sequences are determined.
11. The audio processing method according to any one of claims 6 to 10, It is characterized in that The audio processing method is a text-to-speech (TTS) method, wherein the first control sequence is a text sequence for synthesizing a target speech, and the acoustic neural network is a speech synthesis model.
12. The audio processing method according to any one of claims 6 to 10, It is characterized in that The audio processing method is a voice conversion (VC) method, the first control sequence is a to-be-converted voice sequence for conversion into a target voice, and the acoustic neural network is a voice conversion model.
13. The audio processing method according to claim 12, It is characterized in that The step of obtaining a plurality of timbre feature sequences comprises: extracting timbre features from the speech sequence to be converted to obtain a first timbre feature sequence, and obtaining one or more second timbre feature sequences provided in advance; The step of reducing the dimension of the plurality of timbre feature sequences to obtain a plurality of reduced-dimensional timbre sequences comprises: reducing the dimension of the first timbre feature sequence to obtain a first reduced-dimensional timbre sequence, and reducing the dimension of the one or more second timbre feature sequences to obtain one or more second reduced-dimensional timbre sequences; The fusing of the multiple reduced-dimensionality timbre sequences to obtain a fused reduced-dimensionality timbre sequence includes: performing weighted summation of the first reduced-dimensionality timbre sequence and the one or more second reduced-dimensionality timbre sequences to obtain the fused reduced-dimensionality timbre sequence.
14. The audio processing method according to claim 13, It is characterized in that The weight of the first reduced-dimensionality timbre sequence is greater than the total weight of the one or more second reduced-dimensionality timbre sequences.
15. The audio processing method according to any one of claims 6 to 10, It is characterized in that The audio processing method is a singing synthesis method, the first control sequence is a lyrics text sequence for synthesizing a target singing voice, and the acoustic neural network is a singing synthesis model. The audio processing method further includes: acquiring a third control sequence for controlling the melody of the target singing voice, wherein the third control sequence includes one or more melody features of the song corresponding to the lyrics text sequence; The step of inputting the first control sequence and the second control sequence into a given acoustic neural network to obtain the target audio includes: inputting the first control sequence, the second control sequence and the third control sequence into the singing synthesis model to obtain the target singing.
16. A timbre mixing device, It is characterized in that The timbre mixing device comprises: An acquisition unit configured to acquire a plurality of timbre feature sequences; A dimension reduction unit, configured to reduce the dimension of the plurality of timbre feature sequences to obtain a plurality of reduced-dimension timbre sequences; a fusion unit configured to fuse the plurality of reduced-dimensionality timbre sequences to obtain a fused reduced-dimensionality timbre sequence; and The dimension increasing unit is configured to increase the dimension of the fused reduced-dimensional timbre sequence to obtain a mixed timbre sequence for controlling the audio timbre output by the acoustic neural network.
17. An audio processing device, It is characterized in that The audio processing device comprises: A first acquisition unit configured to acquire a first control sequence for controlling target audio content; A second acquisition unit is configured to acquire a plurality of timbre feature sequences; A dimension reduction unit, configured to reduce the dimension of the plurality of timbre feature sequences to obtain a plurality of reduced-dimension timbre sequences; a fusion unit configured to fuse the plurality of reduced-dimensionality timbre sequences to obtain a fused reduced-dimensionality timbre sequence; a dimension-increasing unit configured to perform dimension-increasing on the fused reduced-dimensional timbre sequence to obtain a second control sequence for controlling the target audio timbre; and An input unit is configured to input the first control sequence and the second control sequence into a given acoustic neural network to obtain a target audio.
18. The audio processing device according to claim 17, It is characterized in that The audio processing device includes a speech synthesis device, wherein the first control sequence is a text sequence for synthesizing a target speech, and the acoustic neural network is a speech synthesis model.
19. The audio processing device according to claim 17, It is characterized in that The audio processing device includes a speech conversion device, wherein the first control sequence is a speech sequence to be converted into a target speech, and the acoustic neural network is a speech conversion model.
20. The audio processing device according to claim 17, It is characterized in that The audio processing device includes a singing voice synthesis device, wherein the first control sequence is a lyrics text sequence for synthesizing a target singing voice, and the acoustic neural network is a singing voice synthesis model. The audio processing device further includes: a third acquisition unit configured to acquire a third control sequence for controlling the melody of the target singing voice, wherein the third control sequence includes one or more melody features of the song corresponding to the lyrics text sequence; Wherein, the input unit is configured to input the first control sequence, the second control sequence and the third control sequence into the singing synthesis model to obtain the target singing.
21. An electronic device, It is characterized in that The device comprises a processor and a memory storing a computer program, wherein the processor is configured to implement the method according to any one of claims 1 to 15 when running the computer program.
22. A storage medium, It is characterized in that The storage medium stores a computer program, and the computer program is configured to implement the method according to any one of claims 1 to 15 when executed.
