Audio playing method, head-mounted display, and audio and video system
By identifying and selecting the most matching audio device for playback, the problem of insufficient audio space experience in the existing technology is solved, and a better audio environment and user experience are achieved.
Patent Information
- Application Number
- PCT/CN2023/104353
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-04-13
- Filing Date
- 2023-06-30
- Publication Date
- 2024-10-17
AI Technical Summary
When existing head-mounted wearable devices play audio, the audio space experience is average, which affects the user experience.
By obtaining the audio source to be played that contains playback orientation information, identifying the relative positions of candidate audio devices and head-mounted wearable devices, and selecting the most matching target audio device for playback, a better audio space experience can be achieved.
It improves the audio space experience, provides a more realistic audio environment, and enhances the user's immersive experience.
Smart Images

Figure CN2023104353_17102024_PF_FP_ABST
Abstract
Description
Audio playback method, head-mounted wearable device, and audio and video system Technical Field
[0001] Embodiments of the present application relate to the field of computer technology, and in particular to an audio playback method, a head-mounted wearable device, and an audio and video system. Background Art
[0002] With the advancement of science and technology, the market for smart glasses, such as augmented reality (AR) glasses and virtual reality (VR) glasses, is gradually emerging. Head-mounted displays (HMDs), such as AR and VR glasses, can present images to users through displays, giving them an immersive experience.
[0003] In the prior art, when a wearer wears a head-mounted wearable device to play games or enjoy audio and video, the head-mounted wearable device typically plays audio signals through the configured headphones. However, this playback method provides a mediocre audio spatial experience, which in turn affects the user experience.
[0004] Summary of the Invention
[0005] The embodiments of the present application provide an audio playback method, a head-mounted wearable device, and an audio and video system for enhancing the spatial experience of audio playback.
[0006] On the one hand, an embodiment of the present application provides an audio playback method, applied to a head-mounted wearable device, comprising:
[0007] Obtaining an audio source to be played, wherein the audio source to be played includes playback direction information;
[0008] Identifying a relative position of each of a plurality of candidate audio devices to a reference pose of the head-mounted wearable device;
[0009] Selecting at least one target audio device from the plurality of candidate audio devices based on the obtained multiple relative positions, the reference posture, and the playback orientation information;
[0010] For each target audio device, a corresponding target audio signal is obtained from the audio source to be played, and the target audio signal is sent to the target audio device for playing.
[0011] In an embodiment of the present application, for an audio source to be played that includes playback orientation information, based on the relative positions of multiple candidate audio devices around the head-mounted wearable device and the head-mounted wearable device, the reference posture of the head-mounted wearable device, and the playback orientation information in the audio source to be played, at least one target audio device for playing the audio source to be played is selected from the multiple candidate audio devices, and then the audio signal associated with each target audio device in the audio source to be played is sent to the target audio device for playback, thereby achieving a better audio spatial experience.
[0012] On the one hand, an embodiment of the present application provides an audio playback method, applied to a head-mounted wearable device, comprising:
[0013] Obtaining an audio source to be played, wherein the audio source to be played includes playback direction information;
[0014] Determining at least one reference orientation of the to-be-played audio source relative to the reference orientation based on the reference orientation of the head-mounted wearable device and the playback orientation information;
[0015] controlling at least one movable device among the plurality of candidate audio devices to move based on the at least one reference orientation, and identifying a relative position of each of the plurality of candidate audio devices with respect to the reference orientation after the movement is completed;
[0016] selecting at least one target audio device from the plurality of candidate audio devices based on the obtained plurality of relative positions and the at least one reference orientation;
[0017] For each target audio device, a corresponding target audio signal is obtained from the audio source to be played, and the target audio signal is sent to the target audio device for playing.
[0018] In an embodiment of the present application, for an audio source to be played that includes playback orientation information, at least one reference orientation of the audio source to be played relative to the reference orientation is determined based on the reference posture and playback orientation information of the head-mounted wearable device, and then at least one movable device among multiple candidate audio devices is controlled to move toward the reference orientation. Therefore, based on the relative positions of the multiple candidate audio devices and the head-mounted wearable device and at least one reference orientation, when a target audio device for playing the audio source to be played is selected from multiple candidate audio devices, the position of the target audio device is more closely matched with the playback orientation information of the audio source to be played, thereby achieving a better audio space experience.
[0019] Optionally, a reference posture of the head-mounted wearable device at a reference time is determined by synchronizing the positioning and map construction modules.
[0020] Optionally, the audio source to be played is a multi-channel audio source, and the playback direction information includes direction information of multiple mono channels;
[0021] The determining, based on the reference posture of the head-mounted wearable device and the playback orientation information, at least one reference orientation of the audio source to be played relative to the reference posture includes:
[0022] For each mono channel including orientation information, a first reference orientation of the mono channel relative to the reference posture is determined based on the reference posture and the orientation information corresponding to the mono channel.
[0023] Optionally, controlling the movement of at least one movable device among the plurality of candidate audio devices based on the at least one reference orientation includes:
[0024] If the first number of the movable devices is greater than or equal to the second number of the mono channels containing position information, then for each mono channel containing position information, controlling one movable device among the plurality of candidate audio devices to move to a first reference position of the mono channel;
[0025] If the first number is smaller than the second number, for each mono channel in the first number of mono channels containing position information, one movable device among the plurality of candidate audio devices is controlled to move to a first reference position of the mono channel.
[0026] Optionally, selecting at least one target audio device from the plurality of candidate audio devices based on the obtained plurality of relative positions and the at least one reference orientation includes:
[0027] For each single channel containing orientation information, select, from the obtained multiple relative positions, the target relative position having the smallest orientation difference from the corresponding first reference orientation;
[0028] The candidate audio device associated with the target relative position is used as the target audio device.
[0029] Optionally, for each target audio device, obtaining a corresponding target audio signal from the audio source to be played, and sending the target audio signal to the target audio device for playing, includes:
[0030] For each target audio device, a corresponding mono audio signal is obtained from the audio source to be played, and the mono audio signal is sent to the target audio device for playing.
[0031] Optionally, the audio source to be played includes 3D audio, and the playback direction information includes direction information corresponding to the 3D audio;
[0032] The determining, based on the reference posture of the head-mounted wearable device and the playback orientation information, at least one reference orientation of the audio source to be played relative to the reference posture includes:
[0033] Based on the reference posture and the orientation information corresponding to the 3D audio, a second reference orientation of the 3D audio relative to the reference posture is determined.
[0034] Optionally, controlling the movement of at least one movable device among the plurality of candidate audio devices based on the at least one reference orientation includes:
[0035] A movable device among the plurality of candidate audio devices is controlled to move to the second reference position.
[0036] Optionally, selecting at least one target audio device from the plurality of candidate audio devices based on the obtained plurality of relative positions and the at least one reference orientation includes:
[0037] Selecting, from the obtained multiple relative positions, a target relative position having the smallest orientation difference from the second reference orientation;
[0038] The candidate audio device associated with the target relative position is used as the target audio device.
[0039] Optionally, it also includes:
[0040] When the second reference orientation corresponding to the 3D audio changes, the corresponding movable device is controlled to move to the changed second reference orientation.
[0041] On the one hand, an embodiment of the present application provides a head-mounted wearable device, comprising:
[0042] An input module is used to obtain an audio source to be played, wherein the audio source to be played includes playback direction information;
[0043] a position identification module, configured to identify the relative positions of each of a plurality of candidate audio devices to a reference position of the head-mounted wearable device;
[0044] a processing module, configured to select at least one target audio device from the plurality of candidate audio devices based on the obtained plurality of relative positions, the reference posture, and the playback orientation information;
[0045] The processing module is further configured to obtain, for each target audio device, a corresponding target audio signal from the audio source to be played based on the relative position of the target audio device and the reference posture, and send the target audio signal to the target audio device for playback.
[0046] Optionally, it also includes a synchronous positioning and map construction module;
[0047] The synchronous positioning and map construction module is used to determine the reference posture of the head-mounted wearable device at a reference time.
[0048] Optionally, at least two candidate audio devices are included within any preset azimuth angle around the head-mounted wearable device.
[0049] Optionally, the audio source to be played is a multi-channel audio source, and the playback direction information includes direction information of multiple mono channels;
[0050] The processing module is specifically used for:
[0051] For each mono channel including orientation information, determining a first reference orientation of the mono channel relative to the reference orientation based on the reference orientation and the orientation information corresponding to the mono channel;
[0052] Selecting, from the obtained multiple relative positions, a target relative position having the smallest orientation difference from the first reference orientation;
[0053] The candidate audio device associated with the target relative position is used as the target audio device.
[0054] Optionally, the processing module is specifically configured to:
[0055] For each target audio device, a corresponding mono audio signal is obtained from the audio source to be played, and the mono audio signal is sent to the target audio device for playing.
[0056] Optionally, the audio source to be played includes 3D audio, and the playback direction information includes direction information corresponding to the 3D audio;
[0057] The processing module is specifically used for:
[0058] Determining a second reference orientation of the 3D audio relative to the reference orientation based on the reference orientation and orientation information corresponding to the 3D audio;
[0059] At least one target audio device is selected from the plurality of candidate audio devices based on the obtained multiple relative positions and the second reference orientation.
[0060] Optionally, the processing module is specifically configured to:
[0061] For each candidate audio device, determining a relative position of the candidate audio device to the reference position and an orientation difference between the candidate audio device and the second reference orientation;
[0062] The obtained multiple bearing differences are sorted in ascending order, and the top two candidate audio devices are used as target audio devices.
[0063] Optionally, the processing module is specifically configured to:
[0064] Acquire the 3D audio from the audio source to be played;
[0065] For each of the two obtained target audio devices, if the target audio device satisfies at least one of the following conditions, sending the 3D audio with the increased volume to the target audio device for playback; otherwise, sending the 3D audio to the target audio device for playback;
[0066] Condition 1: The target audio device farthest from the head-mounted wearable device among the two target audio devices;
[0067] Condition 2: the target audio device with the smallest position difference among the two target audio devices.
[0068] Optionally, the processing module is further configured to:
[0069] When the second reference orientation corresponding to the 3D audio changes, the volume of the 3D audio received by the two target audio devices is adjusted accordingly.
[0070] On the one hand, an embodiment of the present application provides a head-mounted wearable device, comprising:
[0071] An input module is used to obtain an audio source to be played, wherein the audio source to be played includes playback direction information;
[0072] a processing module, configured to determine, based on the reference posture of the head-mounted wearable device and the playback orientation information, at least one reference orientation of the audio source to be played relative to the reference posture; and control the movement of at least one movable device among the plurality of candidate audio devices based on the at least one reference orientation;
[0073] a position identification module, configured to identify the relative position of each of the plurality of candidate audio devices with respect to the reference posture after the movement is completed;
[0074] The processing module is further configured to select at least one target audio device from the multiple candidate audio devices based on the obtained multiple relative positions and the at least one reference orientation; obtain, for each target audio device, a corresponding target audio signal from the audio source to be played, and send the target audio signal to the target audio device for playback.
[0075] Optionally, it also includes a synchronous positioning and map construction module;
[0076] The synchronous positioning and map building module is specifically used for:
[0077] Determine a reference pose of the head-mounted wearable device at a reference time.
[0078] Optionally, the audio source to be played is a multi-channel audio source, and the playback direction information includes direction information of multiple mono channels;
[0079] The processing module is specifically used for:
[0080] For each mono channel including orientation information, a first reference orientation of the mono channel relative to the reference posture is determined based on the reference posture and the orientation information corresponding to the mono channel.
[0081] Optionally, the processing module is specifically configured to:
[0082] If the first number of the movable devices is greater than or equal to the second number of the mono channels containing position information, then for each mono channel containing position information, controlling one movable device among the plurality of candidate audio devices to move to a first reference position of the mono channel;
[0083] If the first number is smaller than the second number, for each mono channel in the first number of mono channels containing position information, one movable device among the plurality of candidate audio devices is controlled to move to a first reference position of the mono channel.
[0084] Optionally, the processing module is specifically configured to:
[0085] For each single channel containing orientation information, select, from the obtained multiple relative positions, the target relative position having the smallest orientation difference from the corresponding first reference orientation;
[0086] The candidate audio device associated with the target relative position is used as the target audio device.
[0087] Optionally, the processing module is specifically configured to:
[0088] For each target audio device, a corresponding mono audio signal is obtained from the audio source to be played, and the mono audio signal is sent to the target audio device for playing.
[0089] Optionally, the audio source to be played includes 3D audio, and the playback direction information includes direction information corresponding to the 3D audio;
[0090] The processing module is specifically used for:
[0091] Based on the reference posture and the orientation information corresponding to the 3D audio, a second reference orientation of the 3D audio relative to the reference posture is determined.
[0092] Optionally, the processing module is specifically configured to:
[0093] A movable device among the plurality of candidate audio devices is controlled to move to the second reference position.
[0094] Optionally, the processing module is specifically configured to:
[0095] Selecting, from the obtained multiple relative positions, a target relative position having the smallest orientation difference from the second reference orientation;
[0096] The candidate audio device associated with the target relative position is used as the target audio device.
[0097] Optionally, the processing module is further configured to:
[0098] When the second reference orientation corresponding to the 3D audio changes, the corresponding movable device is controlled to move to the changed second reference orientation.
[0099] In one aspect, an embodiment of the present application provides an audio and video system, comprising:
[0100] a head-mounted wearable device and a plurality of candidate audio devices located around the head-mounted wearable device;
[0101] The head-mounted wearable device is configured to obtain an audio source to be played, the audio source to be played including playback orientation information; identify the relative position of each of the multiple candidate audio devices with respect to a reference position of the head-mounted wearable device; select at least one target audio device from the multiple candidate audio devices based on the obtained multiple relative positions, the reference position, and the playback orientation information; for each target audio device, obtain a corresponding target audio signal from the audio source to be played based on the relative position of the target audio device with respect to the reference position, and send the target audio signal to the target audio device;
[0102] The target audio device is used to play the target audio signal.
[0103] In one aspect, an embodiment of the present application provides an audio and video system, comprising:
[0104] a head-mounted wearable device and a plurality of candidate audio devices located around the head-mounted wearable device;
[0105] The head-mounted wearable device is used to obtain an audio source to be played, wherein the audio source to be played includes playback orientation information; based on a reference posture of the head-mounted wearable device and the playback orientation information, determine at least one reference orientation of the audio source to be played relative to the reference posture; based on the at least one reference orientation, control at least one movable device among a plurality of candidate audio devices to move, and after the movement is completed, identify the relative position of each of the plurality of candidate audio devices with respect to the reference posture; based on the obtained plurality of relative positions and the at least one reference orientation, select at least one target audio device from the plurality of candidate audio devices; for each target audio device, obtain a corresponding target audio signal from the audio source to be played, and send the target audio signal to the target audio device;
[0106] The target audio device is used to play the target audio signal.
[0107] On the one hand, an embodiment of the present application provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above-mentioned audio playback method when executing the program.
[0108] On the one hand, an embodiment of the present application provides a computer-readable storage medium, which stores a computer program that can be executed by a computer device. When the program is run on the computer device, the computer device executes the steps of the above-mentioned audio playback method. BRIEF DESCRIPTION OF THE DRAWINGS
[0109] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0110] FIG1 is a schematic diagram of a system architecture provided in an embodiment of the present application;
[0111] FIG2 is a schematic structural diagram of a head-mounted wearable device provided in an embodiment of the present application;
[0112] FIG3 is a flow chart of an audio playback method provided in an embodiment of the present application;
[0113] FIG4 is a schematic diagram of the positions of multiple mono channels and multiple candidate audio devices according to an embodiment of the present application;
[0114] FIG5 is a schematic diagram of the positions of 3D audio and multiple candidate audio devices provided in an embodiment of the present application;
[0115] FIG6 is a flow chart of an audio playback method provided in an embodiment of the present application;
[0116] FIG7 is a schematic diagram of the positions of multiple mono channels and multiple candidate audio devices according to an embodiment of the present application;
[0117] FIG8 is a schematic diagram of the positions of multiple mono channels and multiple candidate audio devices according to an embodiment of the present application;
[0118] FIG9 is a schematic diagram of the positions of 3D audio and multiple candidate audio devices provided in an embodiment of the present application;
[0119] FIG10 is a schematic structural diagram of a head-mounted wearable device provided in an embodiment of the present application;
[0120] FIG11 is a schematic structural diagram of a head-mounted wearable device provided in an embodiment of the present application;
[0121] FIG12 is a schematic structural diagram of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0122] In order to make the purpose, technical solutions and beneficial effects of the present invention more clearly understood, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.
[0123] With the development of technologies such as artificial intelligence and the Internet of Things, smart homes and smart appliances are entering more and more homes. Because of this, a home may contain many smart audio devices. Smart audio devices can be wireless speakers, or components integrated into smart appliances such as air conditioners, refrigerators, and lighting. They can also be smart routers, computers, or part of digital cinema systems and audio and video equipment. If these audio devices located in different locations are used to play the audio of a head-mounted wearable device, a better audio experience will be achieved, especially the audio space experience. In view of this, the present application proposes an audio playback method and a corresponding head-mounted wearable device and audio and video system, which will be explained in detail below.
[0124] Referring to Figure 1, which is a schematic diagram of the structure of an audio and video system provided in an embodiment of the present application, the system architecture includes a head-mounted wearable device 100 and multiple candidate audio devices 200. The multiple candidate audio devices 200 are located around the head-mounted wearable device 100. The multiple candidate audio devices 200 can be directly or indirectly connected via wired or wireless communication. The head-mounted wearable device 100 and the candidate audio devices 200 can be directly or indirectly connected via wired or wireless communication, and the present application does not impose any restrictions on this.
[0125] In practical applications, the head-mounted wearable device 100 may be smart glasses, such as AR glasses, VR glasses, or MR glasses. The candidate audio device 200 may be a standalone device such as a wireless speaker, a smart router, or a computer, or a component integrated into smart home appliances such as air conditioners, refrigerators, or lighting, or may be part of a digital cinema system or audio / video equipment.
[0126] In some embodiments, referring to FIG. 2 , a head-mounted wearable device 100 includes an image sensor 101 , a processor 102 , a Simultaneous Localization and Mapping (SLAM) module 103 , a location recognition module 104 , a display 105 , a wireless module 106 , and a memory 107 .
[0127] The image sensor 101 may be a camera, a depth sensor, an infrared sensor, etc. The image sensor 101 is used to capture images or videos. The head-mounted wearable device 100 includes one or more image sensors 101. The memory 107 is used to store images or videos captured by the image sensor 101.
[0128] The processor 102 may utilize various reduced instruction set computers (RISCs), digital signal processors (DSPs), central processing units (CPUs), graphics processing units (GPUs), and other processor hardware circuits as processing units to perform corresponding functions. The processor 102 may include only one processing unit or multiple processing units.
[0129] The SLAM module 103 is used to determine the position and surrounding environment of the head-mounted wearable device 100 at different times based on the images or videos captured by the image sensor 101. The position refers to the position or attitude, which can be characterized by the azimuth (orientation) and elevation angle. In some embodiments, the SLAM module is combined with an inertial measurement unit (IMU) to determine the position and surrounding environment of the head-mounted wearable device 100 at different times.
[0130] The position identification module 104 is configured to identify the relative positions of each of the plurality of candidate audio devices 200 and the reference position of the head-mounted wearable device 100 .
[0131] The display 105 is used to display video images or images.
[0132] The wireless module 106 is used to wirelessly communicate with the surrounding candidate audio devices 200. The wireless module 106 can be a WiFi module, a classic Bluetooth module, a Bluetooth Low Energy (BLE) module, an LE audio module, a Zigbee module, a Near Field Communication (NFC) module, an Ultra Wide Band (UWB) module, etc.
[0133] Based on the system architecture diagrams shown in Figures 1 and 2, an embodiment of the present application provides a process of an audio playback method, as shown in Figure 3. The process of the method is executed by a computer device, which can be the head-mounted wearable device shown in Figures 1 and 2, and includes the following steps:
[0134] Step S301: Obtain the audio source to be played.
[0135] Specifically, the audio source to be played can be a separate audio (such as a song) or audio in a video (such as special effect audio in a game video). The audio source to be played includes playback direction information.
[0136] Step S302: Identify the relative positions of each of the multiple candidate audio devices and the reference posture of the head-mounted wearable device.
[0137] Specifically, the relative position of the candidate audio device to the reference posture includes the orientation of the candidate audio device relative to the reference posture. For example, the candidate audio device is located 40 degrees to the left and forward of the reference posture. The relative position of the candidate audio device to the reference posture may also include the distance between the candidate audio device and the reference posture.
[0138] The reference posture refers to the posture of the head-mounted wearable device at a reference time, where the reference time can be the initial time after the head-mounted wearable device is started, or it can be a predetermined time, where the user can set and modify the predetermined time through buttons, gestures, voice, etc.
[0139] For example, the time to start playing audio can be set as a predetermined time. When the user triggers music playback, the position of the head-mounted wearable device at that predetermined time is recorded and used as the reference position of the head-mounted wearable device. For another example, the time to respond to a user action such as a key press, gesture, or specific voice is set as a predetermined time, the position of the head-mounted wearable device at that predetermined time is recorded and used as the reference position of the head-mounted wearable device.
[0140] In some embodiments, a SLAM module is used to determine a reference pose of the head-mounted wearable device at a reference time based on images captured by an image sensor.
[0141] In some embodiments, the positions of multiple candidate audio devices are determined based on images captured by an image sensor through a SLAM module; or, the positions of multiple candidate audio devices are determined through wireless communication with multiple candidate audio devices; or, the positions of multiple candidate audio devices are received from a user (for example, the user specifies the positions of multiple candidate audio devices on a map of the surrounding environment displayed on the smart glasses).
[0142] In some embodiments, the position identification module determines the relative position of each candidate audio device to the reference posture of the head-mounted wearable device based on the position of each candidate audio device and the reference posture of the head-mounted wearable device.
[0143] In some embodiments, the number of the multiple candidate audio devices is greater than or equal to 3, the multiple candidate audio devices are located around the head-mounted wearable device, and at least two candidate audio devices are included in any preset azimuth angle around the head-mounted wearable device.
[0144] Specifically, the preset azimuth angle can be set according to the actual application scenario. For example, the preset azimuth angle can be any angle between 90 degrees and 120 degrees.
[0145] By setting at least two candidate audio devices within any preset azimuth angle around the head-mounted wearable device, it can be ensured that when the reference posture of the head-mounted wearable device is any posture, there can be candidate audio devices that are relatively close to it in the corresponding orientation on the left and right, front and back, so that the user can feel a good spatial audio experience, thereby improving the user experience.
[0146] Step S303: Select at least one target audio device from multiple candidate audio devices based on the obtained multiple relative positions, reference postures, and playback orientation information.
[0147] Step S304: For each target audio device, a corresponding target audio signal is obtained from the audio source to be played, and the target audio signal is sent to the target audio device for playing.
[0148] Specifically, the head-mounted wearable device sends the target audio signal to the target audio device through the wireless module, and the target audio device receives the target audio signal wirelessly and plays it.
[0149] In an embodiment of the present application, for an audio source to be played that includes playback orientation information, based on the relative positions of multiple candidate audio devices around the head-mounted wearable device and the head-mounted wearable device, the reference posture of the head-mounted wearable device, and the playback orientation information in the audio source to be played, at least one target audio device for playing the audio source to be played is selected from the multiple candidate audio devices, and then the audio signal associated with each target audio device in the audio source to be played is sent to the target audio device for playback, thereby achieving a better audio spatial experience.
[0150] In some embodiments, the audio source to be played is a multi-channel audio source, the multi-channel audio source includes multiple mono audio signals, and the playback direction information includes direction information of multiple mono channels.
[0151] For example, a 5.1 channel system includes two front channels, one center channel, two surround channels, and one subwoofer channel. The two front channels include a left front channel and a right front channel. The left front channel's azimuth information is the front left, and the right front channel's azimuth information is the front right. The center channel's azimuth information is directly in front, and the two surround channels' azimuth information is slightly to the rear of the left and right sides. In many cases, the subwoofer channel does not contain azimuth information, so the first reference azimuth for the subwoofer channel can be set flexibly.
[0152] For example, compared to 5.1 channels, 7.1 channels have two more surround channels, and the position information is the left rear position and the right rear position.
[0153] For each mono channel containing orientation information, a first reference orientation relative to the reference orientation is determined based on the reference orientation and the orientation information corresponding to the mono channel. A target relative position with the smallest orientation difference from the first reference orientation is selected from the multiple relative positions obtained. The candidate audio device associated with the target relative position is designated as the target audio device. The corresponding mono audio signal is then obtained from the audio source to be played and sent to the target audio device for playback.
[0154] Specifically, the first reference orientation can refer to the orientation angle of a single channel relative to the reference position. For example, the first reference orientation of the left front channel is 30 degrees forward from the left side of the reference position. The first reference orientation of the right front channel is 30 degrees forward from the right side of the reference position.
[0155] In actual applications, the positions of multiple candidate audio devices located around the head-mounted wearable device are random or their positions are not fixed relative to each other. At the same time, the reference posture of the head-mounted wearable device is random or variable with the user. Therefore, there will be an azimuth difference between the relative position of the candidate audio device and the reference posture and the first reference orientation, wherein the azimuth difference can be obtained by taking the absolute value after subtracting the azimuth of the first reference orientation from the azimuth in the relative position. Therefore, in the present application, for each mono channel containing azimuth information, the target audio device corresponding to the smallest azimuth difference is selected from the multiple candidate audio devices. Then, the corresponding mono audio signal in the audio source to be played is sent to the target audio device for playback through the wireless module.
[0156] For example, as shown in FIG4 , a room is set up including smart glasses 400 , an air conditioner 401 , a refrigerator 402 , a lighting lamp 403 , a smart router 404 , a wireless speaker 405 , a computer 406 , and a sweeping robot 407 .
[0157] The audio source to be played in the smart glasses 400 is a 5.1-channel audio source, and the 5.1 channels include: 2 front channels, 1 center channel, 2 surround channels, and 1 bass channel.
[0158] Assuming the front of the smart glasses 400 as the starting point and clockwise as the positive direction, the first reference orientations of the two front channels are 30 degrees and -30 degrees, respectively. The first reference orientation of the center channel is 0 degrees. The first reference orientations of the two surround channels are 100 degrees and -100 degrees, respectively. In many cases, the bass channel does not contain orientation information. Therefore, the first reference orientation of the bass channel can be flexibly set, for example, to 180 degrees.
[0159] The azimuth angle of the air conditioner 401 relative to the reference posture is -45 degrees; the azimuth angle of the refrigerator 402 relative to the reference posture is 50 degrees; the azimuth angle of the lighting lamp 403 relative to the reference posture is -10 degrees; the azimuth angle of the smart router 404 relative to the reference posture is -90 degrees; the azimuth angle of the wireless speaker 405 relative to the reference posture is 90 degrees; the azimuth angle of the computer 406 relative to the reference posture is 135 degrees; and the azimuth angle of the sweeping robot 407 relative to the reference posture is 160 degrees.
[0160] For the left front channel (the first reference azimuth is -30 degrees) of the two front channels, the azimuth angle of the air conditioner 401 relative to the reference position (-45 degrees) has an azimuth difference of 15 degrees from the first reference azimuth of the left front channel (-30 degrees);
[0161] The azimuth angle of the refrigerator 402 relative to the reference position (50 degrees) is 80 degrees away from the first reference azimuth of the left front channel (-30 degrees).
[0162] The azimuth angle of the lighting lamp 403 relative to the reference position (-10 degrees) is 20 degrees away from the first reference azimuth angle of the left front channel (-30 degrees);
[0163] The azimuth angle of the intelligent router 404 relative to the reference position (-90 degrees) has an azimuth difference of 60 degrees from the first reference azimuth of the left front channel (-30 degrees);
[0164] The azimuth angle of the wireless speaker 405 relative to the reference position (90 degrees) is 120 degrees away from the first reference azimuth of the left front channel (-30 degrees).
[0165] The azimuth angle of the computer 406 relative to the reference position (135 degrees) has an azimuth difference of 165 degrees from the first reference azimuth of the left front channel (-30 degrees);
[0166] The azimuth angle (160 degrees) of the cleaning robot 407 relative to the reference posture has an azimuth difference of 190 degrees from the first reference azimuth (-30 degrees) of the left front sound channel.
[0167] By comparison, we can see that the orientation difference obtained for air conditioner 401 is the smallest, so air conditioner 401 is associated with the left front channel. Using the same method as above, we can determine that refrigerator 402 is associated with the right front channel, lighting 403 is associated with the center channel, smart router 404 is associated with the left surround channel of the two surround channels, wireless speaker 405 is associated with the right surround channel of the two surround channels, and robot vacuum 407 is associated with the subwoofer channel.
[0168] Correspondingly, the mono audio signal of the left front channel in the audio source to be played is sent to the audio playback component in the air conditioner 401; the mono audio signal of the right front channel in the audio source to be played is sent to the audio playback component in the refrigerator 402; the mono audio signal of the center channel in the audio source to be played is sent to the audio playback component in the lighting lamp 403; the mono audio signal of the left surround channel in the audio source to be played is sent to the audio playback component in the smart router 404; the mono audio signal of the right surround channel in the audio source to be played is sent to the wireless speaker 405; and the mono audio signal of the bass channel in the audio source to be played is sent to the audio playback component in the sweeping robot 407.
[0169] The audio playing component or the speaker that receives the mono audio signal plays its own mono audio signal.
[0170] In an embodiment of the present application, for a multi-channel audio source, a target audio device that matches the orientation of each mono channel is selected from multiple candidate audio devices around the head-mounted wearable device, and then the corresponding mono audio signal is played through each of the selected multiple target audio devices to obtain a better spatial audio playback effect, thereby improving the audio spatial experience.
[0171] In some embodiments, the audio source to be played includes 3D audio, and the playback direction information includes direction information corresponding to the 3D audio, wherein the direction information corresponding to the 3D audio is used to represent the direction in which sound is transmitted.
[0172] In interactive games, VR videos, and some interactive software applications, interactive 3D sound effects are generated to create a real interactive 3D auditory environment. For example, the sound of a gunshot, the scream of being shot, the slight sound of footsteps, etc. These audios are often highly directional. For example, footsteps come from behind the user from far to near; for another example, gunshots come from the back of the user. It should be noted that the audio source to be played not only includes 3D audio, but also other audio (such as background music), and this application does not make specific restrictions on this.
[0173] Based on the reference posture and the orientation information corresponding to the 3D audio, a second reference orientation of the 3D audio relative to the reference posture is determined; and then, based on the obtained multiple relative positions and second reference orientations, at least one target audio device is selected from multiple candidate audio devices.
[0174] Specifically, the second reference orientation refers to the orientation angle of the 3D audio relative to the reference position. For example, the second reference orientation of the 3D audio is: the 3D audio is transmitted 30 degrees forward from the left side of the reference position.
[0175] In practical applications, one or two target audio devices may be selected to play the 3D audio, so that the user can better perceive the direction of the 3D audio, thereby ensuring the directionality or spatial characteristics of the 3D audio.
[0176] Specifically, for each candidate audio device, the relative position of the candidate audio device to the reference posture and the orientation difference with the second reference orientation are determined; then the multiple orientation differences obtained are sorted in ascending order, and the candidate audio device ranked first or first two is used as the target audio device.
[0177] When a target audio device is selected, 3D audio is obtained from the audio source to be played, and the 3D audio is sent to the target audio device for playback.
[0178] When two target audio devices are obtained, for each of the two obtained target audio devices, if the target audio device satisfies at least one of the following conditions, the 3D audio with the volume increased is sent to the target audio device for playback; otherwise, the 3D audio is sent to the target audio device for playback;
[0179] Condition 1: The target audio device farthest from the head-mounted wearable device among the two target audio devices;
[0180] Condition 2: The target audio device with the smallest bearing difference among the two target audio devices.
[0181] In practical applications, the volume of the 3D audio is increased by increasing the amplitude of the audio signal of the 3D audio.
[0182] For example, as shown in FIG5 , a room is set up including smart glasses 400 , an air conditioner 401 , a refrigerator 402 , a lighting lamp 403 , a smart router 404 , a wireless speaker 405 , a computer 406 , and a sweeping robot 407 .
[0183] Set the starting point directly in front of the reference position of the smart glasses 400, and the clockwise direction as the positive direction. The audio source to be played in the smart glasses 400 includes 3D audio, and the second reference orientation of the 3D audio is: -30 degrees. The azimuth angle of the air conditioner 401 relative to the reference position is -45 degrees; the azimuth angle of the refrigerator 402 relative to the reference position is 50 degrees; the azimuth angle of the lighting 403 relative to the reference position is -10 degrees; the azimuth angle of the smart router 404 relative to the reference position is -90 degrees; the azimuth angle of the wireless speaker 405 relative to the reference position is 90 degrees; the azimuth angle of the computer 406 relative to the reference position is 135 degrees; and the azimuth angle of the sweeping robot 407 relative to the reference position is 160 degrees.
[0184] Calculation shows that the azimuth angle of the air conditioner 401 relative to the reference posture (-45 degrees) has an azimuth difference of 15 degrees from the second reference azimuth of the 3D audio (-30 degrees);
[0185] The orientation angle of the refrigerator 402 relative to the reference position (50 degrees) has an orientation difference of 80 degrees from the second reference orientation of the 3D audio (-30 degrees);
[0186] The azimuth angle of the lighting lamp 403 relative to the reference position (-10 degrees) has an azimuth difference of 20 degrees from the second reference azimuth of the 3D audio (-30 degrees);
[0187] The azimuth angle of the smart router 404 relative to the reference position (-90 degrees) has an azimuth difference of 60 degrees from the second reference azimuth of the 3D audio (-30 degrees);
[0188] The azimuth angle of the wireless speaker 405 relative to the reference position (90 degrees) has an azimuth difference of 120 degrees from the second reference azimuth of the 3D audio (-30 degrees);
[0189] The azimuth angle of the computer 406 relative to the reference position (135 degrees) has an azimuth difference of 165 degrees from the second reference azimuth of the 3D audio (-30 degrees);
[0190] The azimuth angle (160 degrees) of the cleaning robot 407 relative to the reference posture has an azimuth difference of 190 degrees from the second reference azimuth of the 3D audio (-30 degrees).
[0191] The multiple orientation differences obtained above are sorted in ascending order, and the sorting results are: orientation difference corresponding to air conditioner 401 (15 degrees), orientation difference corresponding to lighting lamp 403 (20 degrees), orientation difference corresponding to smart router 404 (60 degrees), orientation difference corresponding to refrigerator 402 (80 degrees), orientation difference corresponding to wireless speaker 405 (120 degrees), orientation difference corresponding to computer 406 (165 degrees), and orientation difference corresponding to sweeping robot 407 (190 degrees).
[0192] The top two ranked devices, air conditioner 401 and lighting 403, are selected as target audio devices from the sorted results. Since the distance between air conditioner 401 and smart glasses 400 is smaller than the distance between lighting 403 and smart glasses 400, the 3D audio signal's amplitude is increased and sent to the audio playback component in lighting 403.
[0193] Because the azimuth difference corresponding to air conditioner 401 is smaller than the azimuth difference corresponding to lighting 403, the amplitude of the 3D audio signal is increased and the increased-amplitude 3D audio signal is sent to the audio playback component in air conditioner 401. The audio playback components in air conditioner 401 and lighting 403 play the audio signals they receive.
[0194] In an embodiment of the present application, for the two target audio devices obtained, the volume of the 3D audio played on the target audio device farthest from the head-mounted wearable device and the target audio device with the smallest azimuth difference from the second reference azimuth is increased, thereby improving the directional accuracy of the 3D audio and correcting the impact of the different distances of the audio devices, thereby improving the user experience.
[0195] In some embodiments, when the second reference orientation corresponding to the 3D audio changes, the volume of the 3D audio received by the two target audio devices is adjusted accordingly. Of course, the two target audio devices can also be reselected based on the changed second reference orientation. This adapts to 3D audio from various orientations and real-time changes in 3D audio, allowing users to experience a more spatially realistic 3D audio experience.
[0196] Based on the system architecture diagrams shown in Figures 1 and 2, an embodiment of the present application provides a process of an audio playback method, as shown in Figure 6. The process of the method is executed by a computer device, which can be the head-mounted wearable device shown in Figures 1 and 2, and includes the following steps:
[0197] Step S601: Obtain the audio source to be played.
[0198] Specifically, the audio source to be played can be a separate audio (such as a song) or audio in a video (such as special effect audio in a game video). The audio source to be played includes playback direction information.
[0199] Step S602: Determine at least one reference orientation of the audio source to be played relative to the reference orientation based on the reference orientation and playback orientation information of the head-mounted wearable device.
[0200] Specifically, the reference posture refers to the posture of the head-mounted wearable device at a reference time, where the reference time can be the initial time after the head-mounted wearable device is started, or it can be a predetermined time, where the user can set and modify the predetermined time through buttons, gestures, voice, etc.
[0201] In some embodiments, a SLAM module is used to determine a reference pose of the head-mounted wearable device at a reference time based on images captured by an image sensor.
[0202] Step S603: Based on at least one reference orientation, control at least one movable device among the multiple candidate audio devices to move, and after the movement is completed, identify the relative position of each of the multiple candidate audio devices with respect to the reference orientation.
[0203] Specifically, the mobile device is autonomous and movable and can be integrated into devices such as drones, unmanned vehicles, and autonomous robots (mobile robots). The mobile device includes an image sensor and a SLAM module. The image sensor is used to capture images or videos. The SLAM module determines the position (position or posture) of the mobile device based on the captured images or videos. The mobile device uses the SLAM module to move its position, orientation, or change its posture.
[0204] The head-mounted wearable device wirelessly sends a reference position to a mobile device, and the mobile device moves autonomously to the reference position through the SLAM module.
[0205] In some embodiments, the position identification module determines the relative position of each candidate audio device to the reference posture of the head-mounted wearable device based on the position of each candidate audio device and the reference posture of the head-mounted wearable device.
[0206] Step S604: selecting at least one target audio device from a plurality of candidate audio devices based on the obtained multiple relative positions and at least one reference orientation.
[0207] Step S605 : For each target audio device, a corresponding target audio signal is obtained from the audio source to be played, and the target audio signal is sent to the target audio device for playing.
[0208] Specifically, the head-mounted wearable device sends the target audio signal to the target audio device through the wireless module, and the target audio device receives the target audio signal wirelessly and plays it.
[0209] In an embodiment of the present application, for an audio source to be played that includes playback orientation information, at least one reference orientation of the audio source to be played relative to the reference orientation is determined based on the reference posture and playback orientation information of the head-mounted wearable device, and then at least one movable device among multiple candidate audio devices is controlled to move toward the reference orientation. Therefore, based on the relative positions of the multiple candidate audio devices and the head-mounted wearable device and at least one reference orientation, when a target audio device for playing the audio source to be played is selected from multiple candidate audio devices, the position of the target audio device is more closely matched with the playback orientation information of the audio source to be played, thereby achieving a better audio space experience.
[0210] In some embodiments, the audio source to be played is a multi-channel audio source, the multi-channel audio source includes multiple mono audio signals, and the playback direction information includes direction information of multiple mono channels.
[0211] For each mono channel including orientation information, a first reference orientation of the mono channel relative to the reference posture is determined based on the reference posture and the orientation information corresponding to the mono channel.
[0212] Specifically, the first reference orientation can refer to the orientation angle of a single channel relative to the reference position. For example, the first reference orientation of the left front channel is 30 degrees forward from the left side of the reference position. The first reference orientation of the right front channel is 30 degrees forward from the right side of the reference position.
[0213] In some embodiments, if the first number of movable devices is greater than or equal to the second number of mono channels containing orientation information, then for each mono channel containing orientation information, one movable device among multiple candidate audio devices is controlled to move to the first reference orientation of the mono channel; that is, after the movement is completed, each mono channel containing orientation information corresponds to an audio device located at the corresponding first reference orientation.
[0214] In practical applications, the relative positions of a first number of movable devices relative to a reference position are first determined. For each mono channel containing orientation information, the orientation difference between each of the obtained relative positions and the first reference orientation of the mono channel is determined. The movable device with the smallest orientation difference is then selected and controlled to move to the first reference orientation of the mono channel.
[0215] In some embodiments, if the first number is smaller than the second number, for each mono channel in the first number of mono channels containing position information, one movable device among the plurality of candidate audio devices is controlled to move to a first reference position of the mono channel.
[0216] Specifically, when the first number is smaller than the second number, a first number of mono channels containing orientation information is selected from a second number of mono channels containing orientation information, wherein the first number of mono channels containing orientation information can be selected by the user, randomly selected, or selected according to channel characteristics. This application does not make any specific limitations on this.
[0217] In some embodiments, when the first number is smaller than the second number, for the second number of mono channels containing position information, a second number of candidate audio devices are selected from a plurality of candidate audio devices, wherein the second number of candidate audio devices include the first number of removable devices.
[0218] With the goal of minimizing the sum of the absolute values of the second number of orientation differences, or with the goal of minimizing the variance of the second number of orientation differences, for each mono channel in the first number of mono channels containing orientation information, a corresponding movable device is selected from the first number of movable devices, and the selected movable device is controlled to move to the first reference orientation of the mono channel, wherein the second number of orientation differences refers to: after the first number of movable devices have moved, the relative positions of the second number of candidate audio devices relative to the reference posture, and the orientation differences between them and the first reference orientation of the corresponding mono channel.
[0219] In some embodiments, the positions of multiple candidate audio devices located around the head-mounted wearable device are random or their positions are not fixed relative to each other. At the same time, the reference posture of the head-mounted wearable device is random or variable with the user. Therefore, there may be an azimuth difference between the relative position of the candidate audio device and the reference posture and the first reference orientation, wherein the azimuth difference can be obtained by taking the absolute value of the azimuth angle in the relative position minus the azimuth angle of the first reference orientation. Therefore, in the present application, for each mono channel containing azimuth information, the target relative position with the smallest azimuth difference with the corresponding first reference orientation is selected from the multiple relative positions obtained, and the candidate audio device associated with the target relative position is used as the target audio device. For each target audio device, the corresponding mono audio signal is obtained from the audio source to be played, and the mono audio signal is sent to the target audio device for playback.
[0220] For example, as shown in FIG7 , a room is set up including smart glasses 400 , an air conditioner 401 , a refrigerator 402 , a lighting lamp 403 , a smart router 404 , a wireless speaker 405 , a computer 406 , a sweeping robot 407 , and a drone 408 .
[0221] The audio source to be played in the smart glasses 400 is a 5.1-channel audio source, and the 5.1 channels include: 2 front channels, 1 center channel, 2 surround channels, and 1 bass channel.
[0222] Assuming the front of the smart glasses 400 as the starting point and clockwise as the positive direction, the first reference orientations of the two front channels are 30 degrees and -30 degrees, respectively. The first reference orientation of the center channel is 0 degrees. The first reference orientations of the two surround channels are 100 degrees and -100 degrees, respectively. In many cases, the bass channel does not contain orientation information. Therefore, the first reference orientation of the bass channel can be flexibly set, for example, to 180 degrees.
[0223] In the initial stage, referring to FIG7 , the azimuth angle of the air conditioner 401 relative to the reference posture is -45 degrees; the azimuth angle of the refrigerator 402 relative to the reference posture is 50 degrees; the azimuth angle of the lighting lamp 403 relative to the reference posture is -10 degrees; the azimuth angle of the smart router 404 relative to the reference posture is -90 degrees; the azimuth angle of the wireless speaker 405 relative to the reference posture is 90 degrees; the azimuth angle of the computer 406 relative to the reference posture is 135 degrees; the azimuth angle of the sweeping robot 407 relative to the reference posture is 160 degrees; and the azimuth angle of the drone 408 relative to the reference posture is 10 degrees.
[0224] Referring to Figure 8, the smart glasses 400 wirelessly sends the first reference orientation (100 degrees) of the right surround channel of the two surround channels to the sweeping robot 407, and the sweeping robot 407 moves to the first reference orientation (100 degrees). At this time, the azimuth angle of the sweeping robot 407 relative to the reference posture is 100 degrees.
[0225] The smart glasses 400 wirelessly sends the first reference orientation (30 degrees) of the right front channel of the two front channels to the drone 408, and the drone 408 moves to the first reference orientation (30 degrees). At this time, the orientation angle of the drone 408 relative to the reference posture is 30 degrees.
[0226] In the process of selecting the target audio device, for the right front channel (the first reference azimuth is 30 degrees), the azimuth angle of the air conditioner 401 relative to the reference posture (-45 degrees) has an azimuth difference of 75 degrees from the first reference azimuth of the right front channel (30 degrees);
[0227] The azimuth angle of the refrigerator 402 relative to the reference position (50 degrees) is 20 degrees away from the first reference azimuth of the right front channel (30 degrees);
[0228] The azimuth angle of the lighting lamp 403 relative to the reference position (-10 degrees) is 40 degrees away from the first reference azimuth of the right front channel (30 degrees);
[0229] The azimuth angle of the intelligent router 404 relative to the reference position (-90 degrees) has an azimuth difference of 120 degrees from the first reference azimuth of the right front channel (30 degrees);
[0230] The azimuth angle of the wireless speaker 405 relative to the reference position (90 degrees) is 60 degrees away from the first reference azimuth angle of the right front channel (30 degrees).
[0231] The azimuth angle of the computer 406 relative to the reference position (135 degrees) has an azimuth difference of 105 degrees from the first reference azimuth of the right front side channel (30 degrees);
[0232] The azimuth angle (100 degrees) of the cleaning robot 407 relative to the reference posture has an azimuth difference of 70 degrees from the first reference azimuth (30 degrees) of the right front channel.
[0233] The azimuth angle (30 degrees) of the drone 408 relative to the reference posture has an azimuth difference of 0 degrees from the first reference azimuth (30 degrees) of the right front side channel.
[0234] By comparison, we can see that the azimuth difference obtained for drone 408 is the smallest, so drone 408 is assigned to the right front channel. Using the same method, we can assign air conditioner 401 to the left front channel, lighting 403 to the center channel, smart router 404 to the left surround channel, robot vacuum 407 to the right surround channel, and computer 406 to the subwoofer channel.
[0235] Correspondingly, the mono audio signal of the left front channel in the audio source to be played is sent to the audio playback component in the air conditioner 401; the mono audio signal of the right front channel in the audio source to be played is sent to the audio playback component in the drone 408; the mono audio signal of the center channel in the audio source to be played is sent to the audio playback component in the lighting lamp 403; the mono audio signal of the left surround channel in the audio source to be played is sent to the audio playback component in the smart router 404; the mono audio signal of the right surround channel in the audio source to be played is sent to the sweeping robot 407; and the mono audio signal of the bass channel in the audio source to be played is sent to the audio playback component in the computer 406.
[0236] The audio playing component or the speaker that receives the mono audio signal plays its own mono audio signal.
[0237] In an embodiment of the present application, for a multi-channel audio source, based on the reference posture of the head-mounted wearable device and the orientation information of multiple mono channels, a first reference orientation of each channel containing orientation information relative to the reference posture is determined, and then a movable device among multiple candidate audio devices is controlled to move toward the first reference orientation. After the movement is completed, a target audio device that better matches the orientation of the multiple mono channels can be selected from the multiple candidate audio devices to obtain a better spatial audio playback effect, thereby improving the audio space experience.
[0238] In some embodiments, the audio source to be played includes 3D audio, and the playback direction information includes direction information corresponding to the 3D audio, wherein the direction information corresponding to the 3D audio is used to represent the direction in which sound is transmitted.
[0239] Based on the reference posture and the orientation information corresponding to the 3D audio, a second reference orientation of the 3D audio relative to the reference posture is determined, and then a movable device among the plurality of candidate audio devices is controlled to move to the second reference orientation.
[0240] Specifically, the second reference orientation refers to the orientation angle of the 3D audio relative to the reference position. For example, the second reference orientation of the 3D audio is: the 3D audio is transmitted 30 degrees forward from the left side of the reference position.
[0241] In practical applications, one or two target audio devices may be selected to play the 3D audio, so that the user can better perceive the direction of the 3D audio, thereby ensuring the directionality or spatial characteristics of the 3D audio.
[0242] In some embodiments, a target relative position having the smallest orientation difference from the second reference orientation is selected from the obtained multiple relative positions; and then a candidate audio device associated with the target relative position is used as the target audio device.
[0243] In some embodiments, for each candidate audio device, the relative position of the candidate audio device to the reference posture and the orientation difference with the second reference orientation are determined; then the multiple orientation differences obtained are sorted in ascending order, and the top two candidate audio devices are used as target audio devices.
[0244] For each of the two obtained target audio devices, if the target audio device satisfies at least one of the following conditions, the 3D audio with the volume increased is sent to the target audio device for playback; otherwise, the 3D audio is sent to the target audio device for playback;
[0245] Condition 1: The target audio device farthest from the head-mounted wearable device among the two target audio devices;
[0246] Condition 2: The target audio device with the smallest bearing difference among the two target audio devices.
[0247] In practical applications, the volume of the 3D audio is increased by increasing the amplitude of the audio signal of the 3D audio.
[0248] For example, as shown in FIG5 , a room is set up including smart glasses 400 , an air conditioner 401 , a refrigerator 402 , a lighting lamp 403 , a smart router 404 , a wireless speaker 405 , a computer 406 , and a sweeping robot 407 .
[0249] The front of the reference position of the smart glasses 400 is set as the starting point, and the clockwise direction is set as the positive direction. The audio source to be played in the smart glasses 400 includes 3D audio, and the second reference orientation of the 3D audio is: -30 degrees.
[0250] In the initial stage, referring to FIG5 , the azimuth angle of the air conditioner 401 relative to the reference posture is -45 degrees; the azimuth angle of the refrigerator 402 relative to the reference posture is 50 degrees; the azimuth angle of the lighting lamp 403 relative to the reference posture is -10 degrees; the azimuth angle of the smart router 404 relative to the reference posture is -90 degrees; the azimuth angle of the wireless speaker 405 relative to the reference posture is 90 degrees; the azimuth angle of the computer 406 relative to the reference posture is 135 degrees; and the azimuth angle of the sweeping robot 407 relative to the reference posture is 160 degrees.
[0251] 9 , the smart glasses 400 wirelessly transmit the second reference orientation (-30 degrees) of the 3D audio to the cleaning robot 407 , and the cleaning robot 407 moves to the second reference orientation (-30 degrees). At this time, the azimuth angle of the cleaning robot 407 relative to the reference posture is -30 degrees.
[0252] In the process of selecting the target audio device, the azimuth angle of the air conditioner 401 relative to the reference position (-45 degrees) has an azimuth difference of 15 degrees from the second reference azimuth of the 3D audio (-30 degrees);
[0253] The orientation angle of the refrigerator 402 relative to the reference position (50 degrees) has an orientation difference of 80 degrees from the second reference orientation of the 3D audio (-30 degrees);
[0254] The azimuth angle of the lighting lamp 403 relative to the reference position (-10 degrees) has an azimuth difference of 20 degrees from the second reference azimuth of the 3D audio (-30 degrees);
[0255] The azimuth angle of the smart router 404 relative to the reference position (-90 degrees) has an azimuth difference of 60 degrees from the second reference azimuth of the 3D audio (-30 degrees);
[0256] The azimuth angle of the wireless speaker 405 relative to the reference position (90 degrees) has an azimuth difference of 120 degrees from the second reference azimuth of the 3D audio (-30 degrees);
[0257] The azimuth angle of the computer 406 relative to the reference position (135 degrees) has an azimuth difference of 165 degrees from the second reference azimuth of the 3D audio (-30 degrees);
[0258] The azimuth angle (-30 degrees) of the cleaning robot 407 relative to the reference posture has an azimuth difference of 0 degrees from the second reference azimuth (-30 degrees) of the 3D audio.
[0259] The multiple orientation differences obtained above are sorted in ascending order, and the sorting results are: orientation difference corresponding to the sweeping robot 407 (0 degrees), orientation difference corresponding to the air conditioner 401 (15 degrees), orientation difference corresponding to the lighting lamp 403 (20 degrees), orientation difference corresponding to the smart router 404 (60 degrees), orientation difference corresponding to the refrigerator 402 (80 degrees), orientation difference corresponding to the wireless speaker 405 (120 degrees), and orientation difference corresponding to the computer 406 (165 degrees).
[0260] The cleaning robot 407 ranked first in the sorting result is used as the target audio device, and then the audio signal of the 3D audio is sent to the audio playback component of the cleaning robot 407. The audio playback component of the cleaning robot 407 plays the received audio signal of the 3D audio.
[0261] In an embodiment of the present application, for 3D audio with orientation, a second reference orientation of the 3D audio relative to the reference orientation is determined based on the reference orientation of the head-mounted wearable device and the orientation information of the 3D audio, and then a movable device among multiple candidate audio devices is controlled to move toward the second reference orientation. After the movement is completed, the orientation of the 3D audio is the same as that of the movable device. Therefore, when the 3D audio is played through the movable device, a better spatial audio playback effect can be obtained, thereby improving the audio spatial experience.
[0262] In some embodiments, when the second reference orientation corresponding to the 3D audio changes, the corresponding movable device is controlled to move to the changed second reference orientation, so that the orientation of the 3D audio and the orientation of the movable device always remain consistent, thereby improving the spatial audio playback effect.
[0263] Based on the same technical concept, an embodiment of the present application provides a structural diagram of a head-mounted wearable device, as shown in FIG10 . The head-mounted wearable device 1000 includes:
[0264] Input module 1001, used to obtain an audio source to be played, wherein the audio source to be played includes playback direction information;
[0265] A position identification module 1002 is configured to identify the relative position of each of a plurality of candidate audio devices to a reference position of the head-mounted wearable device;
[0266] A processing module 1003 is configured to select at least one target audio device from the multiple candidate audio devices based on the obtained multiple relative positions, the reference posture, and the playback orientation information;
[0267] The processing module 1003 is further configured to obtain, for each target audio device, a corresponding target audio signal from the audio source to be played based on the relative position of the target audio device and the reference posture, and send the target audio signal to the target audio device for playback.
[0268] Optionally, it further includes a synchronous positioning and map building module 1004;
[0269] The synchronous positioning and map building module 1004 is used to determine the reference position and posture of the head-mounted wearable device at a reference time.
[0270] Optionally, at least two candidate audio devices are included within any preset azimuth angle around the head-mounted wearable device.
[0271] Optionally, the audio source to be played is a multi-channel audio source, and the playback direction information includes direction information of multiple mono channels;
[0272] The processing module 1003 is specifically configured to:
[0273] For each mono channel including orientation information, determining a first reference orientation of the mono channel relative to the reference orientation based on the reference orientation and the orientation information corresponding to the mono channel;
[0274] Selecting, from the obtained multiple relative positions, a target relative position having the smallest orientation difference from the first reference orientation;
[0275] The candidate audio device associated with the target relative position is used as the target audio device.
[0276] Optionally, the processing module 1003 is specifically configured to:
[0277] For each target audio device, a corresponding mono audio signal is obtained from the audio source to be played, and the mono audio signal is sent to the target audio device for playing.
[0278] Optionally, the audio source to be played includes 3D audio, and the playback direction information includes direction information corresponding to the 3D audio;
[0279] The processing module 1003 is specifically configured to:
[0280] Determining a second reference orientation of the 3D audio relative to the reference orientation based on the reference orientation and orientation information corresponding to the 3D audio;
[0281] At least one target audio device is selected from the plurality of candidate audio devices based on the obtained multiple relative positions and the second reference orientation.
[0282] Optionally, the processing module 1003 is specifically configured to:
[0283] For each candidate audio device, determining a relative position of the candidate audio device to the reference position and an orientation difference between the candidate audio device and the second reference orientation;
[0284] The obtained multiple bearing differences are sorted in ascending order, and the top two candidate audio devices are used as target audio devices.
[0285] Optionally, the processing module 1003 is specifically configured to:
[0286] Acquire the 3D audio from the audio source to be played;
[0287] For each of the two obtained target audio devices, if the target audio device satisfies at least one of the following conditions, sending the 3D audio with the increased volume to the target audio device for playback; otherwise, sending the 3D audio to the target audio device for playback;
[0288] Condition 1: The target audio device farthest from the head-mounted wearable device among the two target audio devices;
[0289] Condition 2: the target audio device with the smallest position difference among the two target audio devices.
[0290] Optionally, the processing module 1003 is further configured to:
[0291] When the second reference orientation corresponding to the 3D audio changes, the volume of the 3D audio received by the two target audio devices is adjusted accordingly.
[0292] Based on the same technical concept, an embodiment of the present application provides a structural diagram of a head-mounted wearable device, as shown in FIG11 . The head-mounted wearable device 1100 includes:
[0293] An input module 1101 is configured to obtain an audio source to be played, wherein the audio source to be played includes playback direction information;
[0294] The processing module 1103 is configured to determine, based on the reference posture of the head-mounted wearable device and the playback orientation information, at least one reference orientation of the audio source to be played relative to the reference posture; and control the movement of at least one movable device among the multiple candidate audio devices based on the at least one reference orientation;
[0295] A position identification module 1102 is configured to identify the relative position of each of the plurality of candidate audio devices with respect to the reference posture after the movement is completed;
[0296] The processing module 1103 is further configured to select at least one target audio device from the multiple candidate audio devices based on the obtained multiple relative positions and the at least one reference orientation; obtain, for each target audio device, a corresponding target audio signal from the audio source to be played, and send the target audio signal to the target audio device for playback.
[0297] Optionally, it further includes a synchronous positioning and map building module 1104;
[0298] The synchronous positioning and map building module 1104 is specifically used to:
[0299] Determine a reference pose of the head-mounted wearable device at a reference time.
[0300] Optionally, the audio source to be played is a multi-channel audio source, and the playback direction information includes direction information of multiple mono channels;
[0301] The processing module 1103 is specifically configured to:
[0302] For each mono channel including orientation information, a first reference orientation of the mono channel relative to the reference posture is determined based on the reference posture and the orientation information corresponding to the mono channel.
[0303] Optionally, the processing module 1103 is specifically configured to:
[0304] If the first number of the movable devices is greater than or equal to the second number of the mono channels containing position information, then for each mono channel containing position information, controlling one movable device among the plurality of candidate audio devices to move to a first reference position of the mono channel;
[0305] If the first number is smaller than the second number, for each mono channel in the first number of mono channels containing position information, one movable device among the plurality of candidate audio devices is controlled to move to a first reference position of the mono channel.
[0306] Optionally, the processing module 1103 is specifically configured to:
[0307] For each single channel containing orientation information, select, from the obtained multiple relative positions, the target relative position having the smallest orientation difference from the corresponding first reference orientation;
[0308] The candidate audio device associated with the target relative position is used as the target audio device.
[0309] Optionally, the processing module 1103 is specifically configured to:
[0310] For each target audio device, a corresponding mono audio signal is obtained from the audio source to be played, and the mono audio signal is sent to the target audio device for playing.
[0311] Optionally, the audio source to be played includes 3D audio, and the playback direction information includes direction information corresponding to the 3D audio;
[0312] The processing module 1103 is specifically configured to:
[0313] Based on the reference posture and the orientation information corresponding to the 3D audio, a second reference orientation of the 3D audio relative to the reference posture is determined.
[0314] Optionally, the processing module 1103 is specifically configured to:
[0315] A movable device among the plurality of candidate audio devices is controlled to move to the second reference position.
[0316] Optionally, the processing module 1103 is specifically configured to:
[0317] Selecting, from the obtained multiple relative positions, a target relative position having the smallest orientation difference from the second reference orientation;
[0318] The candidate audio device associated with the target relative position is used as the target audio device.
[0319] Optionally, the processing module 1103 is further configured to:
[0320] When the second reference orientation corresponding to the 3D audio changes, the corresponding movable device is controlled to move to the changed second reference orientation.
[0321] Based on the same technical concept, an embodiment of the present application provides a structure of an audio and video system, which includes:
[0322] a head-mounted wearable device and a plurality of candidate audio devices located around the head-mounted wearable device;
[0323] The head-mounted wearable device is configured to obtain an audio source to be played, the audio source to be played including playback orientation information; identify the relative position of each of the multiple candidate audio devices with respect to a reference position of the head-mounted wearable device; select at least one target audio device from the multiple candidate audio devices based on the obtained multiple relative positions, the reference position, and the playback orientation information; for each target audio device, obtain a corresponding target audio signal from the audio source to be played based on the relative position of the target audio device with respect to the reference position, and send the target audio signal to the target audio device;
[0324] The target audio device is used to play the target audio signal.
[0325] In one aspect, an embodiment of the present application provides an audio and video system, comprising:
[0326] a head-mounted wearable device and a plurality of candidate audio devices located around the head-mounted wearable device;
[0327] The head-mounted wearable device is used to obtain an audio source to be played, wherein the audio source to be played includes playback orientation information; based on a reference posture of the head-mounted wearable device and the playback orientation information, determine at least one reference orientation of the audio source to be played relative to the reference posture; based on the at least one reference orientation, control the movement of at least one movable device among a plurality of candidate audio devices, and after the movement is completed, identify the relative position of each of the plurality of candidate audio devices with respect to the reference posture; based on the obtained plurality of relative positions and the at least one reference orientation, select at least one target audio device from the plurality of candidate audio devices; for each target audio device, obtain a corresponding target audio signal from the audio source to be played, and send the target audio signal to the target audio device;
[0328] The target audio device is used to play the target audio signal.
[0329] Based on the same technical concept, an embodiment of the present application provides a computer device, which may be the head-mounted wearable device shown in Figure 1. As shown in Figure 12, the computer device includes at least one processor 1201 and a memory 1202 connected to the at least one processor. The specific connection medium between the processor 1201 and the memory 1202 is not limited in the embodiment of the present application. In Figure 7, the processor 1201 and the memory 1202 are connected via a bus as an example. Buses can be divided into address buses, data buses, control buses, etc.
[0330] In an embodiment of the present application, the memory 1202 stores instructions that can be executed by at least one processor 1201. The at least one processor 1201 can perform the steps of the above-mentioned audio playback method by executing the instructions stored in the memory 1202.
[0331] The processor 1201 is the control center of the computer device. It can connect various parts of the computer device using various interfaces and lines, and realize audio playback by running or executing instructions stored in the memory 1202 and calling data stored in the memory 1202. Optionally, the processor 1201 may include one or more processing units. The processor 1201 may integrate an application processor and a modem processor. The application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 1201. In some embodiments, the processor 1201 and the memory 1202 may be implemented on the same chip. In some embodiments, they may also be implemented separately on separate chips.
[0332] The processor 1201 can be a general-purpose processor, such as a central processing unit (CPU), a digital signal processor, an application-specific integrated circuit (ASIC), a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component, and can implement or execute the various methods, steps, and logic block diagrams disclosed in the embodiments of the present application. A general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in conjunction with the embodiments of the present application can be directly embodied as being executed by a hardware processor, or can be executed by a combination of hardware and software modules in the processor.
[0333] Memory 1202 is a non-volatile computer-readable storage medium that can be used to store non-volatile software programs, non-volatile computer executable programs and modules. Memory 1202 may include at least one type of storage medium, such as a flash memory, a hard disk, a multimedia card, a card-type memory, a random access memory (Random Access Memory, RAM), a static random access memory (Static Random Access Memory, SRAM), a programmable read-only memory (Programmable Read Only Memory, PROM), a read-only memory (Read Only Memory, ROM), an electrically erasable programmable read-only memory (Electrically Erasable Programmable Read-Only Memory, EEPROM), a magnetic memory, a disk, an optical disk, etc. Memory 1202 is any other medium that can be used to carry or store a desired program code in the form of an instruction or data structure and can be accessed by a computer device, but is not limited thereto. The memory 1202 in the embodiment of the present application can also be a circuit or any other device that can realize a storage function, for storing program instructions and / or data.
[0334] Based on the same inventive concept, an embodiment of the present application provides a computer-readable storage medium, which stores a computer program that can be executed by a computer device. When the program runs on the computer device, the computer device executes the steps of the above-mentioned audio playback method.
[0335] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods or computer program products. Thus, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0336] The present invention is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer device or other programmable data processing device produce a device for implementing the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.
[0337] These computer program instructions may also be stored in a computer-readable memory that can direct a computer device or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a product including an instruction device that implements the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.
[0338] These computer program instructions can also be loaded onto a computer device or other programmable data processing device, so that a series of operating steps are executed on the computer device or other programmable device to produce a process implemented by the computer device, so that the instructions executed on the computer device or other programmable device provide steps for implementing the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.
[0339] Although the preferred embodiments of the present invention have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present invention.
[0340] Obviously, those skilled in the art may make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if such changes and modifications fall within the scope of the claims and their equivalents, the present invention is intended to include such changes and modifications.
Claims
1. An audio playback method, applied to a head-mounted wearable device, characterized in that: include: Acquire an audio source to be played, wherein the audio source to be played includes playback direction information; Identify a relative position of each of a plurality of candidate audio devices to a reference pose of the head mounted wearable device; Selecting at least one target audio device from the plurality of candidate audio devices based on the obtained multiple relative positions, the reference postures, and the playback orientation information; For each target audio device, a corresponding target audio signal is obtained from the audio source to be played, and the target audio signal is sent to the target audio device for playing.
2. The method according to claim 1, characterized in that Also includes: The reference position and posture of the head-mounted wearable device at a reference time is determined by synchronizing the positioning and map construction modules.
3. The method according to claim 1, characterized in that At least two candidate audio devices are included within any preset azimuth angle around the head-mounted wearable device.
4. The method according to any one of claims 1 to 3, characterized in that: The audio source to be played is a multi-channel audio source, and the playback direction information includes direction information of multiple mono channels; The selecting at least one target audio device from the plurality of candidate audio devices based on the obtained plurality of relative positions, the reference postures and the playback orientation information comprises: For each mono channel including orientation information, based on the reference posture and the orientation information corresponding to the mono channel, determine a first reference orientation of the mono channel relative to the reference posture; From the obtained multiple relative positions, select the target relative position having the smallest orientation difference with the first reference orientation; The candidate audio device associated with the target relative position is used as the target audio device.
5. The method according to claim 4, characterized in that For each target audio device, obtaining a corresponding target audio signal from the audio source to be played, and sending the target audio signal to the target audio device for playing, includes: For each target audio device, obtain the corresponding mono audio signal from the audio source to be played. signal, and sends the mono audio signal to the target audio device for playback.
6. The method according to any one of claims 1 to 3, characterized in that: The audio source to be played includes 3D audio, and the playback direction information includes direction information corresponding to the 3D audio; The selecting at least one target audio device from the plurality of candidate audio devices based on the obtained plurality of relative positions, the reference postures and the playback orientation information comprises: Determining a second reference orientation of the 3D audio relative to the reference orientation based on the reference orientation and orientation information corresponding to the 3D audio; At least one target audio device is selected from the plurality of candidate audio devices based on the obtained plurality of relative positions and the second reference orientation.
7. The method according to claim 6, characterized in that The selecting at least one target audio device from the plurality of candidate audio devices based on the obtained plurality of relative positions and the second reference orientation comprises: For each candidate audio device, determining a relative position of the candidate audio device to the reference position and an orientation difference between the candidate audio device and the second reference orientation; The obtained multiple bearing differences are sorted in ascending order, and the top two candidate audio devices are used as target audio devices.
8. The method according to claim 7, characterized in that For each target audio device, obtaining a corresponding target audio signal from the audio source to be played, and sending the target audio signal to the target audio device for playing, includes: Acquire the 3D audio from the audio source to be played; For each of the two obtained target audio devices, if the target audio device satisfies at least one of the following conditions, the 3D audio with increased volume is sent to the target audio device for playback; otherwise, the 3D audio is sent to the target audio device for playback; Condition 1: the target audio device farthest from the head-mounted wearable device among the two target audio devices; Condition 2: the target audio device with the smallest bearing difference among the two target audio devices.
9. The method according to claim 8, characterized in that Also includes: When the second reference orientation corresponding to the 3D audio changes, the volume of the 3D audio received by the two target audio devices is adjusted accordingly.
10. A head-mounted wearable device, characterized in that: include: An input module is used to obtain an audio source to be played, wherein the audio source to be played includes playback direction information; A position identification module, used to identify the relative position of each of the plurality of candidate audio devices to a reference position of the head-mounted wearable device; A processing module, configured to select at least one target audio device from the plurality of candidate audio devices based on the obtained plurality of relative positions, the reference postures and the playback orientation information; The processing module is further used to obtain a corresponding target audio signal from the audio source to be played for each target audio device based on the relative position of the target audio device and the reference posture, and send the target audio signal to the target audio device for playback.
11. An audio and video system, characterized in that: include: A head-mounted wearable device and a plurality of candidate audio devices located around the head-mounted wearable device; The head-mounted wearable device is used to obtain an audio source to be played, wherein the audio source to be played includes playback orientation information; identify the relative position of each of the multiple candidate audio devices and a reference posture of the head-mounted wearable device; and select at least one target audio device from the multiple candidate audio devices based on the obtained multiple relative positions, the reference posture and the playback orientation information; For each target audio device, based on the relative position of the target audio device and the reference posture, a corresponding target audio signal is obtained from the audio source to be played, and the target audio signal is sent to the target audio device; The target audio device is used to play the target audio signal.
12. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the steps of any one of the methods of claims 1 to 9 are implemented.
13. A computer-readable storage medium, characterized in that: It stores a computer program executable by a computer device. When the program is run on the computer device, the computer device executes the steps of any method described in claims 1 to 9.
Citation Information
Patent Citations
Multichannel audio signal playing method, head-mounted device and storage medium
CN115696175A
Audio Spatialization and Environment Simulation
US20120213375A1
Apparatus and method for generating multimedia data, and apparatus and method for playing multimedia data
US20140140515A1
Method for playing audio data, electronic device, and storage medium
US20220156036A1
Cited By
XR glasses, audio processing method and storage medium
CN119729297A
