Method for detecting melody of audio signal and electronic device
AssigneeBigo Technology Pte. Ltd.
InventorXiaojie WU
Life of this patent
Estimating the term…
Abstract
A method for detecting a melody of an audio signal, including: dividing the audio signal into a plurality of audio segments based on a beat, detecting a pitch frequency of each frame of audio sub-signal in each of the audio segments, and estimating a pitch value of each of the audio segments based on the pitch frequency; determining a pitch name corresponding to each of the audio segments based on a frequency range of the pitch value; acquiring a musical scale of the audio signal by estimating a tonality of the audio signal based on the pitch name of each of the audio segments; and determining a melody of the audio signal based on a frequency interval of the pitch value of each of the audio segments in the musical scale.
Claims20
A method for detecting a melody of an audio signal, comprising:
- dividing the audio signal into a plurality of audio segments based on a beat, detecting a pitch frequency of each frame of audio sub-signal in each of the audio segments, and estimating a pitch value of each of the audio segments based on the pitch frequency;
- determining a pitch name corresponding to each of the audio segments based on a frequency range of the pitch value;
- acquiring a musical scale of the audio signal by estimating a tonality of the audio signal based on the pitch name of each of the audio segments;
- and
- determining a melody of the audio signal based on a frequency interval of the pitch value of each of the audio segments in the musical scale.
(canceled)
An electronic device for detecting a melody of an audio signal, 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 a method for detecting the melody of the audio signal, comprising:
- dividing the audio signal into a plurality of audio segments based on a beat, detecting a pitch frequency of each frame of audio sub-signal in each of the audio segments, and estimating a pitch value of each of the audio segments based on the pitch frequency;
- determining a pitch name corresponding to each of the audio segments based on a frequency range of the pitch value;
- acquiring a musical scale of the audio signal by estimating a tonality of the audio signal based on the pitch name of each of the audio segments;
- and
- determining a melody of the audio signal based on a frequency interval of the pitch value of each of the audio segments in the musical scale.
A non-transitory computer-readable storage medium storing one or more instructions wherein the one or more instructions, when executed by a processor of an electronic device, cause the electronic device to perform a method for detecting a melody of an audio signal, comprising:
- dividing the audio signal into a plurality of audio segments based on a beat, detecting a pitch frequency of each frame of audio sub-signal in each of the audio segments, and estimating a pitch value of each of the audio segments based on the pitch frequency;
- determining a pitch name corresponding to each of the audio segments based on a frequency range of the pitch value;
- acquiring a musical scale of the audio signal by estimating a tonality of the audio signal based on the pitch name of each of the audio segments;
- and
- determining a melody of the audio signal based on a frequency interval of the pitch value of each of the audio segments in the musical scale.
Dependencies are inferred from the claim text.