Audio processing method, related apparatus and communication system
By detecting audio delay and performing appropriate processing, or directly playing through the sound transmission when the device is close to each other, the problem of repeated sound interference in virtual meetings is solved, improving the user's meeting experience.
Patent Information
- Application Number
- PCT/CN2024/117706
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-09-11
- Filing Date
- 2024-09-09
- Publication Date
- 2025-03-20
AI Technical Summary
In virtual meetings, users may cause repeated sound interference due to repeated hearings of the same attendee, affecting the user's meeting experience.
Repeated sound interference is avoided by detecting the delay between the first device and the second device, filtering out the vocal part in the first audio when the delay is greater than the threshold, or directly playing the transmissive sound when the device is located close to each other.
It effectively reduces the discomfort caused by repeated sound interference in virtual meetings and improves the user's meeting experience.
Smart Images

Figure CN2024117706_20032025_PF_FP_ABST
Abstract
Description
Audio processing method, related device and communication system
[0001] This application claims priority to the Chinese patent application filed with the State Intellectual Property Office of China on September 11, 2023, with application number 202311169107.4, and priority to the Chinese patent application entitled “Audio Processing Method, Related Devices and Communication System”, all contents of which are incorporated by reference into this application. Technical Field
[0002] The present application relates to the field of terminal technology, and in particular to an audio processing method, related devices, and a communication system. Background Art
[0003] Current virtual conference systems based on augmented reality (AR) or virtual reality (VR) can simulate virtual conference rooms. Participants can use virtual images to sit around a table in a virtual conference room to interact with each other. Each participant can wear an AR / VR device to view the scene in the virtual conference room. In addition, the AR / VR device can also perform spatial audio modeling based on the sound field environment information of the virtual conference room and the positional relationship of each participant in the virtual conference room, so that when the user hears the voice of a certain participant, the participant's position in the auditory sense is consistent with the position of the participant seen in the virtual conference room. In other words, the above-mentioned spatial audio modeling can make the sound heard by the user match the virtual conference room scene seen.
[0004] However, if multiple participants are in the same physical space, especially if they are physically close to each other, when a participant near a user speaks, the user will hear the participant's voice both through the transmitted sound generated by the AR / VR device collecting ambient sound and through the transmitted sound sent by the participant's AR / VR device. In other words, the user may hear the participant's voice twice, causing repeated audio interference and affecting the user's meeting experience.
[0005] Summary of the Invention
[0006] This application provides an audio processing method, related devices, and communication system. This application selects and processes the audio generated in a virtual meeting to solve the problem of repeated audio interference in the virtual meeting and improve the user's meeting experience.
[0007] In a first aspect, the present application provides an audio processing method. A first device receives a first audio signal from a second device and generates a second audio signal based on the collected acoustic signal. When the first device and the second device are in the same physical space and the physical distance between the first device and the second device satisfies a first condition, the first device plays the second audio signal and does not play the first audio signal. Alternatively, the first device detects a first time delay between the first audio signal and the second audio signal, and when the first time delay is greater than a time delay threshold, filters out the human voice portion of the first audio signal to obtain a third audio signal, and plays both the second audio signal and the third audio signal.
[0008] The first audio signal may be generated by the second device collecting ambient sound. The first audio signal may be referred to as the transmission sound. The second audio signal may be generated by the first device using transparent playback technology to collect the sound signal. The second audio signal may be referred to as the transparent sound. The third audio signal may be generated by the first device performing crosstalk filtering on the first audio signal.
[0009] The fact that the physical distance between the first device and the second device satisfies the first condition may indicate that the first device and the second device are located close to each other.
[0010] It can be understood that when the first device and the second device are in the same physical space and are located close to each other, the first device and the second device can both collect the sound of the user wearing the second device speaking. That is to say, if the user wearing the second device speaks, the above-mentioned first audio and second audio can both include the sound of the user wearing the second device speaking. In addition, the first device and the second device can also collect the sound of the user wearing the first device speaking. That is to say, if the user wearing the first device speaks, the above-mentioned first audio and second audio can both include the sound of the user wearing the first device speaking. Therefore, when the first device and the second device are in the same physical space and are located close to each other, regardless of whether the user wearing the first device speaks or the user wearing the second device speaks, the first audio and the second audio will produce repeated sound interference.
[0011] It can be seen that when the first device and the second device are in the same physical space and are in close proximity, the first device plays the second audio instead of the first audio, which can ensure that the user wearing the first device can hear both his own voice and the voice of the user wearing the second device, while avoiding interference from repeated sounds. Alternatively, when the time delay between the first audio and the second audio is large, the first device avoids interference from repeated sounds by filtering out the human voice part in the first audio. In other words, the above method can first determine whether the transmitted sound and the transmitted sound in the first device will cause interference from repeated sounds, and select and process the audio when repeated sound interference will occur, so that the audio played last will not cause repeated sound interference to the user, thereby improving the user's experience in participating in virtual meetings.
[0012] In combination with the first aspect, in some embodiments, the first device and the second device are in the same physical space, specifically including: the IP address of the first device and the IP address of the second device indicate that the first device and the second device are connected to the same network; the physical distance between the first device and the second device meets the first condition, specifically including: the physical distance between the first device and the second device is less than the first distance, and / or the loudness of the acoustic signal related to the second audio in the first audio is greater than the first loudness.
[0013] The first distance may also be referred to as a distance threshold. The first distance may be preset. For example, the first distance may be 3 meters, 4 meters, or 5 meters.
[0014] In combination with the first aspect, in some embodiments, the first device and the second device are devices connected to the same virtual conference, wherein the first device and the second device are worn by different users, the device for playing audio in the first device adopts an ear-blocking design, and the second audio is transparent sound.
[0015] In combination with the first aspect, in some embodiments, when the first device plays the second audio and the third audio, it can specifically use the second audio as the main sound source and the third audio as the non-main sound source to mix and play the second audio and the third audio.
[0016] It is understandable that when the first device and the second device are in the same physical space and in close proximity, the sound quality of the voice of the user wearing the first device or the user wearing the second device in the second audio is better. Moreover, compared to the first audio from the first device, the user wearing the first device will first hear the content of his or her own speech or the speech of the user wearing the second device through the second audio. Therefore, when the first device mixes the second audio and the third audio, the second audio is used as the main sound source and the third audio is used as the non-main sound source. Among them, the proportion of information from the main sound source in the mixed audio is higher than the proportion of information from the non-main sound source. That is, when the user listens to the mixed audio, the content he hears is more derived from the main sound source.
[0017] In combination with the first aspect, in some embodiments, when the first device and the second device are in the same physical space, the physical distance between the first device and the second device meets the first condition, and the first delay is less than or equal to the delay threshold, the first device uses the second audio as the main sound source and the first audio as the non-main sound source, and mixes and plays the first audio and the second audio.
[0018] It can be seen that when the time delay between the first audio and the second audio is small, the first audio and the second audio will not cause repeated sound interference to the user. Therefore, the first device can directly mix the first audio and the second audio and play them.
[0019] In combination with the first aspect, in some embodiments, when the first device and the second device are in the same physical space and the physical distance between the first device and the second device does not meet the first condition, the first device plays the first audio and does not play the second audio, or, when the first delay is greater than the delay threshold, the first electronic device filters out the human voice part in the second audio to obtain the fourth audio, and plays the first audio and the fourth audio.
[0020] The physical distance between the first device and the second device does not meet the first condition, specifically including: the physical distance between the first device and the second device is greater than the first distance, or the loudness of the acoustic signal associated with the second audio in the first audio is less than the first loudness. The physical distance between the first device and the second device not meeting the first condition may indicate that the first device and the second device are far apart.
[0021] When the first device and the second device are in the same physical space but are relatively far apart, the first device has a poorer sound pickup effect for the speech of the user wearing the second device. In other words, the sound quality of the voice of the user wearing the second device in the second audio is poor. Playing the first audio instead of the second audio on the first device can ensure that the user wearing the first device can clearly hear the speech of the user wearing the second device while avoiding interference from repeated sounds. Alternatively, if there is a large time delay between the first and second audio, the first device can avoid interference from repeated sounds by filtering out the human voice portion in the second audio.
[0022] In combination with the first aspect, in some embodiments, when the first device plays the first audio and the fourth audio, it specifically uses the first audio as the main sound source and the fourth audio as the non-main sound source, and mixes and plays the first audio and the fourth audio.
[0023] In combination with the first aspect, in some embodiments, when the first device and the second device are in the same physical space, the physical distance between the first device and the second device does not meet the first condition, and the first delay is less than or equal to the delay threshold, the first device uses the first audio as the main sound source and the second audio as the non-main sound source, mixes the first audio and the second audio, and plays them.
[0024] In combination with the first aspect, in some embodiments, when the first device and the second device are not in the same physical space, the first device plays the first audio and the second audio.
[0025] In a second aspect, the present application provides an audio processing method, wherein a first device receives a first audio from a second device, and the first device does not play the first audio if the first device and the second device are in the same physical space and the physical distance between the first device and the second device meets a first condition.
[0026] In combination with the second aspect, in some embodiments, the first device and the second device are in the same physical space, specifically including: the IP address of the first device and the IP address of the second device indicate that the first device and the second device are connected to the same network; the physical distance between the first device and the second device meets the first condition, specifically including: the physical distance between the first device and the second device is less than the first distance, and / or the loudness of the sound signal related to the second audio in the first audio is greater than the first loudness.
[0027] In combination with the second aspect, in some embodiments, the first device and the second device are devices connected to the same virtual conference, wherein the first device and the second device are worn by different users, and the device for playing audio in the first device adopts a non-ear-blocking design.
[0028] As can be seen, when the first device adopts a non-obstructive design, the first device can detect whether there are other devices in the same physical space as the first device, as well as devices that are closer to the first device among the devices in the same physical space. The user wearing the first device can quickly and relatively clearly hear the voice of the nearby participant through the ambient sound. Therefore, if the second device is close to the first device, the first device can stop playing the first audio sent by the second device to prevent the user from repeatedly listening to the same speech of the nearby participant on both sides. This can solve the problem of repeated sound interference.
[0029] In combination with the second aspect, in some embodiments, when the first device and the second device are in the same physical space and the physical distance between the first device and the second device does not meet the first condition, the first device plays the first audio; when the first device and the second device are not in the same physical space, the first device plays the first audio.
[0030] In a third aspect, the present application provides an electronic device, which may include an audio input module, an audio output module, a memory, and a processor. The audio input module may be used to collect sound signals. The audio output module may be used to play audio. The memory may be used to store a computer program. The processor may be used to invoke the computer program, causing the electronic device to execute any possible implementation method described in the first or second aspects.
[0031] In a fourth aspect, the present application provides a computer-readable storage medium comprising instructions, which, when executed on an electronic device, enables the electronic device to execute any possible implementation method in the first aspect or the second aspect.
[0032] In a fifth aspect, the present application provides a computer program product, which may include computer instructions. When the computer instructions are run on an electronic device, the electronic device executes any possible implementation method in the first aspect or the second aspect.
[0033] In a sixth aspect, the present application provides a chip, which is applied to an electronic device, and the chip includes one or more processors, which are used to call computer instructions to enable the electronic device to execute any possible implementation method as in the first aspect or the second aspect.
[0034] It is understandable that the electronic device provided in the third aspect, the computer-readable storage medium provided in the fourth aspect, the computer program product provided in the fifth aspect, and the chip provided in the sixth aspect are all used to execute the methods provided in the embodiments of the present application. Therefore, the beneficial effects that can be achieved can be referred to the beneficial effects of the corresponding methods and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] FIG1 is a schematic diagram of a virtual conference scenario provided by an embodiment of the present application;
[0036] FIG2 is a schematic diagram of the architecture of a communication system 10 provided in an embodiment of the present application;
[0037] FIG3 is a schematic diagram of the hardware structure of an electronic device 100 provided in an embodiment of the present application;
[0038] FIG4A is a flowchart of an audio processing method provided by an embodiment of the present application;
[0039] FIG4B is a schematic diagram of a time delay between acoustic signals provided in an embodiment of the present application;
[0040] FIG5 is a flowchart of another audio processing method provided by an embodiment of the present application;
[0041] FIG6 is a schematic structural diagram of an electronic device 100 provided in an embodiment of the present application. DETAILED DESCRIPTION
[0042] The technical solutions in the embodiments of the present application are described below in conjunction with the drawings in the embodiments of the present application. Among them, in the description of the embodiments of the present application, the terms used in the following embodiments are only for the purpose of describing specific embodiments, and are not intended to be used as limitations on the present application. As used in the specification and claims of the present application, the singular expressions "a", "said", "above", "the" and "this" are intended to also include expressions such as "one or more", unless there is a clear contrary indication in the context. It should also be understood that in the following embodiments of the present application, "at least one", "one or more" refer to one or more (including two). The term "and / or" is used to describe the association relationship of associated objects, indicating that three relationships can exist; for example, A and / or B can represent: the existence of A alone, the existence of A and B at the same time, and the existence of B alone, where A and B can be singular or plural. The character " / " generally indicates that the associated objects before and after are in an "or" relationship.
[0043] References to "one embodiment" or "some embodiments" etc. described in this specification mean that the specific features, structures or characteristics described in conjunction with the embodiment are included in one or more embodiments of the present application. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. appearing in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in another way. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in another way. The term "connected" includes direct and indirect connections, unless otherwise stated. "First" and "second" are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated.
[0044] In the embodiments of this application, words such as "exemplarily" or "for example" are used to indicate examples, illustrations, or explanations. Any embodiment or design described as "exemplarily" or "for example" in the embodiments of this application should not be construed as being preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplarily" or "for example" is intended to present the relevant concepts in a concrete manner.
[0045] Here we first introduce a scenario of using AR / VR technology for virtual meetings.
[0046] FIG1 exemplarily shows a schematic diagram of a virtual conference scenario.
[0047] As shown in FIG1 , a user can participate in a virtual meeting by wearing an electronic device 100. The electronic device 100 can be worn on the user's head. For example, the electronic device 100 can be a device that supports AR / VR technology, such as AR / VR glasses, an AR / VR head-mounted display (HMD), or an all-in-one AR / VR device. The specific type of the electronic device 100 is not limited in this embodiment of the application.
[0048] All participants in the virtual meeting can wear a device of the same type as electronic device 100 to access the virtual meeting. Some participants in the virtual meeting may be located in the same physical space in the real environment, while others may be located in different physical spaces in the real environment. For example, in the real environment, some participants may be in a company conference room, while others may be at home. This application does not limit the real-world location of participants in the virtual meeting.
[0049] Electronic device 100 can display user interface 210 shown in FIG1 on its display screen. User interface 210 illustrates that electronic device 100 can utilize AR / VR technology to provide a virtual conference room and display one or more avatars of participants in the virtual conference room. For example, avatar 211, avatar 212, avatar 213, avatar 214, and so on. Each avatar can represent a participant in the virtual meeting.
[0050] In some embodiments, the avatar's personality characteristics (such as the avatar's gender, hairstyle, clothing, etc.) can be selected by the attendee corresponding to the avatar. The avatar's seating position in the virtual conference room can also be selected by the user. For example, avatars 211 and 212 are seated next to each other in the virtual conference room. Avatar 213 is seated across from avatar 211.
[0051] In some embodiments, electronic device 100 can present the virtual conference scene from the perspective of the avatar of the user wearing electronic device 100 in the virtual conference room. For example, if the user wearing electronic device 100 selects a seat in the virtual conference room opposite avatar 214 shown in FIG1 , user interface 210 will present the virtual conference room scene as it would be viewed from the perspective of the user sitting opposite avatar 214. This allows participants to experience an immersive virtual conference experience.
[0052] In some embodiments, the electronic device 100 can perform spatial audio modeling based on the sound field environment information of the virtual conference room and the positional relationship of each participant in the virtual conference room, so that when the user hears the voice of a certain participant, the participant's position in hearing is consistent with the position of the participant seen in the virtual conference room. Among them, the sound field environment of the virtual conference room can be selected and set by the participants. For example, before conducting a virtual meeting, the participants can set the room size, room reflective material, reverberation time, number of seats and other information of the virtual conference room. The electronic device 100 can determine the sound field environment information of the virtual conference room based on the parameters set by the above users. The electronic device 100 performs spatial audio modeling and can determine the audio playback parameters used to play the voices of each participant in the virtual conference room, so as to achieve the effect of matching the sound heard by the user with the virtual conference room scene seen.
[0053] Exemplarily, the electronic device 100 receives audio 1 sent from the electronic device of the virtual image 211. The audio 1 may be the audio of the speech of the participant corresponding to the virtual image 211. The electronic device 100 may play audio 1 using the audio playback parameters of the virtual image 211 determined based on spatial audio modeling, so that the user can distinguish that the voice of the participant corresponding to the virtual image 211 is emitted from the front left. The electronic device 100 receives audio 2 sent from the electronic device of the virtual image 213. The audio 2 may be the audio of the speech of the participant corresponding to the virtual image 213. The electronic device 100 may play audio 2 using the audio playback parameters of the virtual image 213 determined based on spatial audio modeling, so that the user can distinguish that the voice of the participant corresponding to the virtual image 213 is emitted from the front right.
[0054] In some embodiments, electronic device 100 employs an ear-blocking design. This design may mean that the audio playback device in electronic device 100 blocks the user's ears, isolating some ambient sound. For example, electronic device 100 may play audio through in-ear headphones. With an ear-blocking design, electronic device 100 can collect ambient sound and process it using transparent playback technology to generate transparent sound. Electronic device 100 can then play transparent sound. Transparent sound may also be referred to as transparent audio. As you can understand, if a user's ears are blocked, their ability to hear their own speech may be affected. This ambient sound may include the user's own speech. By playing this transparent sound, electronic device 100 facilitates the user's ability to hear their own speech. Furthermore, electronic device 100 can transmit the collected ambient sound to the electronic devices worn by other virtual meeting participants so that they can hear the user's speech. Furthermore, in a virtual meeting scenario, when other participants speak, the speaker's electronic device can transmit the collected sound signal to electronic device 100. Electronic device 100 can then receive and play the transmitted sound of the other participants' speech. This transmitted sound may also be referred to as transmitted audio.
[0055] It can be seen that in the case of the above-mentioned ear-blocking design, the electronic device 100 can play both the transmitted sound and the transmitted sound.
[0056] When there are other participants near the electronic device 100, the ambient sound collected by the electronic device 100 may include the voices of nearby participants. That is to say, when a participant near the electronic device 100 speaks, the user wearing the electronic device 100 will hear the voice of the participant speaking from both the transparent sound played by the electronic device 100 and the transmission sound played by the electronic device 100. There may be a time delay between the transparent sound and the transmission sound. Therefore, when other participants speak near the electronic device 100, the user wearing the electronic device 100 will hear the voice of the participant speaking twice. This will cause repeated sound interference to the user, affecting the user's conference experience.
[0057] In some embodiments, the electronic device 100 adopts a non-blocking ear design. The non-blocking ear design may mean that the device for playing audio in the electronic device 100 will not block the user's ears and will not isolate the ambient sound. For example, the electronic device 100 can play audio through bone conduction headphones. In the case of a non-blocking ear design, since the ambient sound is not isolated, the user can directly hear the ambient sound, so the electronic device 100 does not need to adopt transparent playback technology to play the transparent sound. Among them, the electronic device 100 can send the collected ambient sound to the electronic devices worn by other participants in the virtual meeting, so that other participants can hear the user's speech. In the virtual meeting scenario, when other participants speak, the electronic device worn by the speaker can send the collected sound signal to the electronic device 100. The electronic device 100 can receive and play the transmitted sound of the speeches of other participants.
[0058] It can be seen that in the case of the above-mentioned non-ear-blocking design, the electronic device 100 can only play the transmission sound.
[0059] When other participants speak near the electronic device 100, the voices of other participants can be directly transmitted to the ears of the user wearing the electronic device 100 through a medium such as air, and heard by the user wearing the electronic device 100. In addition, the user wearing the electronic device 100 can also hear the voice of the participant speaking from the transmission sound played by the electronic device 100. The time when the user hears the speaker's voice through the transmission sound is usually later than the time when the user hears the speaker's voice directly through the ambient sound. Therefore, in a non-ear-blocking design and when other participants speak near the electronic device 100, the user wearing the electronic device 100 will also hear the voice of the participant speaking twice. This will cause repeated sound interference to the user, affecting the user's conference experience.
[0060] For easier understanding, here is an introduction to AR / VR technology.
[0061] The electronic device 100 can utilize AR / VR technology to provide a virtual environment. Specifically, the electronic device 100 can utilize AR / VR technology to render and display one or more virtual objects. These virtual objects can be generated by the electronic device 100 itself using computer graphics or simulation technologies, or they can be generated by other electronic devices using computer graphics or simulation technologies and then transmitted to the electronic device 100. These other electronic devices can be, for example, servers, or devices such as mobile phones and computers connected or paired with the electronic device 100. For example, the virtual environment can include a virtual conference room, a virtual cinema, a virtual supermarket, and so on. These virtual objects can also be referred to as virtual images, virtual elements, or virtual avatars. Virtual objects can be two-dimensional or three-dimensional. Virtual objects are imaginary objects that do not exist in the physical world. Virtual objects can be virtual objects that mimic real physical objects, thereby providing an immersive experience for users. Examples of virtual objects include virtual animals, virtual characters, virtual trees, virtual buildings, virtual labels, icons, images, or videos.
[0062] Different virtual objects may be located at different positions in the virtual environment. For example, virtual objects of participants may be located at different positions in the virtual conference room. The electronic device 100 may determine the positional relationship of the virtual objects of the participants in the virtual conference room.
[0063] A virtual environment is in contrast to a real environment. A real environment may refer to the actual physical environment or physical space in which the user and electronic device 100 are currently located. Objects present in the real environment are real objects. For example, real objects may include participants in a virtual meeting.
[0064] Based on AR / VR technology, the electronic device 100 can display virtual objects on a display screen or present a virtual environment to the user by projecting optical signals onto the user's retina. The user can experience a three-dimensional virtual environment by wearing the electronic device 100. In this three-dimensional virtual environment, virtual objects are equivalent to being mapped into the actual real environment, and the user feels or thinks that the virtual objects seem to exist in the actual real environment. For example, in the scenario shown in FIG1 above, the user wearing the electronic device 100 can view the user interface 210. The user interface 210 presents a three-dimensional virtual conference room and virtual objects participating in the meeting in the virtual conference room to the user. Each virtual object participating in the meeting can correspond to a real object, that is, a participant in a real environment. In some embodiments, the electronic device 100 can map virtual objects into a real environment. In this way, the user can see both real objects in the real environment and virtual objects.
[0065] FIG2 exemplarily shows a schematic diagram of the architecture of the communication system 10 provided in this application.
[0066] As shown in FIG2 , the communication system 10 may include multiple electronic devices supporting AR / VR technology, such as electronic device 100, electronic device 101, and electronic device 102. Among them, electronic device 100, electronic device 101, and electronic device 102 may all be wearable devices that use AR / VR technology to provide a virtual environment to users. For example, in the virtual meeting scenario shown in FIG1 above, multiple participants may respectively wear electronic device 100, electronic device 101, and electronic device 102 to participate in the virtual meeting.
[0067] Each electronic device in the communication system 10 can establish a communication connection with each other. For example, electronic device 100, electronic device 101, and electronic device 102 can communicate with each other. The embodiment of the present application does not limit the method for establishing a communication connection between electronic devices in the communication system 10. For example, the communication connection may include, but is not limited to, a wireless fidelity (Wi-Fi) connection, a Bluetooth connection, and the like.
[0068] In a scenario where electronic devices such as electronic device 100, electronic device 101, and electronic device 102 are connected to the same virtual conference, these electronic devices can provide the same virtual conference room. Electronic device 100 can transmit data such as the avatar information and selected location information set by the user wearing electronic device 100 to other electronic devices connected to the virtual conference, such as electronic device 101 and electronic device 102. This avatar information can be used to display the avatar. For example, the avatar information may include, but is not limited to, the avatar's gender, hairstyle, clothing, and other information. After receiving the information transmitted by electronic device 100, the other electronic devices can render the avatar of the user wearing electronic device 100 at the corresponding seat in the virtual conference room. Electronic device 100 can also receive data such as the avatar information and selected location information transmitted by other electronic devices connected to the virtual conference. For example, electronic device 100 receives the avatar information and selected location information transmitted by electronic device 101. Electronic device 100 can render the avatar of the user wearing electronic device 101 at the corresponding seat in the virtual conference room. In this way, the user wearing electronic device 100 can view the avatars of each participant sitting in their corresponding seats in the virtual conference room for the virtual meeting.
[0069] Electronic device 100 can also transmit the collected ambient sound to other electronic devices connected to the virtual meeting, so that other participants can hear the speech of the user wearing electronic device 100. Electronic device 100 can receive transmission sounds sent by other electronic devices connected to the virtual meeting. For example, electronic device 100 may receive transmission sounds sent by electronic device 101. This transmission sound may include the speech of the participant wearing electronic device 101. In this way, the user wearing electronic device 100 can hear the speeches of other participants in the virtual meeting in real time.
[0070] In some embodiments, the user can control the movement of the virtual image through somatosensory interactions such as hand / arm movements, head movements, and / or eye movements. For example, the electronic device 100 can detect the posture of the user wearing the electronic device 100 and adjust the virtual image of the user according to the changes in the user's posture. For example, when the user wearing the electronic device 100 turns his head to the left, the electronic device 100 can adjust the head of the user's virtual image to turn left. The electronic device 100 can send the information that the virtual image's head is turned to the left to other electronic devices connected to the virtual meeting, so that other electronic devices can adjust the virtual image of the user wearing the electronic device 100.
[0071] Optionally, each electronic device in the communication system 10 can be used in conjunction with a handheld device. For example, the handheld device may include a controller, a gyro mouse, a stylus, or other handheld computing device. The handheld device may be equipped with a variety of sensors, such as an accelerometer, a gyro sensor, a magnetic sensor, and the like. Electronic devices such as the electronic device 100 can detect and track information such as changes in a user's posture through the handheld device.
[0072] The following describes the structure of the electronic device 100. The structures of other electronic devices in the communication system 10 (such as the electronic device 101 and the electronic device 102) can refer to the structure of the electronic device 100.
[0073] FIG3 exemplarily shows a schematic diagram of the hardware structure of the electronic device 100 .
[0074] As shown in Figure 3, the electronic device 100 may include a processor 110, a memory 120, a communication module 130, a sensor module 140, a button 150, an input and output interface 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a display device 180, a camera 190 and a battery 1100, etc.
[0075] It is understood that the structures illustrated in the embodiments of the present application do not constitute specific limitations on the electronic device. In other embodiments of the present application, the electronic device may include more or fewer components than those shown. For example, it may also include an infrared transceiver, an ultrasonic transceiver, a motor, and a flashlight, or combine or separate certain components, or arrange the components differently. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0076] The processor 110 may include one or more processing units. For example, the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a video processing unit (VPU) controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU). Different processing units may be independent devices or integrated into one or more processors.
[0077] The controller can be the nerve center and command center of the electronic device. The controller can generate operation control signals based on instruction operation codes and timing signals to complete the control of instruction fetching and execution.
[0078] Processor 110 may also include a memory for storing instructions and data. In some embodiments, the memory in processor 110 is a cache memory. This memory can store instructions or data that have just been used or are being recycled by processor 110. If processor 110 needs to use the same instruction or data again, it can directly access the memory. This avoids duplicate accesses, reduces processor 110 latency, and thus improves system efficiency.
[0079] In the present application, a computer program is stored in the memory, which is used to enable the controller or processor to implement the audio processing method of the present application through an interface or protocol.
[0080] The electronic device can implement wireless communication functions through the communication module 130. The communication module 130 may include an antenna, a wireless communication module, a mobile communication module, a modem processor, a baseband processor, etc. The communication module 130 may also include more or fewer devices.
[0081] Antennas are used to transmit and receive electromagnetic wave signals. An electronic device may include multiple antennas, each capable of covering a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example, an antenna can be reused as a diversity antenna for a wireless local area network (WLAN). In some other embodiments, antennas can be used in conjunction with tuning switches.
[0082] The mobile communication module provides wireless communication solutions for electronic devices, including 2G / 3G / 4G / 5G. It can include at least one filter, switch, power amplifier, and low-noise amplifier (LNA). The mobile communication module receives electromagnetic waves through an antenna, filters and amplifies them, and transmits them to a modem processor for demodulation. The mobile communication module also amplifies the signals modulated by the modem processor and converts them into electromagnetic waves for radiation via the antenna.
[0083] The modem processor may include a modulator and a demodulator. The modulator is used to modulate the low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After being processed by the baseband processor, the low-frequency baseband signal is passed to the application processor. The application processor outputs sound signals through an audio device (not limited to a speaker, etc.) or displays images or videos through the display device 180.
[0084] The wireless communication module can provide wireless communication solutions for electronic devices, including wireless local area networks (WLAN) (such as Wi-Fi networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc. The wireless communication module can be one or more devices that integrate at least one communication processing module. The wireless communication module receives electromagnetic waves via an antenna, frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110. The wireless communication module can also receive signals to be sent from the processor 110, frequency modulate them, amplify them, and convert them into electromagnetic waves for radiation through the antenna.
[0085] Electronic devices implement display functions through a GPU, display device 180, and an application processor. A GPU is a microprocessor for image processing that connects display device 180 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs, which execute program instructions to generate or modify display information.
[0086] In an embodiment of the present application, the display device 180 may be used to present one or more virtual objects, so that the electronic device 100 provides a virtual environment scene for the user. The display device 180 may present virtual objects in one or more of the following ways:
[0087] 1. In some embodiments, the display device 180 is a display screen, which may include a display panel. The display panel of the display device 180 can be used to display virtual objects, thereby presenting a three-dimensional virtual environment to the user. The user can see the virtual objects on the display panel and experience the virtual reality scene. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), MiniLED, MicroLed, Micro-oLed, quantum dot light-emitting diodes (QLED), etc.
[0088] 2. In some embodiments, display device 180 may include an optical device for projecting an optical signal (e.g., a light beam) directly onto the user's retina. The user can directly see virtual objects and experience a three-dimensional virtual environment through the optical signal projected by this optical device. This optical device may be a micro-projector, for example.
[0089] The electronic device may include two display devices 180, one for each eye of the user. The content displayed on these two display devices can be displayed independently. Different images can be displayed on these two display devices to enhance the three-dimensional effect of the image. In some possible embodiments, the electronic device may include only one display device 180, corresponding to both eye of the user.
[0090] The electronic device can implement a shooting function through an ISP, a camera 190 , a video codec, a GPU, a display device 180 , and an application processor.
[0091] The ISP is used to process data fed back by the camera 190. For example, when taking a photo, the shutter is opened, and light is transmitted through the lens to the camera's photosensitive element. The light signal is converted into an electrical signal, which is then transmitted to the ISP for processing and converted into an image visible to the naked eye.
[0092] The camera 190 is used to capture still images or videos. In some embodiments, the electronic device may include 1 or N cameras 190, where N is a positive integer greater than 1.
[0093] In some embodiments, the camera 190 may capture hand images or body images of the user, and the processor 110 may be configured to analyze the images captured by the camera 190 to identify hand movements or body movements input by the user.
[0094] In some embodiments, the camera 190 can be used in conjunction with an infrared device (such as an infrared transmitter) to detect the user's eye movements, such as eye gaze direction, blinking operations, gazing operations, etc., thereby achieving eye tracking.
[0095] The digital signal processor is used to process digital signals. In addition to digital image signals, it can also process other digital signals. For example, when an electronic device selects a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy.
[0096] The NPU is a neural network (NN) computing processor. Drawing on the structure of biological neural networks, such as the transmission patterns between neurons in the human brain, it rapidly processes input information and can continuously self-learn. The NPU enables intelligent cognitive applications in electronic devices, such as image recognition, face recognition, speech recognition, and text comprehension.
[0097] The memory 120 can be used to store computer executable program codes, which include instructions. The processor 110 executes various functional applications and data processing of the electronic device by running the instructions stored in the memory 120. The memory 120 may include a program storage area and a data storage area. Among them, the program storage area may store an operating system, an application program required for at least one function (such as a sound playback function, an image playback function, etc.) (such as VR / AR / MR applications), etc. The data storage area may store data created during the use of the electronic device (such as audio data, virtual image data, etc.), etc. In addition, the memory 120 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc.
[0098] The electronic device 100 can implement audio functions, such as collecting ambient sound and playing audio, through the audio module 170 , the speaker 170A, the microphone 170C, the headphone jack 170D, and the application processor.
[0099] The audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals. The audio module can also be used to encode and decode audio signals. Speaker 170A, also known as "speaker", is used to convert audio electrical signals into sound signals. In some embodiments, the electronic device 100 may include a speaker array consisting of multiple speakers. Microphone 170C, also known as "microphone" or "microphone", is used to convert sound signals into electrical signals. The electronic device can be provided with at least one microphone 140. In some embodiments, the electronic device can be provided with multiple microphones 170C to realize functions such as sound source positioning. The headphone jack 170D is used to connect wired headphones.
[0100] In some embodiments, electronic device 100 may use an ear-blocking device to play audio. For example, electronic device 100 may include headphones. When worn, these headphones block the user's ears. In other embodiments, electronic device 100 may use a non-ear-blocking device to play audio. For example, electronic device 100 may include headphones. When worn, these headphones do not block the user's ears.
[0101] In some embodiments, the electronic device may include one or more buttons 150 that can control the electronic device and provide a user with access to functions on the electronic device. In some embodiments, the electronic device may include an input / output interface 160 that can connect other devices to the electronic device via suitable components. Examples of these components include audio / video jacks, data connectors, and the like.
[0102] The sensor module 140 may include various sensors, such as a proximity light sensor, a distance sensor, a gyroscope sensor, an ambient light sensor, an acceleration sensor, a temperature sensor, a magnetic sensor, a bone conduction sensor, a fingerprint sensor, and the like.
[0103] The software system of the electronic device 100 may adopt a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture, etc., and this application does not limit this. For example, the electronic device 100 in the embodiment of this application may be equipped with Or other operating systems.
[0104] Based on the above-mentioned virtual conference scenario and electronic device 100, the present application provides an audio processing method to solve the problem of repeated sound interference in virtual conferences and improve the user's conference experience.
[0105] When joining a virtual conference, electronic device 100 can determine whether it is in the same physical space as other electronic devices participating in the virtual conference. If electronic device 100 is not in the same physical space as other electronic devices participating in the virtual conference, electronic device 100 can play the transmission sound after receiving the transmission sound sent by other electronic devices. If electronic device 100 is in the same physical space as other electronic devices participating in the virtual conference, electronic device 100 can not play the transmission sound, or mix the transmission sound and the transmitted sound before playing the mixed audio.
[0106] Among them, when the electronic device 100 adopts an ear-blocking design, the electronic device 100 can generate transparent sound based on the collected ambient sound. The electronic device 100 can detect the distance between the electronic device 100 and the electronic device 100 that is located in the same physical space as the electronic device 100 among other electronic devices connected to the virtual conference. If the distance to the electronic device 100 is relatively far, the electronic device 100 can use the transmission sound sent from the electronic device at the farther distance as the main sound source and the transparent sound as the non-main sound source for mixing. If the distance to the electronic device 100 is relatively close, the electronic device 100 can use the transparent sound as the main sound source and use the transmission sound sent from the electronic device at the closer distance as the non-main sound source for mixing. In addition, before mixing the main sound source and the non-main sound source, the electronic device 100 can detect the time delay between the main sound source and the non-main sound source. If the time delay is large, the electronic device 100 can perform crosstalk filtering on the non-main sound source to filter out the effective components in the non-main sound source. The effective components may include the voice part in the non-main sound source. Then, the electronic device 100 can mix the main sound source and the filtered non-main sound source and play the mixed audio. If the time delay is small, the electronic device 100 directly mixes the main sound source and the non-main sound source.
[0107] It is understandable that if other electronic devices are in the same physical space as the electronic device 100, when a participant wearing other electronic devices speaks, the transparent sound played by the electronic device 100 may include the speeches of other participants. In the present application, the electronic device 100 can mix the transparent sound with the transmission sound sent from an electronic device in the same physical space as the electronic device 100 to ensure that when a participant around the user speaks, the user only listens to the voice of the participant once. In addition, when the time delay between the transparent sound and the transmission sound is large, the electronic device 100 performs crosstalk filtering to better avoid the sound of the same participant speaking appearing twice in the mixed audio. In this way, in a virtual conference scenario, the problem of repeated sound interference when multiple participants are in the same physical space can be solved.
[0108] If the electronic device 100 uses a non-ear-blocking design, the electronic device 100 can detect the distance between the electronic device 100 and the electronic device 100 that is located in the same physical space as the electronic device 100 and that is connected to the virtual conference. If the electronic device 100 is farther away, the electronic device 100 can play the transmission sound sent by the farther electronic device. If the electronic device 100 is closer, the electronic device 100 can not play the transmission sound sent by the closer electronic device.
[0109] It is understandable that if other electronic devices are in the same physical space as the electronic device 100 and are far away, the user wearing the electronic device 100 may find it difficult to clearly hear the speech of the distant participant through the ambient sound. Therefore, the electronic device 100 can play the transmission sound sent by the distant electronic device so that the user can accurately hear the content of the speech of the distant participant in the same space. If other electronic devices are in the same physical space as the electronic device 100 and are close to each other, the user wearing the electronic device 100 can quickly and relatively clearly hear the voice of the nearby participant through the ambient sound. Therefore, the electronic device 100 can no longer play the transmission sound sent by the nearby electronic device to avoid the user from repeatedly listening to the same speech of the nearby participant on both sides. This can solve the problem of repeated sound interference.
[0110] FIG4A exemplarily shows a flow chart of an audio processing method provided by the present application.
[0111] The method shown in FIG4A may be a method for performing audio processing on an electronic device 100 using an ear-blocking design. As shown in FIG4A , the method may include steps S411 to S421.
[0112] S411 : The electronic device 100 determines the transmitted sound according to the collected sound signal, and receives the transmitted sound from the electronic device 101 .
[0113] When the electronic device 100 uses an ear-blocking design, the electronic device 100 can collect ambient sound (or ambient sound signal). The ambient sound may include background sound. When a person is speaking in the environment where the electronic device 100 is located, the ambient sound may also include the human voice. The human voice may also be referred to as speech. The electronic device 100 may use transparent playback technology to process the collected ambient sound. The audio obtained through the transparent playback process may be referred to as transparent sound.
[0114] In some embodiments, the electronic device 100 can filter out part or all of the background sound in the ambient sound to generate transparent sound.
[0115] The above-mentioned sound transmission can help users hear the sounds of nearby people or objects even when their ears are blocked by the electronic device 100.
[0116] The transmitted sound from the electronic device 101 may be audio collected by the electronic device 101 and transmitted via the communication connection between the electronic device 100 and the electronic device 101. In particular, when the user wearing the electronic device 101 speaks, the transmitted sound from the electronic device 101 may include the voice of the user wearing the electronic device 101 speaking.
[0117] Here, we take the example of electronic device 100 and electronic device 101 accessing the same virtual conference. Among them, more electronic devices can be connected to the virtual conference. That is, the virtual conference is not limited to the participants wearing electronic device 100 and electronic device 101, and more participants can participate. In addition to receiving the transmission sound from electronic device 101, electronic device 100 can also receive transmission sounds sent by more other electronic devices accessing the virtual conference. The situation in which electronic device 100 receives transmission sounds sent by other electronic devices can refer to the situation in which electronic device 100 receives transmission sounds sent by electronic device 101.
[0118] S412: The electronic device 100 determines whether the electronic device 100 and the electronic device 101 are in the same physical space.
[0119] Since both electronic device 100 and electronic device 101 are worn by the user, the position of electronic device 100 can represent the position of the user wearing electronic device 100 in the real environment, and the position of electronic device 101 can represent the position of the user wearing electronic device 101 in the real environment. In other words, electronic device 100 and electronic device 101 being in the same physical space can represent that the user wearing electronic device 100 and the user wearing electronic device 101 are in the same physical space. Electronic device 100 and electronic device 101 not being in the same physical space can represent that the user wearing electronic device 100 and the user of electronic device 101 are not in the same physical space.
[0120] When two users are in the same physical space, especially when they are physically close to each other, they can hear each other's voices without transmitting sound.
[0121] In one possible implementation, the electronic device 100 and the electronic device 101 can determine whether the electronic device 100 and the electronic device 101 are in the same physical space by using an internet protocol (IP) address. The IP address of the electronic device 100 and the IP address of the electronic device 101 can reflect whether the electronic device 100 and the electronic device 101 are connected to the same network. If the electronic device 100 and the electronic device 101 are connected to the same network, the electronic device 100 can determine that the electronic device 100 and the electronic device 101 are in the same physical space. If the electronic device 100 and the electronic device 101 are connected to different networks, the electronic device 100 can determine that the electronic device 100 and the electronic device 101 are not in the same physical space.
[0122] For example, when electronic device 100 and electronic device 101 both access the network through the same router, the network accessed by electronic device 100 and electronic device 101 is the same. Even if the user wearing electronic device 100 and the user wearing electronic device 101 are in different rooms, electronic device 100 will determine that electronic device 100 and electronic device 101 are in the same physical space. It is understandable that the signal coverage range of a router is limited. Even if the user wearing electronic device 100 and the user wearing electronic device 101 are in different rooms, the actual physical distance between the two users is usually not too far apart. For example, the user wearing electronic device 100 may be in the bedroom. The user wearing electronic device 101 may be in the living room. Electronic device 100 and electronic device 101 both access the network through the router located in the living room.
[0123] When the electronic device 100 and the electronic device 101 access the network through different routers, the electronic device 100 and the electronic device 101 access different networks. In this case, the electronic device 100 can determine that it is not in the same physical space as the electronic device 101.
[0124] The above determination of whether electronic devices are in the same physical space by IP address is merely an exemplary description of the present application and should not constitute a limitation on the present application. Electronic device 100 may also determine whether electronic device 100 is in the same physical space as electronic device 101 by other methods.
[0125] If the electronic device 100 and the electronic device 101 are not in the same physical space, the electronic device 100 may execute the following step S413 .
[0126] If the electronic device 100 and the electronic device 101 are in the same physical space, the electronic device 100 may execute the following step S414.
[0127] S413 , the electronic device 100 plays the transparent sound and the transmitted sound.
[0128] If electronic device 100 and electronic device 101 are not in the same physical space, the user wearing electronic device 100 cannot hear the voice of the user wearing electronic device 101 speaking through the ambient sound in their environment. In other words, the sound transmitted through electronic device 100 does not include the voice of the user wearing electronic device 101 speaking. The voice of the user wearing electronic device 101 does not cause repeated sound interference to the user wearing electronic device 100. Therefore, electronic device 100 can directly play the transmitted sound from electronic device 101. In addition, because the transmitted sound and the transmitted sound do not cause repeated sound interference, electronic device 100 can also play the transmitted sound.
[0129] Among them, the electronic device 100 can superimpose the transparent sound and the transmitted sound and play them. For example, the transparent sound is a1(t). The transmitted sound from the electronic device 101 is a2(t). The electronic device 100 superimposes a1(t) and a2(t) to obtain a3(t). a3(t)=a1(t)+a2(t). The electronic device 100 can play the audio corresponding to a3(t). This application does not limit the above method of superimposing the transparent sound and the transmitted sound.
[0130] S414: The electronic device 100 determines whether the physical distance between the electronic device 100 and the electronic device 101 is greater than a distance threshold.
[0131] When the electronic device 100 and the electronic device 101 are in the same physical space, the user wearing the electronic device 100 may hear the voice of the user wearing the electronic device 101 speaking through the ambient sound in the environment in which he is located. That is, the sound transmitted through the electronic device 100 will include the sound of the user wearing the electronic device 101 speaking. The speech of the user wearing the electronic device 101 will cause repeated sound interference to the user wearing the electronic device 100. Therefore, the electronic device 100 can detect the physical distance between the electronic device 100 and the electronic device 101 to determine the sound quality of the speech of the nearby participant heard by the user wearing the electronic device 100 through the transparent sound. The better the sound quality of the speech of the nearby participant heard through the transparent sound, the more likely the transparent sound and the transmitted sound will cause repeated sound interference to the user.
[0132] Among them, the greater the physical distance between the electronic device 100 and the electronic device 101, the greater the physical distance between the user wearing the electronic device 100 and the user wearing the electronic device 101, and the worse the sound quality of the user wearing the electronic device 100 hearing the speech of the user wearing the electronic device 101 through sound transmission. It can be understood that the sound in the environment is transmitted through a medium such as air, and will gradually attenuate during the transmission process. The farther the two people are from each other, the more the sound of one person speaking is attenuated when it is transmitted to the other person in the environment, and the more difficult it is for the other person to hear clearly what the other person is saying. On the contrary, the closer the two people are from each other, the less the sound of one person speaking is attenuated when it is transmitted to the other person in the environment and the shorter the propagation distance is, the faster it can reach the other person, and the faster and more clearly the other person can hear what the other person is saying.
[0133] When the physical distance between the electronic device 100 and the electronic device 101 is greater than the distance threshold, the electronic device 100 may execute the following step S415.
[0134] When the physical distance between the electronic device 100 and the electronic device 101 is less than or equal to the distance threshold, the electronic device 100 may execute the following step S416.
[0135] The above distance threshold may be preset. This application does not limit the value of the distance threshold. For example, the distance threshold may be 3 meters, 4 meters, or 5 meters.
[0136] In one possible implementation, the electronic device 100 may determine the physical distance between the electronic device 100 and the electronic device 101 based on a signal (such as a Wi-Fi signal or a Bluetooth signal) communicated between the electronic device 100 and the electronic device 101. The electronic device 100 and the electronic device 101 may send signals to each other. The electronic device 100 may determine the physical distance between the electronic device 100 and the electronic device 101 based on the time it takes for the signal to be transmitted between the electronic device 100 and the electronic device 101.
[0137] In one possible implementation, the electronic device 100 may use sound source localization technology to determine the physical distance between the electronic device 100 and the electronic device 101. The electronic device 100 may collect ambient sound based on an audio collection device such as a microphone array, and identify the physical distance between one or more sound sources in the ambient sound and the electronic device 100. For example, if the ambient sound collected by the electronic device 100 includes a human voice, the electronic device 100 may use sound source localization technology to determine the physical distance between the user emitting the human voice and the electronic device 100. If the ambient sound collected by the electronic device 100 includes a human voice, and if the electronic device 100 receives a transmission sound from the electronic device 101, the electronic device 100 may perform a correlation judgment between the human voice in the ambient sound and the transmission sound from the electronic device 101 to determine whether the human voice in the ambient sound is related to the transmission sound of the electronic device 101. The correlation between the human voice in the ambient sound and the transmission sound of the electronic device 101 may indicate that the human voice in the ambient sound is emitted by the user wearing the electronic device 101. Therefore, the physical distance between the human voice source and the electronic device 100 determined by the electronic device 100 using the sound source localization technology is the physical distance between the electronic device 100 and the electronic device 101 .
[0138] In one possible implementation, the electronic device 100 may also determine the physical distance between the electronic device 100 and the electronic device 101 based on the image captured by the camera. The electronic device 100 may store facial feature data of the user wearing the electronic device 101. When the user wearing the electronic device 100 and the user wearing the electronic device 101 are in the same physical space, the electronic device 100 may capture an image containing the user wearing the electronic device 101. The electronic device 100 may determine the position of the user wearing the electronic device 101 in the image captured by the electronic device 100 based on the facial feature data of the user wearing the electronic device 101, and then calculate the physical distance between the user (i.e., the electronic device 101) and the electronic device 100.
[0139] The above method is only an example of the present application and should not be construed as limiting the present application. The electronic device 100 may also use other methods to determine the physical distance between the electronic device 100 and the electronic device 101 .
[0140] In some embodiments, the quality of the sound effects of the speech of a nearby participant heard by the user wearing the electronic device 100 through transparent sound transmission is not limited to judging by the physical distance between the electronic devices. The electronic device 100 can also judge the quality of the sound effects of the speech of a nearby participant heard by the user wearing the electronic device 100 through transparent sound transmission based on whether parameters such as the loudness of the human voice in the ambient sound (or transparent sound) or the sound pickup quality meet preset conditions. The above-mentioned sound pickup quality may include the balancing effect of different frequency signals in the collected ambient sound, which can be used to reflect the subjective hearing experience of the ambient sound. The better the sound pickup quality, the clearer the user can hear the sound in the ambient sound.
[0141] Exemplarily, when ambient sound is collected, the electronic device 100 can separate the human voice from the ambient sound and detect the loudness of the human voice. If the loudness of the human voice is greater than a preset loudness, it may indicate that the user emitting the human voice is relatively close to the user wearing the electronic device 100. If the loudness of the human voice is less than or equal to the preset loudness, it may indicate that the user emitting the human voice is relatively far from the user wearing the electronic device 100. The electronic device 100 can perform a correlation judgment on the human voice in the ambient sound and the transmission sound from the electronic device 101 to determine whether the human voice in the ambient sound is related to the transmission sound of the electronic device 101. If the human voice in the ambient sound is related to the transmission sound of the electronic device 101 and the loudness of the human voice is greater than the preset loudness, the electronic device 100 can execute the following step S416. If the human voice in the ambient sound is related to the transmission sound of the electronic device 101 and the loudness of the human voice is less than or equal to the preset loudness, the electronic device 100 can execute the following step S415.
[0142] S415 : The electronic device 100 determines the transmitted sound as the main sound source and determines the transmitted sound as the non-main sound source.
[0143] When the physical distance between electronic device 100 and electronic device 101 is greater than a distance threshold, the sound quality of the voice of the user wearing electronic device 101 in the transmitted sound determined by electronic device 100 is poor. Therefore, when electronic device 100 mixes the transmitted sound and the transmitted sound, it uses the transmitted sound as the primary sound source and the transmitted sound as the secondary sound source. This allows the user wearing electronic device 100 to better hear the content of the user wearing electronic device 101.
[0144] The proportion of information from the primary sound source in the mixed audio is higher than that from the non-primary sound sources. This means that when users listen to the mixed audio, they hear more of the content coming from the primary sound source.
[0145] S416 : The electronic device 100 determines the transmitted sound as the main sound source and the transmitted sound as the non-main sound source.
[0146] When the physical distance between electronic device 100 and electronic device 101 is less than or equal to the distance threshold, the sound quality of the voice of the user wearing electronic device 101 in the transmitted sound determined by electronic device 100 is higher. Furthermore, compared to the transmitted sound from electronic device 101, the user wearing electronic device 100 will typically hear the content of the user wearing electronic device 101's speech through the transmitted sound first. Therefore, when electronic device 100 mixes the transmitted sound and the transmitted sound, it uses the transmitted sound as the primary sound source and the transmitted sound as the secondary sound source.
[0147] S417 : The electronic device 100 determines the time delay between the transmitted sound and the transmitted sound.
[0148] The transparent sound and the transmitted sound are obtained by the electronic device 100 through different channels. There is usually a time delay between the transparent sound and the transmitted sound. The time delay between the transparent sound and the transmitted sound can represent the time difference between the user hearing the speech of the user wearing the electronic device 101 through the transparent sound and the transmitted sound. The above-mentioned transparent sound is determined after the electronic device 100 collects the ambient sound and plays it to the user. The above-mentioned transmitted sound is collected by the electronic device 101, transmitted to the electronic device 100 through the communication network, and then played to the user by the electronic device 100. It takes a long time for the above-mentioned transmitted sound to be transmitted in the communication network. Therefore, under normal circumstances, the user wearing the electronic device 100 will hear the speech of the user wearing the electronic device 101 through the transparent sound earlier than hearing the speech of the user wearing the electronic device 101 through the transmitted sound.
[0149] In order to avoid repeated sounds in the mixed audio obtained by mixing the transparent sound and the transmitted sound, the electronic device 100 can detect the time delay between the transparent sound and the transmitted sound.
[0150] FIG4B is a schematic diagram showing an example of the time delay between the transmitted sound and the transmitted sound.
[0151] As shown in Figure 4B, the acoustic signal 431 may be an acoustic signal of a transparent sound. The acoustic signal 432 may be an acoustic signal of a transmitted sound. The electronic device 100 may perform a correlation judgment on the acoustic signal 431 and the acoustic signal 432 to determine the acoustic signal corresponding to the speech of the user wearing the electronic device 101 in the transparent sound and the transmitted sound. Among them, the electronic device 100 may compare the correlation between the acoustic signal 431 and the acoustic signal 432 starting at different times. For example, the electronic device 100 detects that the part of the acoustic signal 431 starting at time t1 has the highest correlation with the part of the acoustic signal 432 starting at time t1+Δt1. Then, the electronic device 100 may determine that the time delay between the transparent sound and the transmitted sound is Δt1.
[0152] The embodiment of the present application does not limit the delay estimation method of the electronic device 100. For example, the electronic device 100 may use a delay estimation method that combines fractional low-order covariance (FLOC) with linear prediction (LPC).
[0153] S418: The electronic device 100 determines whether the delay is greater than a delay threshold.
[0154] The Haas effect indicates that if the time difference between two sound waves from the same sound source reaching the listener is within 35 milliseconds (ms), the listener cannot distinguish between the two sound sources, and the two sound sources will not cause repeated sound interference to the listener. Therefore, the electronic device 100 can determine whether the time delay between the primary sound source and the non-primary sound source is greater than a delay threshold. The delay threshold can be 35ms, 34ms, 36ms, etc. The specific value of the delay threshold is not limited in this embodiment of the present application.
[0155] If the delay between the primary sound source and the non-primary sound source is less than or equal to the delay threshold, the electronic device 100 may execute step S419. If the delay between the primary sound source and the non-primary sound source is greater than the delay threshold, the electronic device 100 may execute step S420.
[0156] S419: The electronic device 100 mixes the main sound source and the non-main sound source to obtain and play the mixed audio.
[0157] In some embodiments, the electronic device 100 may use an adaptive mixing weighting algorithm or an automatic alignment algorithm to mix the primary sound source and the non-primary sound source. The embodiment of the present application does not limit the mixing method used by the electronic device 100.
[0158] S420: The electronic device 100 performs crosstalk filtering on the non-primary sound source to filter out the effective components in the non-primary sound source.
[0159] S421: The electronic device 100 mixes the main sound source and the filtered non-main sound source to obtain and play the mixed audio.
[0160] If the delay between the primary and non-primary sound sources exceeds the delay threshold, the electronic device 100 may filter out the valid components of the non-primary sound source before mixing. The valid components of the non-primary sound source may include the human voice portion of the non-primary sound source. This prevents the same participant's voice from appearing twice in the mixed audio, causing repeated audio interference to the user.
[0161] In some embodiments, the electronic device 100 stores audio playback parameters for playing the audio of the speech of the user wearing the electronic device 101. The audio playback parameters can be determined by the electronic device 100 through spatial audio modeling based on the positional relationship between the user wearing the electronic device 101 and the user wearing the electronic device 100 in the virtual conference room. The electronic device 100 uses the audio parameters to play the mixed audio determined in the above step S419 or step S421, which can bring an immersive experience to the users participating in the virtual meeting. Among them, when the user hears a participant speaking, the source of the sound can be determined from the auditory sense to match the position of the virtual image of this participant in the virtual conference room.
[0162] In some embodiments, when the physical distance between the electronic device 100 and the electronic device 101 is greater than the distance threshold, the electronic device 100 may not need to distinguish between the main sound source and the non-main sound source. Among them, the electronic device 100 can superimpose the transparent sound and the transmitted sound and play them. For details, please refer to the aforementioned step S413. It can be understood that if the physical distance between the electronic device 100 and the electronic device 101 is greater than the distance threshold, the electronic device 100 can only collect a small amount of sound of the user wearing the electronic device 101 speaking, and it may not even be possible to collect the sound of the user wearing the electronic device 101 speaking. Then, the transparent sound almost does not contain the sound of the user wearing the electronic device 101 speaking. Therefore, the transparent sound and the transmitted sound from the electronic device 101 will not cause repeated sound interference to the user wearing the electronic device 100. The electronic device 100 can play the audio formed by the direct superposition of the transparent sound and the transmitted sound.
[0163] In some embodiments, steps S415 to S421 are optional. In particular, when the physical distance between the electronic device 100 and the electronic device 101 is greater than a distance threshold, the electronic device 100 may only play the transmission sound when receiving the transmission sound from the electronic device 101, without playing the transparent sound. When the physical distance between the electronic device 100 and the electronic device 101 is less than or equal to the distance threshold, the electronic device 100 may play the transparent sound without playing the transmission sound from the electronic device 101. This can also avoid the repeated sound interference to the user caused by playing the transparent sound and the transmission sound at the same time.
[0164] In some embodiments, when the electronic device 100 and the electronic device 101 are located in the same physical space, especially when the physical distance between the electronic device 100 and the electronic device 101 is less than a distance threshold, if the user wearing the electronic device 100 speaks, the transparent sound generated by the electronic device 100 includes the sound of the user wearing the electronic device 100 speaking, and the electronic device 101 can collect the sound of the user wearing the electronic device 100 speaking. That is, the transmitted sound from the electronic device 101 also includes the sound of the user wearing the electronic device 100 speaking. The time delay between the transparent sound and the transmitted sound in the above step S417 can also represent the time difference between the user wearing the electronic device 100 hearing his own voice through the transparent sound and the transmitted sound. When the electronic device 100 plays audio according to the method shown in FIG. 4A , it can not only reduce the situation where the user hears other users’ speeches repeatedly, but also reduce the situation where the user hears his own speech repeatedly.
[0165] In some embodiments, if the electronic device 100 and the electronic device 101 are in the same physical space and the physical distance between the two is greater than a distance threshold, the electronic device 100 can determine whether the loudness of the human voice part in the transparent sound is louder or the loudness of the human voice part in the transmitted sound is louder, or the electronic device 100 can determine which of the loudness of the relevant parts of the transparent sound and the transmitted sound is louder. For example, if the loudness of the human voice part in the transmitted sound is louder, the electronic device 100 can execute the above step S415, determine the transmitted sound as the main sound source, and determine the transparent sound as the non-main sound source. If the loudness of the human voice part in the transparent sound is louder, the electronic device 100 can execute the above step S416, determine the transparent sound as the main sound source, and determine the transmitted sound as the non-main sound source. It can be understood that the repeated sound interference in the virtual meeting may be that the user will hear the sound of his own voice repeatedly, or it may be that the user will hear the sound of other users speaking. When electronic device 100 and electronic device 101 are in the same physical space but relatively far apart, if the user wearing electronic device 101 speaks, both the transmitted sound and the transmitted sound may contain the voice of the user wearing electronic device 101. However, the transmitted sound has a higher quality of sound than the user wearing electronic device 101. Therefore, electronic device 100 uses the transmitted sound as the primary sound source and the transmitted sound as the secondary sound source. This allows the user wearing electronic device 100 to clearly hear the voice of the user wearing electronic device 101 while reducing interference from repeated sounds. If the user wearing electronic device 101 speaks, both the transmitted sound and the transmitted sound may contain the voice of the user wearing electronic device 101. However, the transmitted sound has a higher quality of sound than the user wearing electronic device 100. Therefore, electronic device 100 uses the transmitted sound as the primary sound source and the transmitted sound as the secondary sound source. This allows the user wearing electronic device 100 to clearly hear their own voice while reducing interference from repeated sounds. As can be seen, in virtual meetings, participants typically take turns speaking. When electronic device 100 and electronic device 101 are in the same physical space and are far apart, electronic device 100 can adjust the main sound source and non-main sound source in real time according to the changes of the speaker, while ensuring that the user wearing electronic device 100 can clearly hear the speaker's speech, reducing repeated sound interference and improving the user's meeting experience.
[0166] As can be seen from the method shown in FIG4A above, when the audio to be played in the electronic device 100 includes transparent sound and transmission sound, the electronic device 100 can determine whether the transparent sound and transmission sound will cause repeated sound interference to the user wearing the electronic device 100, as well as the degree of interference, to determine the processing and playback method of the transparent sound and transmission sound. In the case where the transparent sound and transmission sound will cause repeated sound interference to the user (that is, the electronic device 100 and the electronic device 101 are in the same physical space), the electronic device 100 can determine one of the transparent sound and transmission sound as the main sound source and the other as the non-main sound source according to the degree of interference, and then mix the sound. For example, if the physical distance between the electronic device 100 and the electronic device 101 is greater than the distance threshold, the degree of interference is small. If the physical distance between the electronic device 100 and the electronic device 101 is less than or equal to the distance threshold, the degree of interference is large. In addition, the electronic device 100 can also perform crosstalk filtering on the non-main sound source during mixing. This can better reduce repeated sound interference and enhance the user's experience of participating in virtual meetings.
[0167] FIG5 exemplarily shows a flow chart of another audio processing method provided by the present application.
[0168] The method shown in FIG5 may be a method for performing audio processing on an electronic device 100 using a non-obstructive ear design. As shown in FIG5 , the method may include steps S511 to S516.
[0169] S511 : The electronic device 100 receives a transmission sound from the electronic device 101 .
[0170] When the electronic device 100 adopts a non-blocking ear design, the ears of the user wearing the electronic device 100 are not blocked, and the user can directly hear the sounds in the environment (such as their own voice, the voices of other people talking nearby, etc.). Therefore, the electronic device 100 does not need to generate and play the transmitted sound. The transmitted sound from the electronic device 101 can refer to the description of step S411 shown in Figure 4A above.
[0171] S512: The electronic device 100 determines whether the electronic device 100 and the electronic device 101 are in the same physical space.
[0172] For step S512 , reference may be made to the introduction of step S412 shown in FIG. 4A .
[0173] S513: The electronic device 100 plays a transmission sound.
[0174] If electronic device 100 and electronic device 101 are not in the same physical space, the user wearing electronic device 100 cannot hear the voice of the user wearing electronic device 101 through ambient sound in their environment. In other words, the user wearing electronic device 100 can only hear the voice of the user wearing electronic device 101 through transmitted sound. Therefore, electronic device 100 can directly play the transmitted sound from electronic device 101.
[0175] S514: The electronic device 100 determines whether the physical distance between the electronic device 100 and the electronic device 101 is greater than a distance threshold.
[0176] For step S514 , reference may be made to the introduction of step S414 shown in FIG. 4A .
[0177] S515 : The electronic device 100 plays the transmission sound.
[0178] When the physical distance between electronic devices 100 and 101 is greater than a distance threshold, the user wearing electronic device 100 is relatively far away from the user wearing electronic device 101. The sound of the user's speech, transmitted through a medium such as air, experiences significant attenuation when it reaches the user wearing electronic device 101. This makes it difficult for the user wearing electronic device 100 to hear the user's speech amidst the ambient sound. Therefore, electronic device 100 can play the transmitted sound.
[0179] S516: The electronic device 100 does not play the transmission sound.
[0180] When the physical distance between the electronic device 100 and the electronic device 101 is less than or equal to the distance threshold, the user wearing the electronic device 100 is relatively close to the user wearing the electronic device 101. When the sound of the user wearing the electronic device 101 speaking is transmitted through a medium such as air and reaches the user wearing the electronic device 100, the attenuation is small. The user wearing the electronic device 100 can clearly hear the content of the speech of the user wearing the electronic device 101 from the ambient sound. At this time, if the electronic device 100 plays the transmission sound, the user may hear the speech of the user wearing the electronic device 101 again from the transmission sound in addition to hearing the speech of the user wearing the electronic device 101 from the ambient sound. This will cause the problem of repeated sound interference to the user wearing the electronic device 101. Therefore, after the electronic device 100 receives the transmission sound from the electronic device 101, it is not necessary to play the transmission sound.
[0181] As can be seen from the method shown in Figure 5 above, when a user can hear other nearby users speaking through ambient sound, the electronic device 100 can determine whether the received transmission sound will cause repeated sound interference to the user wearing the electronic device 100, and determine whether to play the transmission sound. For example, when the electronic device 100 and the electronic device 101 are in the same physical space and the physical distance between the two is close, the transmission sound from the electronic device 101 will cause greater repeated sound interference to the user. The electronic device 100 may not play the transmission sound from the electronic device 101. This can avoid the problem of repeated sound interference and enhance the user's experience of participating in virtual meetings.
[0182] FIG6 exemplarily shows the structure of an electronic device 100 provided in an embodiment of the present application.
[0183] As shown in FIG. 6 , the electronic device 100 may include an audio input module 611 , a communication module 612 , an audio output module 613 , an audio processing module 614 , an acoustic signal selection module 615 , and a delay estimation module 616 .
[0184] The audio input module 611 may be used to collect ambient sound. For example, the audio input module 611 may include a microphone.
[0185] The communication module 612 can be used for the electronic device 100 to communicate with other electronic devices (such as the electronic device 101). The communication module 612 can refer to the communication module 130 shown in Figure 3 above. For example, the electronic device 100 can access a virtual conference through the communication module 612 and receive transmission sound and other data sent by other electronic devices (such as the electronic device 101) that access the virtual conference. The electronic device 100 can also use the communication module 612 to send the ambient sound and other data collected by the audio input module 611 to other electronic devices that access the virtual conference.
[0186] The audio output module 613 may be configured to play audio. For example, the audio output module 613 may include a speaker.
[0187] The audio processing module 614 may be used to perform crosstalk filtering, audio mixing, and other processing on the audio. In some embodiments, the audio processing module 614 may also be used to process the ambient sound collected by the audio input module 611 to generate transparent sound.
[0188] The sound signal selection module 615 can be used to select audio to determine the audio that the electronic device 100 needs to play. Specifically, when the electronic device 100 joins a virtual meeting, the sound signal selection module 615 can determine whether one or more audios in the electronic device 100 will cause repeated sound interference to the user during playback, and then select appropriate audio to play to reduce repeated sound interference.
[0189] The time delay estimation module 616 may be configured to estimate the time delay between two acoustic signals.
[0190] In some embodiments, electronic device 100 employs an ear-blocking design. Electronic device 100 includes both transmitted and transmitted sound. Transmitted sound from electronic device 101 is used as an example for illustration. Sound signal selection module 615 can determine whether electronic device 100 and electronic device 101 are in the same physical space. For a detailed description of the method, please refer to step S412 shown in FIG. 4A . If electronic device 100 and electronic device 101 are not in the same physical space, the transmitted and transmitted sound will not cause repeated sound interference to the user when played. Therefore, sound signal selection module 615 can instruct audio output module 613 to play the transmitted and transmitted sound. This allows the user wearing electronic device 100 to hear the content of the user wearing electronic device 101 through the transmitted sound, and to hear their own voice and other nearby sounds through the transmitted sound. Because the transmitted sound does not include the voice of the user wearing electronic device 101, the audio output module 613 playing the transmitted and transmitted sound from electronic device 101 will not cause repeated sound interference to the user.
[0191] If the electronic device 100 and the electronic device 101 are in the same physical space, the transmitted sound and the transmitted sound may cause repeated sound interference to the user during playback, and the degree of interference depends on the physical distance between the electronic device 100 and the electronic device 101. The greater the physical distance between the electronic device 100 and the electronic device 101, the smaller the degree of repeated sound interference. Conversely, the greater the degree of repeated sound interference. The acoustic signal selection module 615 can determine whether the physical distance between the electronic device 100 and the electronic device 101 is greater than the distance threshold. For a detailed description of the method, please refer to step S414 shown in Figure 4A above.
[0192] If the physical distance between electronic device 100 and electronic device 101 is greater than the distance threshold, the sound signal selection module 615 may determine the transmission sound as the primary sound source and the transparent sound as the non-primary sound source. If the physical distance between electronic device 100 and electronic device 101 is less than or equal to the distance threshold, the sound signal selection module 615 may determine the transparent sound as the primary sound source and the transmission sound as the non-primary sound source. The sound signal selection module 615 may then instruct the audio processing module 614 to mix the primary sound source and the non-primary sound source.
[0193] The audio processing module 614 can first instruct the delay estimation module 616 to determine the delay between the main sound source and the non-main sound source (i.e., the transmitted sound and the transmitted sound). If the delay between the main sound source and the non-main sound source is greater than the delay threshold, the audio processing module 614 can perform crosstalk filtering on the non-main sound source to eliminate the effective components in the non-main sound source, and then mix the main sound source and the filtered non-main sound source to obtain mixed audio (refer to steps S420 and S421 shown in Figure 4A above). If the delay between the main sound source and the non-main sound source is less than the delay threshold, the audio processing module 614 can mix the main sound source and the non-main sound source to obtain mixed audio.
[0194] The audio processing module 614 may instruct the audio output module 613 to play the mixed audio.
[0195] In some embodiments, if the physical distance between the electronic device 100 and the electronic device 101 is greater than a distance threshold, the acoustic signal selection module 615 may select the transmission sound for playback. The acoustic signal selection module 615 may instruct the audio output module 613 to play the transmission sound instead of the transparent sound. If the physical distance between the electronic device 100 and the electronic device 101 is less than the distance threshold, the acoustic signal selection module 615 may select the transparent sound for playback. The acoustic signal selection module 615 may instruct the audio output module 613 to play the transparent sound instead of the transmission sound.
[0196] In some embodiments, the electronic device 100 adopts a non-ear-blocking design. The electronic device 100 contains transmission sound but does not contain penetrating sound. Here, the transmission sound from the electronic device 101 is used as an example for explanation. The sound signal selection module 615 can determine whether the electronic device 100 and the electronic device 101 are in the same physical space. For a specific method introduction, please refer to step S412 shown in Figure 4A above. If the electronic device 100 and the electronic device 101 are not in the same physical space, the user wearing the electronic device 100 can only hear the content of the speech of the user wearing the electronic device 101 through the transmission sound. Therefore, the sound signal selection module 615 can instruct the audio output module 613 to play the transmission sound.
[0197] If the electronic device 100 and the electronic device 101 are in the same physical space, the transmitted sound and the ambient sound transmitted through a medium such as air and heard by the user may cause repeated sound interference to the user, and the degree of interference depends on the physical distance between the electronic device 100 and the electronic device 101. The greater the physical distance between the electronic device 100 and the electronic device 101, the smaller the degree of repeated sound interference. Conversely, the greater the degree of repeated sound interference. The acoustic signal selection module 615 can determine whether the physical distance between the electronic device 100 and the electronic device 101 is greater than the distance threshold. For a detailed description of the method, please refer to step S414 shown in Figure 4A above.
[0198] If the physical distance between electronic devices 100 and 101 is greater than a distance threshold, the acoustic signal selection module 615 may select the transmission sound for playback. Furthermore, the acoustic signal selection module 615 may instruct the audio output module 613 to play the transmission sound. If the physical distance between electronic devices 100 and 101 is less than or equal to the distance threshold, the transmission sound from electronic device 101 does not need to be played. In other words, the audio output module 613 does not need to play the transmission sound from electronic device 101.
[0199] It should be noted that the structure shown in FIG6 is merely an exemplary description of the present application and should not be construed as limiting the present application. The electronic device 100 may further include more or fewer modules, or combine or separate certain modules.
[0200] As can be seen from the structure shown in Figure 6, the electronic device 100 can select appropriate audio for playback based on the sound signal selection module. This can solve the problem of multiple participants hearing the same content from the speaker twice when holding a virtual meeting in the same physical space, thereby improving the user experience of participating in virtual meetings.
[0201] It should be noted that, without causing any contradiction or conflict, any feature in any embodiment of the present application, or any part of any feature, can be combined, and the combined technical solution is also within the scope of the embodiments of the present application.
[0202] As described above, the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the above embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the above embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.
Claims
1. An audio processing method, characterized in that: The method comprises: The first device receives the first audio from the second device, and generates the second audio according to the collected sound signal; When the first device and the second device are in the same physical space and the physical distance between the first device and the second device meets a first condition, the first device plays the second audio and does not play the first audio, or the first device detects a first delay between the first audio and the second audio, and when the first delay is greater than a delay threshold, filters out the human voice part in the first audio to obtain a third audio, and plays the second audio and the third audio.
2. The method according to claim 1, characterized in that: The first device and the second device are in the same physical space, specifically including: the IP address of the first device and the IP address of the second device indicate that the first device and the second device are connected to the same network; The physical distance between the first device and the second device satisfies a first condition, which specifically includes: the physical distance between the first device and the second device is less than a first distance, and / or the loudness of an acoustic signal related to the second audio in the first audio is greater than the first loudness.
3. The method according to claim 1 or 2, characterized in that: The first device and the second device are devices connected to the same virtual conference, wherein the first device and the second device are worn by different users, the device for playing audio in the first device adopts an ear-blocking design, and the second audio is transparent sound.
4. The method according to any one of claims 1 to 3, characterized in that The playing of the second audio and the third audio specifically includes: The first device uses the second audio as a main sound source and the third audio as a non-main sound source, and mixes and plays the second audio and the third audio.
5. The method according to any one of claims 1 to 4, characterized in that The method further comprises: When the first device and the second device are in the same physical space, the physical distance between the first device and the second device satisfies the first condition, and the first delay is less than or equal to the delay threshold, the first device uses the second audio as a main sound source and the first audio as a non-main sound source, and mixes and plays the first audio and the second audio.
6. The method according to any one of claims 1 to 5, characterized in that The method further comprises: When the first device and the second device are in the same physical space and the physical distance between the first device and the second device does not meet the first condition, the first device plays the first audio and does not play the second audio; or, when the first delay is greater than the delay threshold, the first electronic device filters out the human voice part in the second audio to obtain a fourth audio, and plays the first audio and the fourth audio.
7. The method according to claim 6, characterized in that The playing of the first audio and the fourth audio specifically includes: The first device uses the first audio as a main sound source and the fourth audio as a non-main sound source, and mixes and plays the first audio and the fourth audio.
8. The method according to claim 6 or 7, characterized in that: The method further comprises: When the first device and the second device are in the same physical space, the physical distance between the first device and the second device does not meet the first condition, and the first delay is less than or equal to the delay threshold, the first device uses the first audio as a main sound source and the second audio as a non-main sound source, and mixes and plays the first audio and the second audio.
9. The method according to any one of claims 1 to 8, characterized in that The method further comprises: When the first device and the second device are not in the same physical space, the first device plays the first audio and the second audio.
10. An audio processing method, characterized in that: The method comprises: The first device receives the first audio from the second device; When the first device and the second device are in the same physical space and the physical distance between the first device and the second device meets a first condition, the first device does not play the first audio.
11. The method according to claim 10, characterized in that The first device and the second device are in the same physical space, specifically including: the IP address of the first device and the IP address of the second device indicate that the first device and the second device are connected to the same network; The physical distance between the first device and the second device satisfies a first condition, which specifically includes: the physical distance between the first device and the second device is less than a first distance, and / or the loudness of an acoustic signal related to the second audio in the first audio is greater than the first loudness.
12. The method according to claim 10 or 11, characterized in that: The first device and the second device are devices connected to the same virtual conference, wherein the first device and the second device are worn by different users, and the device for playing audio in the first device adopts a non-ear-blocking design.
13. The method according to any one of claims 10 to 12, characterized in that: The method further comprises: When the first device and the second device are in the same physical space and the physical distance between the first device and the second device does not satisfy the first condition, the first device plays the first audio; When the first device and the second device are not in the same physical space, the first device plays the first audio.
14. An electronic device, characterized in that: The electronic device comprises an audio input module, an audio output module, a memory and a processor, wherein the audio input module is used to collect sound signals; the audio output module is used to play audio; the memory is used to store computer programs; and the processor is used to call the computer program so that the electronic device executes the method described in any one of claims 1 to 9 or claims 10 to 13.
15. A computer-readable storage medium comprising instructions, characterized in that: When the instructions are executed on an electronic device, the electronic device executes the method according to any one of claims 1 to 9 or claims 10 to 13.
16. A computer program product, characterized in that The computer program product includes computer instructions. When the computer instructions are run on an electronic device, the electronic device executes the method according to any one of claims 1 to 9 or claims 10 to 13.
Citation Information
Patent Citations
Mechanism for facilitating dynamic adjustment of audio input / output (I / O) setting devices at conferencing computing devices
CN105103227A
Audio processing method and device and media server
CN108109630A
Audio processing method, device and equipment applied to multi-party call
CN111756723A
Audio output processing method, device and system and electronic equipment
CN111800552A
Audio processing method and device and electronic equipment
CN113903350A
Cited By
Kinematics for the compensation of a variable load and exoskeleton that uses such kinematics
WO2025253350A1
