Patent ID: 11863964
Assignee: HUAWEI TECHNOLOGIES CO., LTD.
Field: Audio-visual technology (Electrical engineering)
Classification: CPC H | IPC H

Claim 0:
1. A method for processing audio signals, comprising:
obtaining M virtual speakers corresponding to a three-dimensional space, wherein the M virtual speakers include a first virtual speaker and a second virtual speaker, wherein M is a positive integer;
obtaining M audio signals by processing an audio signal by the M virtual speakers, wherein the M audio signals includes a first audio signal corresponding to the first virtual speaker and a second audio signal corresponding to the second virtual speaker;
obtaining M first head-related transfer functions (HRTFs) comprising a third HRTF corresponding to the first audio signal transmitted from the first virtual speaker to a default left ear position;
obtaining M second HRTFs comprising a fourth HRTF corresponding to the second audio signal transmitted from the second virtual speaker to a default right ear position;
modifying high-band impulse responses corresponding to a first quantity of the M first HRTFs to obtain a first quantity of first target HRTFs, wherein the first quantity is not less than 1 and not greater than M, wherein the first quantity of the M first HRTFs comprise the third HRTF;
modifying high-band impulse responses corresponding to a second quantity of the M second HRTFs, to obtain a second quantity of second target HRTFs, wherein the second quantity is not less than 1 and not greater than M, wherein the second quantity of the M second HRTFs comprise the fourth HRTF;
obtaining, based on the first target HRTFs, a first target audio signal corresponding to a current left ear position; and
obtaining, based on the second target HRTFs, a second target audio signal corresponding to a current right ear position.