Patent ID: 11950087
Assignee: BEIJING XIAOMI MOBILE SOFTWARE CO., LTD.
Field: Audio-visual technology (Electrical engineering)
Classification: CPC H  G | IPC G  H

Claim 17:
18. A non-temporary storage medium, used for storing the computer-readable instructions; the computer-readable instructions are used for enabling a computer to execute an audio signal processing method, the method comprises:
acquiring a first distance between a current position and an initial position of a mobile device, and a second distance between the current position of the mobile device and a wearable device; the mobile device and the wearable device are in communication connection;
determining a first deflection angle of the mobile device according to the first distance, the second distance and the initial distance between the mobile device and the wearable device;
acquiring a second deflection angle of the wearable device reflecting a posture change;
determining relative position information between the mobile device and the wearable device according to the first deflection angle, the second deflection angle and the second distance; and
processing an audio signal based on the relative position information to obtain a playing audio played by the wearable device;
wherein the step of determining a first deflection angle of the mobile device according to the first distance, the second distance and the initial distance between the mobile device and the wearable device comprises:
determining the first deflection angle based on the law of cosines according to the first distance, the second distance and the initial distance; the first deflection angle is an included angle between a line from the current position of the mobile device to the wearable device and a line from the initial position of the mobile device to the wearable device.