Method for processing audio and electronic device
AssigneeBeijing Dajia Internet Information Technology Co., Ltd.
InventorsXiguang Zheng, Chen Zhang
Life of this patent
Estimating the term…
Abstract
Provided is a method for processing audio including: acquiring an accompaniment audio signal and a voice signal of a current to-be-processed musical composition; determining a target reverberation intensity parameter value of the acquired accompaniment audio signal, wherein the target reverberation intensity parameter value is configured to indicate a rhythm speed, an accompaniment type, and a performance score of a singer of the current to-be-processed musical composition; and reverberating the acquired vocal signal based on the target reverberation intensity parameter value.
Claims20
A method for processing audio, comprising:
- acquiring an accompaniment audio signal and a vocal signal of a current to-be-processed musical composition;
- determining a target reverberation intensity parameter value of the acquired accompaniment audio signal, wherein the target reverberation intensity parameter value is configured to indicate a rhythm speed, an accompaniment type, and a performance score of a singer of the current to-be-processed musical composition, wherein the accompaniment type is characterized by frequency domain richness of the current to-be-processed musical composition, wherein the frequency domain richness is numerically represented by a frequency domain richness coefficient, the richer the accompaniment of the current to-be-processed musical composition is, the higher the corresponding frequency domain richness is, the frequency domain richness coefficient being determined based on amplitude information of a sequence of accompaniment audio frames, and the sequence of accompaniment audio frame being acquired by transforming the accompaniment audio signal from a time domain to a time-frequency domain, and wherein the performance score of the singer is a history song score or a real-time song score of the singer;
- and
- reverberating the acquired vocal signal based on the target reverberation intensity parameter value.
An electronic device, 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:
- acquiring an accompaniment audio signal and a vocal signal of a current to-be-processed musical composition;
- determining a target reverberation intensity parameter value of the acquired accompaniment audio signal, wherein the target reverberation intensity parameter value is configured to indicate a rhythm speed, an accompaniment type, and a performance score of a singer of the current to-be-processed musical composition, wherein the accompaniment type is characterized by frequency domain richness of the current to-be-processed musical composition, wherein the frequency domain richness is numerically represented by a frequency domain richness coefficient, the richer the accompaniment of the current to-be-processed musical composition is, the higher the corresponding frequency domain richness is, the frequency domain richness coefficient being determined based on amplitude information of a sequence of accompaniment audio frames, and the sequence of accompaniment audio frame being acquired by transforming the accompaniment audio signal from a time domain to a time-frequency domain, and wherein the performance score of the singer is a history song score or a real-time song score of the singer;
- and
- reverberating the acquired vocal signal based on the target reverberation intensity parameter value.
A non-volatile storage medium storing one or more instructions therein, wherein the one or more instructions, when loaded and executed by a processor of an electronic device, cause the electronic device to perform:
- acquiring an accompaniment audio signal and a vocal signal of current to-be-processed musical composition;
- determining a target reverberation intensity parameter value of the acquired accompaniment audio signal, wherein the target reverberation intensity parameter value is configured to indicate a rhythm speed, an accompaniment type, and a performance score of a singer of the current to-be-processed musical composition, wherein the accompaniment type is characterized by frequency domain richness of the current to-be-processed musical composition, wherein the frequency domain richness is numerically represented by a frequency domain richness coefficient, the richer the accompaniment of the current to-be-processed musical composition is, the higher the corresponding frequency domain richness is, frequency domain richness coefficient is determined based on amplitude information of a sequence of accompaniment audio frames, and the sequence of accompaniment audio frame is acquired by transforming the accompaniment audio signal from a time domain to a time-frequency domain, and wherein the performance score of the singer is a history song score or a real-time song score of the singer;
- and
- reverberating the acquired vocal signal based on the target reverberation intensity parameter value.
Dependencies are inferred from the claim text.