Music doll orchestra generated based on AIGC music content
By using AIGC technology to classify musical instrument attributes and match actions in audio files in the musical doll orchestra, the problem of low adaptability in music selection and action generation of existing doll toys is solved, and flexible adjustment and multiple interactions of music and actions are achieved.
Patent Information
- Application Number
- CN202310915837.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-24
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2043-07-24
Smart Images

Figure CN116798388B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of smart speakers, and in particular to a music doll orchestra generated based on AIGC music content. Background Art
[0002] With the development of science and technology, there are more and more types of toys, and doll toys that simulate playing musical instruments and performances are popular among people. Currently, this type of doll toy plays pre-compiled music files and makes the toy perform various actions that cater to the rhythm through default music scores and action relationships.
[0003] The current music market is changing rapidly, and this type of doll toy cannot adapt to the requirements of different scenarios, cannot freely select different music sources, edit or re-combine music, and cannot adjust the toy's movements according to new music. Summary of the invention
[0004] The present invention provides a music doll orchestra generated based on AIGC music content, the main purpose of which is to solve the problem of low adaptability of doll toys simulating musical instrument playing and performance in music selection and action generation.
[0005] To achieve the above object, the present invention provides a music doll orchestra generated based on AIGC music content, the music doll orchestra includes at least one music doll and / or a music controller, the music controller runs AIGC application software or is connected to a cloud server with AIGC application software, wherein:
[0006] The music controller is used to classify the instrument attributes of the target audio file through the AIGC application software at the time scale, obtain the track labels of the target audio file at different time scales, and generate the music melody corresponding to the track label, match the target action instructions of different music dolls from the preset action list based on the track label, and send the target action instructions and the music melody to the corresponding music doll;
[0007] Each of the musical figures is used to receive the target action instructions and music melody sent by the music controller, play music according to the received music melody, and control each part to move synchronously according to the received corresponding target action instructions.
[0008] Optionally, each of the musical figures includes a buffer and a beat timer;
[0009] The playing of music according to the received music melody and the controlling of each part to perform synchronous movement according to the received corresponding target action instructions include:
[0010] The received target action instructions and music melody are stored in the cache, and the beat timer is synchronously calibrated among all the music dolls in a wired or wireless manner;
[0011] Based on the synchronized and calibrated beat timer, the music is played according to the received music melody, and the various parts are controlled to move synchronously according to the received corresponding target action instructions.
[0012] Optionally, playing music according to the received music melody and controlling each part to perform synchronous movement according to the received corresponding target action instruction include:
[0013] The hands, arms, waist, head, feet, legs, eyes and lips of each of the musical figures are controlled to move in amplitude, angle, direction and / or speed in different music tracks.
[0014] Optionally, each of the musical dolls includes LED lights of different colors, which are used to change the lights according to preset rules based on the music melody while various parts of the dolls move synchronously according to the target action instructions.
[0015] Optionally, each of the musical dolls is a physical mechanical doll with a speaker function composed of an internal skeleton and external plastic, with different musical instruments and performer shapes, or a speaker device with special markings, wherein the special markings generate images of different musical instruments and performer shapes through AR or VR technology using glasses or head-mounted devices.
[0016] Optionally, the AIGC application software classifies the instrument attributes of the target audio file in a time scale using the following method:
[0017] Convert the target audio file to a target mel spectrogram;
[0018] Performing convolution processing on the target Mel spectrogram at a time scale to obtain preliminary timbre features of the target Mel spectrogram;
[0019] Normalizing the preliminary timbre features to obtain standardized timbre features;
[0020] Performing pooling processing on the standardized timbre features to obtain compressed timbre features;
[0021] Cross-product the compressed color-timbre feature with the preliminary timbre feature to obtain an updated timbre feature;
[0022] Performing iterative convolution, batch normalization, pooling and regularization operations on the updated timbre features to obtain the timbre features of the target mel spectrogram;
[0023] The timbre feature is matched with a preset musical instrument timbre database to obtain track labels of the target audio file at different time scales.
[0024] Optionally, the AIGC application software generates the music melody corresponding to the track label using the following method:
[0025] Encoding the target Mel spectrogram with a preset dimension on a time scale to obtain a multi-dimensional music feature vector;
[0026] The multi-dimensional music feature vector is decoded by using a preset decoder with a greedy regression algorithm to obtain MIDI format features, and a music melody is generated according to the track label and the MIDI format features on a time scale.
[0027] Optionally, the AIGC application software uses the following method to encode the target Mel spectrogram in a preset dimension on a time scale:
[0028] Segmenting the target mel spectrogram according to the beat, and sorting the segmentation results to obtain a mel spectrogram sequence;
[0029] On a time scale, the Mel-spectrogram sequence is encoded from the note, velocity and end symbol dimensions to obtain a multi-dimensional music feature vector.
[0030] Optionally, the AIGC application software encodes the Mel spectrogram sequence from the dimensions of note, velocity and end symbol using the following method:
[0031] Extracting an embedding vector and a position vector of the mel-spectrogram sequence;
[0032] Multiplying the embedding vector and the position vector by a preset first linear transformation matrix, a second linear transformation matrix, and a third linear transformation matrix, respectively, to obtain a query embedding vector, a key embedding vector, a numerical embedding vector, a query position vector, a key position vector, and a numerical position vector;
[0033] Perform a dot multiplication of the query embedding vector and the key embedding vector to obtain an embedding score matrix;
[0034] Performing a dot product of the query position vector and the key position vector to obtain a position score matrix;
[0035] Normalizing the embedding score matrix and the position score matrix respectively to obtain initial embedding weights and initial position weights, and multiplying the initial embedding weights by the numerical embedding vector to obtain a weighted embedding vector, and multiplying the initial position weights by the numerical position vector to obtain a weighted position vector;
[0036] Concatenating the weighted embedding vector and the weighted position vector to obtain a concatenated vector;
[0037] The concatenated vector is convolved to obtain a global vector, and the global vector is classified to obtain a multi-dimensional music feature vector including notes, dynamics and end symbols.
[0038] Optionally, the AIGC application software decodes the multi-dimensional music feature vector using the following method:
[0039] Performing mask processing on the multi-dimensional music feature vector to obtain a multi-dimensional music mask feature vector;
[0040] Adjusting the weight value of the multi-dimensional music mask feature vector to obtain an updated multi-dimensional music feature vector;
[0041] Performing nonlinear transformation on the updated multi-dimensional music feature vector to obtain music features in MIDI format;
[0042] Performing dimensionality reduction processing on the music features in the MIDI format to obtain one-dimensional music features in the MIDI format;
[0043] The probability value of the one-dimensional MIDI format music feature is calculated, and the one-dimensional MIDI format music feature whose probability value is greater than a preset probability threshold is selected as the MIDI format feature by using a greedy regression algorithm.
[0044] Optionally, the AIGC application software matches target action instructions of different music dolls from a preset action list using the following method:
[0045] Selecting a first action sequence set from a preset action list according to the track label;
[0046] Determining an alignment mode between a note feature vector in the multi-dimensional music feature vector and an action key frame in the first action sequence set;
[0047] Extracting action sequence features from the first action sequence set;
[0048] The action sequence feature is matched according to the note feature vector, and the action key frames corresponding to the successfully matched action sequence features are sorted according to the alignment method to obtain the target action.
[0049] The embodiment of the present invention uses AIGC to re-disassemble various music files into tracks, and different instruments correspond to different music tracks. Different music tracks are played and performed by independent speakers and / or music doll speakers, and ordinary stereo music files are reversed to live performances, and the music can be rearranged and tuned to adapt to more scenarios. Therefore, the music doll orchestra generated based on AIGC music content proposed in the embodiment of the present invention can solve the problem that doll toys that simulate instrument performances and performances have low adaptability in music selection and action generation. BRIEF DESCRIPTION OF THE DRAWINGS
[0050] Figure 1 A schematic diagram of a music doll orchestra generated based on AIGC music content provided by an embodiment of the present invention;
[0051] Figure 2 A detailed implementation flow chart of the AIGC-based music content generation method;
[0052] Figure 3 for Figure 2 A detailed implementation flow chart of one of the steps in the AIGC-based music content generation method is shown;
[0053] Figure 4 for Figure 2 The figure shows a detailed implementation flow chart of another step in the AIGC-based music content generation method.
[0054] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0055] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.
[0056] This application provides a music doll band generated based on AIGC music content. Figure 1 As shown, in the embodiment of the present invention, the music doll band 1 generated based on AIGC music content includes at least one music doll 10 (three are shown in the figure) and / or a music controller 11. The music controller 11 and the music doll 10 are connected to each other by USB wired digital transmission or LE Audio low-latency multi-channel wireless connection technology, which reduces or completely eliminates the influence of traditional cables, makes the arrangement of the music doll 10 and the music controller 11 more convenient, and greatly improves the sound quality.
[0057] In the embodiment of the present invention, each of the musical figures 10 is a physical mechanical figure with a speaker function composed of an internal skeleton and external plastic, and has different musical instruments and performer shapes, or a speaker device with a special mark, wherein the special mark generates images of different musical instruments and performer shapes using glasses or head-mounted devices through AR or VR technology. The special mark can be displayed on the outer surface of the speaker device by pasting, printing or laser processing.
[0058] In the embodiment of the present invention, the music controller 11 can be a computer, mobile phone, tablet or dedicated controller running AIGC application software or connected to a cloud server with AIGC application software. Furthermore, in other embodiments of the present invention, the music controller 11 can also be integrated into one of the music dolls 10.
[0059] The music controller 11 is used to classify the instrument attributes of the target audio file through the AIGC application software on a time scale, obtain the track labels of the target audio file on different time scales, and generate music melodies corresponding to the track labels. Based on the track labels, target action instructions of different music dolls are matched from a preset action list, and the target action instructions and music melodies are sent to the corresponding music dolls via USB or wireless LE Audio (MSA Multi-Stream Audio) technology.
[0060] In an embodiment of the present invention, the target audio file may be an audio file recorded by a computer or an audio recording device, or an existing audio file in a specific format such as MP3, MP4, etc., or may be generated by inputting prompt text into a specific field of AIGC (Artificial Intelligence Generated Content), speaking the prompt text through a keyboard or microphone for voice recognition, and then placing it into the text input field of AIGC.
[0061] Each of the musical figures 10 is used to receive the target action instructions and music melody sent by the music controller, play music according to the received music melody, and control each part to move synchronously according to the received corresponding target action instructions.
[0062] Each of the musical figures 10 includes a buffer and a beat timer. Each of the musical figures 10 stores the received target action instructions and music melody in the buffer, performs a synchronous calibration operation on the beat timer among all the musical figures in a wired or wireless manner, and plays music according to the received music melody based on the synchronized and calibrated beat timer, and controls each part to perform synchronous movement according to the received corresponding target action instructions.
[0063] The various parts include hands, arms, waist, head, feet, legs, eyes, lips, etc. Each of the musical figures 10 controls the hands, arms, waist, head, feet, legs, eyes, and lips to move in amplitude, and / or angle, and / or direction, and / or speed in different tracks according to the corresponding target action instructions received.
[0064] For example, in the embodiment of the present invention, each of the musical dolls 10 can perform movements of playing musical instruments or following the rhythm with different parts of the body, but not limited to the following: opening and closing of lips, movement of eyebrows and eyes, nodding and turning of head, and rhythmic synchronization of feet such as bouncing, clapping, turning, and kicking. Alternatively, the user can re-edit the tune based on the default action-music score and perform more different movements to obtain a higher visual and auditory enjoyment.
[0065] Furthermore, each of the musical figures 10 includes LED lights of different colors, and while various parts thereof move synchronously according to the target action instructions, the lights can be changed according to preset rules based on the music melody.
[0066] In the embodiment of the present invention, 3D printing technology can be used, and the control skeleton drawings and files can be open sourced, so that the production of the internal control skeleton of the music doll 10 is more flexible and convenient, so as to adapt to the rapidly changing figure culture, popular animation, emerging orchestras, and other multi-dimensional changing scenes such as family, entertainment, catering, personal...
[0067] Furthermore, the AIGC application software adopts Figure 2 The method shown executes AIGC music content and doll action generation, wherein AIGC content generation can come from an audio file recorded by a computer or an audio recording device, or an existing audio file in a specific format such as MP3, MP4, or an audio file generated by artificial intelligence technology based on a descriptive prompt word input by a user. In detail, the method for generating AIGC music content and doll action includes:
[0068] S1. Convert the target audio file into a target Mel spectrogram.
[0069] In the embodiment of the present invention, the target audio file is a music file obtained from a source such as a network or a storage device.
[0070] In detail, the S1 includes:
[0071] Performing pre-emphasis processing on the target audio file using a high-pass filter;
[0072] Performing frame-by-frame windowing processing on the target audio file after pre-emphasis processing to obtain a windowed audio frame;
[0073] Performing Fourier transform on the windowed audio frame to obtain an energy spectrum;
[0074] Using a triangular bandpass filter to perform spectrum smoothing and eliminate harmonics on the energy spectrum to obtain an optimized energy spectrum;
[0075] The optimized energy spectrum of each frame is stacked from the time dimension to obtain the target Mel spectrogram.
[0076] In the embodiment of the present invention, we can use a window function such as a Hanning window or a Hamming window to perform windowing processing on the target audio file after the pre-emphasis processing.
[0077] In the embodiment of the present invention, the target audio file is converted into a target Mel spectrogram, which can express subtle pitch and time information, and is conducive to accurately extracting the music feature vector of the target audio file.
[0078] S2. Classify the instrument attributes of the target Mel-sound spectrogram at different time scales to obtain the track labels of the target audio file at different time scales.
[0079] In the embodiment of the present invention, the time scale refers to each moment, that is, the instrument attribute classification is performed on the target mel spectrogram at each moment.
[0080] For details, see Figure 3 As shown, the S2 includes:
[0081] S21, performing convolution processing on the target Mel spectrogram on a time scale to obtain preliminary timbre features of the target Mel spectrogram;
[0082] S22, normalizing the preliminary timbre features to obtain standardized timbre features;
[0083] S23, performing pooling processing on the standardized timbre features to obtain compressed timbre features;
[0084] S24, cross-multiplying the compressed color-timbre feature with the preliminary timbre feature to obtain an updated timbre feature;
[0085] S25, performing iterative convolution, batch normalization, pooling and regularization operations on the updated timbre features to obtain the timbre features of the target Mel-spectrogram;
[0086] S26, matching the timbre feature with a preset musical instrument timbre database to obtain track labels of the target audio file at different time scales.
[0087] In an embodiment of the present invention, a timbre feature extraction model based on a convolutional neural network can be used to extract the timbre features of the target mel-spectrogram, and a preset similarity algorithm can be further used to calculate the similarity between the timbre features and the timbre of a musical instrument in a preset musical instrument timbre database, and the musical instruments whose similarity meets a preset threshold are used as track labels at different time scales of the target audio file, wherein the preset similarity algorithm includes but is not limited to a cosine similarity algorithm, a Jaccard similarity coefficient algorithm, and the like.
[0088] In an embodiment of the present invention, the convolutional neural network includes a convolution layer, a pooling layer, a batch normalization layer (BN, BatchBormalization), and a residual block; the convolution layer is used to perform convolution processing on the target Mel-spectrogram on a time scale to obtain preliminary timbre features of the target Mel-spectrogram; the batch normalization layer is used to normalize the preliminary timbre features to obtain standardized timbre features; the pooling layer is used to pool the standardized timbre features to obtain compressed timbre features; the residual block is used to cross-multiply the compressed timbre features with the preliminary timbre features to obtain updated timbre features.
[0089] In an embodiment of the present invention, the preset musical instrument timbre database includes information of multiple musical instruments and corresponding timbre data, wherein the musical instrument information includes information such as the type, model, size, and manufacturing material of the musical instrument; the musical instrument types include piano, harp, cello, viola, violin, double bass, harmonica, phoenix harp, electronic keyboard, xylophone, celesta, vibraphone, guitar, bass, flute, etc.; the timbre data includes bass, alto, treble, mixed voice, harmony, etc.
[0090] In an embodiment of the present invention, the instrument attributes of the target Mel-spectrogram are classified on a time scale, the types of instruments involved in the performance of the target audio file at different times are identified, and the instrument types are used as track labels to facilitate subsequent synthesis of the target music melody based on the track labels.
[0091] S3. Encode the target Mel spectrogram in a preset dimension on a time scale to obtain a multi-dimensional music feature vector.
[0092] In detail, S3 includes:
[0093] Segmenting the target mel spectrogram according to the beat, and sorting the segmentation results to obtain a mel spectrogram sequence;
[0094] On a time scale, the Mel-spectrogram sequence is encoded from the note, velocity and end symbol dimensions to obtain a multi-dimensional music feature vector.
[0095] In the embodiment of the present invention, each measure of the target Mel-size spectrogram is segmented into beats according to 1 / 2, 1 / 3, 2 / 3, 1 / 4 beat segmentation methods, so as to obtain multiple uneven beats in each measure.
[0096] In an embodiment of the present invention, the target Mel-spectrogram can be encoded in different dimensions using a preset encoder on a time scale to obtain a multi-dimensional music feature vector, wherein the preset encoder includes an Embedding layer, a Transformer layer, and a fully connected layer, wherein the number of fully connected layers is the same as the number of dimensions of the multi-dimensional music feature vector, and the Transformer layer includes a convolutional layer and an attention mechanism module.
[0097] Furthermore, the Mel spectrogram sequence is encoded from the note, intensity and end symbol dimensions to obtain a multi-dimensional music feature vector, including:
[0098] Extracting an embedding vector and a position vector of the mel-spectrogram sequence;
[0099] Multiplying the embedding vector and the position vector by a preset first linear transformation matrix, a second linear transformation matrix, and a third linear transformation matrix, respectively, to obtain a query embedding vector, a key embedding vector, a numerical embedding vector, a query position vector, a key position vector, and a numerical position vector;
[0100] Perform a dot multiplication of the query embedding vector and the key embedding vector to obtain an embedding score matrix;
[0101] Performing a dot product of the query position vector and the key position vector to obtain a position score matrix;
[0102] Normalizing the embedding score matrix and the position score matrix respectively to obtain initial embedding weights and initial position weights, and multiplying the initial embedding weights by the numerical embedding vector to obtain a weighted embedding vector, and multiplying the initial position weights by the numerical position vector to obtain a weighted position vector;
[0103] The weighted embedding vector and the weighted position vector are concatenated to obtain a concatenated vector; the concatenated vector is convolved to obtain a global vector, and the global vector is classified to obtain a multi-dimensional music feature vector including notes, dynamics and end symbols.
[0104] In the embodiment of the present invention, the target Mel spectrogram is encoded in different dimensions on a time scale to obtain a multi-dimensional music feature vector. The obtained music feature is more comprehensive, making the subsequent target music melody more accurate.
[0105] S4. Decoding the multi-dimensional music feature vector using a greedy regression algorithm to obtain MIDI format features, and generating a target music melody based on the track label and the MIDI format features on a time scale.
[0106] In the embodiment of the present invention, the MIDI (Musical Instrument Digital Interface) is a unified communication protocol between electronic musical instruments and between electronic musical instruments and computers. A MIDI file is a descriptive music language that describes the music information to be played in bytes.
[0107] For details, see Figure 4 As shown, the multi-dimensional music feature vector is decoded by using a preset decoder using a greedy regression algorithm in S4 to obtain MIDI format features, including:
[0108] S41, performing mask processing on the multi-dimensional music feature vector to obtain a multi-dimensional music mask feature vector;
[0109] S42, adjusting the weight value of the multi-dimensional music mask feature vector to obtain an updated multi-dimensional music feature vector;
[0110] S43, performing nonlinear transformation on the updated multi-dimensional music feature vector to obtain music features in MIDI format;
[0111] S44, performing dimensionality reduction processing on the music features in the MIDI format to obtain one-dimensional music features in the MIDI format;
[0112] S45. Calculate the probability value of the one-dimensional MIDI format music feature, and use a greedy regression algorithm to select the one-dimensional MIDI format music feature whose probability value is greater than a preset probability threshold as the MIDI format feature.
[0113] In an embodiment of the present invention, the preset decoder includes: a multi-head masked attention layer, a cross attention layer, a feedforward neural network, a fully connected layer and a softmax layer; the number of the preset decoders is the same as the number of the preset encoders.
[0114] The embodiment of the present invention can perform mask processing on the multi-dimensional music feature vector through the multi-head masked attention layer to obtain a multi-dimensional music masked feature vector; adjust the weight value of the multi-dimensional music masked feature vector through the cross attention layer to obtain an updated multi-dimensional music feature vector; perform nonlinear transformation on the updated multi-dimensional music feature vector through the feedforward neural network to obtain music features in MIDI format; perform dimensionality reduction processing on the music features in MIDI format through the fully connected layer to obtain one-dimensional music features in MIDI format; calculate the probability value of the one-dimensional music features in MIDI format through the softmax layer, and use the greedy regression algorithm to select the one-dimensional music features in MIDI format whose probability value is greater than a preset probability threshold as the MIDI format feature.
[0115] In the embodiment of the present invention, the multi-dimensional music feature vector is decoded to obtain MIDI format features, so that MIDI format features that meet the requirements can be quickly found.
[0116] In the embodiment of the present invention, any selected target audio file is converted into a target music melody without the need to compile the music file in advance. This can adapt to different scene requirements and convert audio files obtained from different scenes into music melodies suitable for toy dolls to play.
[0117] S5. Match a target action from a preset action list based on the note feature vector in the multi-dimensional music feature vector and the track label.
[0118] In the embodiment of the present invention, the preset action list is an action sequence pre-designed by professionals. The action sequence includes a plurality of action key frames arranged in time.
[0119] In detail, the S5 includes:
[0120] Selecting a first action sequence set from a preset action list according to the track label;
[0121] Determining an alignment mode between a note feature vector in the multi-dimensional music feature vector and an action key frame in the first action sequence set;
[0122] Extracting action sequence features from the first action sequence set;
[0123] The action sequence feature is matched according to the note feature vector, and the action key frames corresponding to the successfully matched action sequence features are sorted according to the alignment method to obtain the target action.
[0124] In an embodiment of the present invention, the method of aligning the music rhythm features in the target audio file with the action rhythm features in the preset action list is used as the method of aligning the note feature vector in the multidimensional music feature vector with the action key frame in the first action sequence set.
[0125] In an embodiment of the present invention, the target action can be applied to a toy doll, which can be a real object or a virtual image. The movable parts of the toy doll can perform actions of different amplitudes, angles and speeds on different tracks according to the matching target action.
[0126] In an embodiment of the present invention, the target action can be matched from a preset action list based on the note feature vector in the multi-dimensional music feature vector of the target audio file and the track label, and the toy's action can be adjusted according to different music, providing a more diverse and personalized interaction method.
[0127] The embodiment of the present invention classifies the instrument attributes of the Mel spectrogram of the target audio file under the time scale to obtain the track labels of the target audio file under different time scales; further, the target Mel spectrogram is encoded in different dimensions under the time scale to obtain a multi-dimensional music feature vector, so that the music feature is more comprehensive, and further, the multi-dimensional music feature vector is decoded by a greedy regression algorithm to obtain MIDI format features, and the target music melody is generated according to the track labels and MIDI format features under the time scale, and the arbitrarily selected target audio file is converted into the target music melody, without the need to compile music files in advance, which can adapt to different scene requirements; finally, based on the note feature vector and the track label in the multi-dimensional music feature vector, the target action is matched from the preset action list, and different actions are generated according to different music, providing a more diverse and personalized interactive method. Therefore, the music doll orchestra, device, electronic device and computer-readable storage medium generated based on AIGC music content proposed by the present invention can solve the problem of low adaptability of doll toys that simulate musical instrument performances and performances when performing music selection and action generation.
[0128] It is obvious to those skilled in the art that the present invention is not limited to the details of the above exemplary embodiments, and that the present invention can be implemented in other specific forms without departing from the spirit or essential characteristics of the present invention.
[0129] Therefore, no matter from which point of view, the embodiments should be regarded as illustrative and non-restrictive, and the scope of the present invention is limited by the appended claims rather than the above description, so it is intended that all changes falling within the meaning and scope of the equivalent elements of the claims are included in the present invention. Any attached figure mark in the claims should not be regarded as limiting the claims involved.
[0130] 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.
[0131] The embodiments of the present application can acquire and process relevant data based on artificial intelligence technology. Among them, artificial intelligence (AI) is the theory, method, technology and application system that uses digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results.
[0132] In addition, it is clear that the word "comprising" does not exclude other units or steps, and the singular does not exclude the plural. Multiple units or devices stated in the system claim can also be implemented by one unit or device through software or hardware. The words first, second, etc. are used to indicate names, and do not indicate any particular order.
[0133] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solution of the present invention can be modified or replaced by equivalents without departing from the spirit and scope of the technical solution of the present invention.
Claims
1. A musical doll band generated based on AIGC music content, characterized in that: The music doll band includes at least one music doll and / or one music controller, and the music controller runs AIGC application software or is connected to a cloud server with AIGC application software, wherein: The music controller is used to classify the instrument attributes of the target audio file through the AIGC application software at the time scale, obtain the track labels of the target audio file at different time scales, and generate the music melody corresponding to the track label, match the target action instructions of different music dolls from the preset action list based on the track label, and send the target action instructions and the music melody to the corresponding music doll; Each of the musical figures is used to receive the target action instructions and music melody sent by the music controller, play music according to the received music melody, and control each part to move synchronously according to the received corresponding target action instructions; The AIGC application software uses the following method to classify the instrument attributes of the target audio file on a time scale: Convert the target audio file to a target mel spectrogram; Performing convolution processing on the target Mel spectrogram at a time scale to obtain preliminary timbre features of the target Mel spectrogram; Normalizing the preliminary timbre features to obtain standardized timbre features; Performing pooling processing on the standardized timbre features to obtain compressed timbre features; Cross-multiplying the compressed timbre feature with the preliminary timbre feature to obtain an updated timbre feature; Performing iterative convolution, batch normalization, pooling and regularization operations on the updated timbre features to obtain the timbre features of the target mel spectrogram; The timbre feature is matched with a preset musical instrument timbre database to obtain track labels of the target audio file at different time scales.
2. The musical figure band according to claim 1, characterized in that: Each of the musical figures includes a buffer and a beat timer; The playing of music according to the received music melody and the controlling of each part to perform synchronous movement according to the received corresponding target action instructions include: The received target action instructions and music melody are stored in the cache, and the beat timer is synchronously calibrated among all the music dolls in a wired or wireless manner; Based on the synchronized and calibrated beat timer, the music is played according to the received music melody, and the various parts are controlled to move synchronously according to the received corresponding target action instructions.
3. The musical figure band according to claim 1 or 2, characterized in that: The playing of music according to the received music melody and the controlling of each part to perform synchronous movement according to the received corresponding target action instructions include: The hands, arms, waist, head, feet, legs, eyes and lips of each of the musical figures are controlled to move in amplitude, angle, direction and / or speed in different music tracks.
4. The musical figure band according to claim 1 or 2, characterized in that: Each of the musical figures includes LED lights of different colors, which are used to change the lights according to preset rules based on the music melody while the various parts of the figures move synchronously according to the target action instructions.
5. The musical figure band according to claim 1, characterized in that: Each of the musical dolls is a physical mechanical doll with a speaker function composed of an internal skeleton and external plastic, with different musical instruments and performer shapes, or a speaker device with special markings, wherein the special markings generate images of different musical instruments and performer shapes through AR or VR technology using glasses or head-mounted devices.
6. The musical figure band according to claim 1, characterized in that: The AIGC application software generates the music melody corresponding to the track label using the following method: Encoding the target Mel spectrogram with a preset dimension on a time scale to obtain a multi-dimensional music feature vector; The multi-dimensional music feature vector is decoded by using a preset decoder with a greedy regression algorithm to obtain MIDI format features, and a music melody is generated according to the track label and the MIDI format features on a time scale.
7. The musical figure band according to claim 6, characterized in that: The AIGC application software uses the following method to encode the target Mel spectrogram in a preset dimension on a time scale: Segmenting the target mel spectrogram according to the beat, and sorting the segmentation results to obtain a mel spectrogram sequence; On a time scale, the Mel-spectrogram sequence is encoded from the note, velocity and end symbol dimensions to obtain a multi-dimensional music feature vector.
8. The musical figure band according to claim 7, characterized in that: The AIGC application software encodes the Mel spectrogram sequence from the note, velocity and end symbol dimensions using the following method: Extracting an embedding vector and a position vector of the mel-spectrogram sequence; Multiplying the embedding vector and the position vector by a preset first linear transformation matrix, a second linear transformation matrix, and a third linear transformation matrix, respectively, to obtain a query embedding vector, a key embedding vector, a numerical embedding vector, a query position vector, a key position vector, and a numerical position vector; Perform a dot multiplication of the query embedding vector and the key embedding vector to obtain an embedding score matrix; Performing a dot product of the query position vector and the key position vector to obtain a position score matrix; Normalizing the embedding score matrix and the position score matrix respectively to obtain initial embedding weights and initial position weights, and multiplying the initial embedding weights by the numerical embedding vector to obtain a weighted embedding vector, and multiplying the initial position weights by the numerical position vector to obtain a weighted position vector; Concatenating the weighted embedding vector and the weighted position vector to obtain a concatenated vector; The concatenated vector is convolved to obtain a global vector, and the global vector is classified to obtain a multi-dimensional music feature vector including notes, dynamics and end symbols.
9. The musical figure band according to claim 6, characterized in that: The AIGC application software decodes the multi-dimensional music feature vector using the following method: Performing mask processing on the multi-dimensional music feature vector to obtain a multi-dimensional music mask feature vector; Adjusting the weight value of the multi-dimensional music mask feature vector to obtain an updated multi-dimensional music feature vector; Performing nonlinear transformation on the updated multi-dimensional music feature vector to obtain music features in MIDI format; Performing dimensionality reduction processing on the music features in the MIDI format to obtain one-dimensional music features in the MIDI format; The probability value of the one-dimensional MIDI format music feature is calculated, and the one-dimensional MIDI format music feature whose probability value is greater than a preset probability threshold is selected as the MIDI format feature by using a greedy regression algorithm.
10. The musical figure band according to claim 6, characterized in that: The AIGC application software uses the following method to match target action instructions of different music dolls from the preset action list: Selecting a first action sequence set from a preset action list according to the track label; Determining an alignment mode between a note feature vector in the multi-dimensional music feature vector and an action key frame in the first action sequence set; Extracting action sequence features from the first action sequence set; The action sequence feature is matched according to the note feature vector, and the action key frames corresponding to the successfully matched action sequence features are sorted according to the alignment method to obtain the target action.
