Method and device for audio generation
AssigneeBeijing Dajia Internet Information Technology Co., Ltd.
InventorsJian Shi, Xu Dai, Jiayun Li
Life of this patent
Estimating the term…
Abstract
The present disclosure relates to a method and device for audio generation. The method includes: obtaining a target rhythm, a target verse melody and a target chorus melody; configuring the target rhythm as a first audio track, the target verse melody as a second audio track, and the target chorus melody as a third audio track; generating a target audio by aligning start playing time of the first audio track, the second audio track and the third audio track to beat occurrence time of a first beat, a second beat and a third beat in a first metronome data respectively.
Claims20
A method for audio generation, comprising:
- obtaining a target rhythm, a target verse melody and a target chorus melody, wherein the target rhythm is corresponding to a target game scene, and the target verse melody and the target chorus melody are respectively corresponding to at least one of the target game scene and data of behavior state of a player character;
- configuring the target rhythm as a first audio track, the target verse melody as a second audio track, and the target chorus melody as a third audio track;
- generating a target audio by aligning start playing time of the first audio track, the second audio track and the third audio track to beat occurrence time of a first beat, a second beat and a third beat in a first metronome data respectively, wherein the first metronome data comprises a first offset, and occurrence time of each beat in the first metronome data is determined based on a first reference time and the first offset.
A device for audio generation, comprising:
- a processor;
- a memory for storing executable instructions of the processor;
- wherein, the processor is configured to performing acts of:
- obtaining a target rhythm, a target verse melody and a target chorus melody, wherein the target rhythm is corresponding to a target game scene, and the target verse melody and the target chorus melody are respectively corresponding to at least one of the target game scene and data of behavior state of a player character;
- configuring the target rhythm as a first audio track, the target verse melody as a second audio track, and the target chorus melody as a third audio track;
- generating a target audio by aligning start playing time of the first audio track, the second audio track and the third audio track to beat occurrence time of a first beat, a second beat and a third beat in a first metronome data respectively, wherein the first metronome data comprises a first offset, and occurrence time of each beat in the first metronome data is determined based on a first reference time and the first offset.
A non-transitory computer-readable storage medium having instructions stored thereon, wherein when instructions are executed by a processor of a server, the server is caused to execute a method for audio generation, and the method comprises:
- obtaining a target rhythm, a target verse melody and a target chorus melody, wherein the target rhythm is corresponding to a target game scene, and the target verse melody and the target chorus melody are respectively corresponding to at least one of the target game scene and data of behavior state of a player character;
- configuring the target rhythm as a first audio track, the target verse melody as a second audio track, and the target chorus melody as a third audio track;
- generating a target audio by aligning start playing time of the first audio track, the second audio track and the third audio track to beat occurrence time of a first beat, a second beat and a third beat in a first metronome data respectively, wherein the first metronome data comprises a first offset, and occurrence time of each beat in the first metronome data is determined based on a first reference time and the first offset.
Dependencies are inferred from the claim text.