Audio information processing method and apparatus
AssigneeTencent Technology (Shenzhen) Company Limited
InventorWeifeng Zhao
Life of this patent
Estimating the term…
Abstract
An audio information processing method and apparatus are provided. The method includes decoding a first audio file to acquire a first audio subfile corresponding to a first sound channel and a second audio subfile corresponding to a second sound channel; extracting first audio data from the first audio subfile; extracting second audio data from the second audio subfile; acquiring a first audio energy value of the first audio data; acquiring a second audio energy value of the second audio data; and determining an attribute of at least one of the first sound channel and the second sound channel based on the first audio energy value and the second audio energy value.
Claims20
A method comprising:
- decoding a first audio file to acquire a first audio subfile corresponding to a first sound channel and a second audio subfile corresponding to a second sound channel, where one of the first sound channel and the second sound channel includes original audio, and the other one of the first sound channel and the second sound channel includes accompanying audio;
- extracting first audio data from the first audio subfile;
- extracting second audio data from the second audio subfile;
- acquiring a first audio energy value of the first audio data;
- acquiring a second audio energy value of the second audio data;
- determining an attribute of at least one of the first sound channel and the second sound channel based on the first audio energy value and the second audio energy value;
- and
- determining which one of the first and second sound channels includes the accompanying audio based on the attribute that is determined.
An apparatus comprising:
- at least one memory configured to store computer program code;
- and
- at least one processor configured to access the at least one memory and operate according to the computer program code, said computer program code including:
- decoding code configured to cause the at least one processor to decode an audio file to acquire a first audio subfile corresponding to a first sound channel and a second audio subfile corresponding to a second sound channel, where one of the first sound channel and the second sound channel includes original audio, and the other one of the first sound channel and the second sound channel includes accompanying audio;
- extracting code configured to cause the at least one processor to extract first audio data from the first audio subfile and second audio data from the second audio subfile;
- acquisition code configured to cause the at least one processor to acquire a first audio energy value of the first audio data and a second audio energy value of the second audio data;
- processing code configured to cause the at least one processor to determine an attribute of at least one of the first sound channel and the second sound channel based on the first audio energy value and the second audio energy value;
- and
- determining code configured to cause the at least one processor to determine which one of the first and second sound channels includes the accompanying audio based on the attribute that is determined.
A non-transitory computer-readable storage medium that stores computer program code that, when executed by a processor of a calculating apparatus, causes the calculating apparatus to perform:
- decoding an audio file to acquire a first audio subfile outputted corresponding to a first sound channel and a second audio subfile outputted corresponding to a second sound channel where one of the first sound channel and the second sound channel includes original audio, and the other one of the first sound channel and the second sound channel includes accompanying audio;
- extracting first audio data from the first audio subfile;
- extracting second audio data from the second audio subfile;
- acquiring a first audio energy value of the first audio data;
- acquiring a second audio energy value of the second audio data;
- determining the attribute of at least one of the first sound channel and the second sound channel based on the first audio energy value and the second audio energy value;
- and
- determining which one of the first and second sound channels includes the accompanying audio based on the attribute that is determined.
Dependencies are inferred from the claim text.