Audio data processing method and apparatus, terminal and computer-readable storage medium
AssigneeShenzhen Tcl Digital Technology Ltd.
InventorsChun Li, Yu Qin
Life of this patent
Estimating the term…
Abstract
An audio data processing method, an audio data processing apparatus, a terminal, and a computer-readable storage medium are disclosed. In the embodiments of the present invention, a multi-channel audio is processed into left and right channel audio, and the users can experience the effect of surround sound when listening to a target audio.
Claims21
An audio data processing method, the method comprising:
- obtaining a frame to be processed in a first audio, and obtaining a position angle corresponding to each channel in the frame to be processed according to a preset correspondence relationship between channels and position angles;
- obtaining the head-related transfer function corresponding to each channel in the frame to be processed according to the position angle corresponding to each channel in the frame to be processed;
- wherein the head-related transfer function corresponding to each channel includes a left ear related head-related transfer function and a right ear head-related transfer function;
- performing a convolution on audio data corresponding to each channel in the frame to be processed with the left ear related transfer function to obtain a left channel data, and performing a convolution on the audio data corresponding to each channel in the frame to be processed with the right ear related transfer function to obtain a right channel data;
- and
- performing a superimposition on the left channel data and the right channel data to obtain a target frame of the target audio.
(canceled)
A terminal, comprising:
- a memory, configured to store an audio data processing program;
- and
- a processor, configured to execute the audio data processing program to perform operations comprising:
- obtaining a frame to be processed in a first audio, and obtaining a position angle corresponding to each channel in the frame to be processed according to a preset correspondence relationship between channels and position angles;
- obtaining the head-related transfer function corresponding to each channel in the frame to be processed according to the position angle corresponding to each channel in the frame to be processed;
- wherein the head-related transfer function corresponding to each channel includes a left ear related head-related transfer function and a right ear head-related transfer function;
- performing a convolution on audio data corresponding to each channel in the frame to be processed with the left ear related transfer function to obtain a left channel data, and performing a convolution on the audio data corresponding to each channel in the frame to be processed with the right ear related transfer function to obtain a right channel data, and
- performing a superimposition on the left channel data and the right channel data to obtain a target frame of the target audio.
A computer-readable storage medium storing an audio data processing program, wherein the audio data processing program is executed by a processor to perform operations comprising:
- obtaining a frame to be processed in a first audio, and obtaining a position angle corresponding to each channel in the frame to be processed according to a preset correspondence relationship between channels and position angles;
- obtaining the head-related transfer function corresponding to each channel in the frame to be processed according to the position angle corresponding to each channel in the frame to be processed;
- wherein the head-related transfer function corresponding to each channel includes a left ear related head-related transfer function and a right ear head-related transfer function;
- performing a convolution on audio data corresponding to each channel in the frame to be processed with the left ear related transfer function to obtain a left channel data, and performing a convolution on the audio data corresponding to each channel in the frame to be processed with the right ear related transfer function to obtain a right channel data;
- and
- performing a superimposition on the left channel data and the right channel data to obtain a target frame of the target audio.
Dependencies are inferred from the claim text.