Music accompaniment generation method and apparatus, device, storage medium and program product
AssigneeGuangzhou Kugou Computer Technology Co., Ltd.
InventorsYue Yang, Huiyi Cheng, Chengfang Luo, Chuanyi Chen
Life of this patent
Estimating the term…
Abstract
Provided is a method for generating musical accompaniment, including: acquiring musical data, wherein the musical data is divided into at least two musical beats, each of the musical beats comprising musical notes; extracting beat data information, chord data information, and melody data information from the musical data; generating musical accompaniment data based on the melody data information, the beat data information, and the chord data information; and obtaining musical accompaniment corresponding to the musical data by performing audio data rendering based on the musical accompaniment.
Claims20
A method for generating musical accompaniment, performed by a computer device, comprising:
- acquiring musical data, wherein the musical data is divided into at least two musical beats, each of the musical beats comprising musical notes;
- extracting beat data information, chord data information, and melody data information from the musical data, wherein the beat data information is configured to describe a variation speed of the at least two musical beats, the chord data information is configured to describe a chord unit extracted in a unit of the musical beat, and the melody data information is configured to describe a note variation between at least two musical notes;
- generating musical accompaniment data based on the melody data information, the beat data information, and the chord data information, wherein the melody data information is configured to define an accompaniment melody of musical accompaniment with a musical melody of the musical data, and the musical accompaniment data is configured to describe accompaniment of the musical data;
- and
- obtaining musical accompaniment corresponding to the musical data by performing audio data rendering based on the musical accompaniment data.
An apparatus for generating a musical accompaniment, comprising:
- a processor;
- and
- a memory configured to store one or more instructions executable by the processor;
- wherein the processor, when loading and executing the one or more instructions, is caused to perform the following method:
- acquiring musical data, wherein the musical data is divided into at least two musical beats, each of the musical beats comprising musical notes;
- extracting beat data information, chord data information, and melody data information from the musical data, wherein the beat data information is configured to describe a variation speed of the at least two musical beats, the chord data information is configured to describe a chord unit extracted in a unit of the musical beat, and the melody data information is configured to describe a note variation between at least two musical notes;
- generating musical accompaniment data based on the melody data information, the beat data information, and the chord data information, wherein the melody data information is configured to define an accompaniment melody of the musical accompaniment with a musical melody of the musical data, and the musical accompaniment data is configured to describe accompaniment of the musical data;
- and
- obtaining musical accompaniment corresponding to the musical data by performing audio data rendering based on the musical accompaniment data.
A computer device, comprising a processor and a memory storing at least one program, wherein the at least one program, when loaded and executed by the processor, causes the processor to perform:
- acquiring musical data, wherein the musical data is divided into at least two musical beats, each of the musical beats comprising musical notes;
- extracting beat data information, chord data information, and melody data information from the musical data, wherein the beat data information is configured to describe a variation speed of the at least two musical beats, the chord data information is configured to describe a chord unit extracted in a unit of the musical beat, and the melody data information is configured to describe a note variation between at least two musical notes;
- generating musical accompaniment data based on the melody data information, the beat data information, and the chord data information, wherein the melody data information is configured to define an accompaniment melody of musical accompaniment with a musical melody of the musical data, and the musical accompaniment data is configured to describe accompaniment of the musical data;
- and
- obtaining musical accompaniment corresponding to the musical data by performing audio data rendering based on the musical accompaniment data.
Dependencies are inferred from the claim text.