Audio processing method and device, electronic equipment and storage medium

By detecting and adjusting the audio source position of the target microphone audio data in the live broadcast room, using the target spatial audio coordinates to simulate three-dimensional spatial sound effects, solving the problem of low audio experience in live broadcast microphone scenes, and achieving better audio immersion and orientation feel.

CN119450298APending Publication Date: 2025-02-14BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310955279.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-07-31
Publication Date
2025-02-14

AI Technical Summary

Technical Problem

In live broadcast video scenes, the audio experience is not very effective and the audio effect is single, which cannot provide a clear sense of orientation and dynamic spatial audio effect.

Method used

By detecting the corresponding audio source position of the target microphone in the live broadcast room, determining the appropriate target space audio coordinates, simulating three-dimensional spatial sound effects, and adjusting the target audio data in real time to improve the audio experience.

Benefits of technology

It improves the audio experience in live broadcast mic scenes, enhances the listening and immersion, and allows listeners to feel the sound orientation of each mic position more clearly, achieving better dynamic spatial audio effects.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119450298A_ABST
    Figure CN119450298A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides an audio processing method and device, electronic equipment and a storage medium. The method comprises the steps of detecting a target sound source position of target audio data, determining a target space audio coordinate corresponding to a target microphone position according to the target sound source position, and adjusting and outputting the target audio data corresponding to the target microphone position by adopting the target space audio coordinate. According to the scheme, the dynamic space audio effect is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present disclosure relate to the field of computer technology, and in particular, to an audio processing method, device, electronic device, and storage medium. Background Art

[0002] With the continuous development of Internet technology, live broadcasting based on the Internet has become an indispensable part of daily life, such as live interaction through live broadcasting. Live broadcasting scenes can usually be divided into single-person broadcasting and multi-person online interaction. In the existing live broadcasting scenes, the audio effect of the live broadcast room is single, resulting in a low sense of hearing and immersion in the audio experience. Summary of the invention

[0003] The present invention provides an audio processing method, an apparatus, an electronic device and a storage medium to improve the audio effect in a live broadcast and microphone connection scenario.

[0004] In a first aspect, an embodiment of the present disclosure provides an audio processing method, the method comprising:

[0005] Detecting a target sound source position of target audio data, wherein the target audio data is audio data associated with a target microphone position in a live broadcast room, wherein the target sound source position is used to describe a sound source position when a target sound source object emits a sound corresponding to the target audio data, and the target sound source object is a sound source object corresponding to the target microphone position;

[0006] Determining target spatial audio coordinates corresponding to the target microphone position according to the target sound source position, wherein the spatial audio coordinates are used to simulate a three-dimensional spatial sound effect;

[0007] The target audio data corresponding to the target microphone position is adjusted and outputted using the target spatial audio coordinates.

[0008] In a second aspect, an embodiment of the present disclosure further provides an audio processing device, the device comprising:

[0009] A position detection module, used to detect a target sound source position of target audio data, wherein the target audio data is audio data associated with a target microphone position in a live broadcast room, wherein the target sound source position is used to describe a sound source position when a target sound source object emits a sound corresponding to the target audio data, wherein the target sound source object is a sound source object corresponding to the target microphone position;

[0010] An audio determination module, used to determine the target spatial audio coordinates corresponding to the target microphone position according to the target sound source position;

[0011] The audio processing module is used to adjust and output the target audio data corresponding to the target microphone position using the target spatial audio coordinates.

[0012] In a third aspect, an embodiment of the present disclosure further provides an electronic device, the electronic device comprising:

[0013] one or more processors;

[0014] a storage device for storing one or more programs,

[0015] When the one or more programs are executed by the one or more processors, the one or more processors implement the audio processing method described in any embodiment of the present disclosure.

[0016] In a fourth aspect, an embodiment of the present disclosure further provides a storage medium containing computer executable instructions, wherein the computer readable storage medium stores computer instructions, and the computer executable instructions, when executed by a computer processor, are used to execute the audio processing method described in any embodiment of the present disclosure.

[0017] In the disclosed embodiment, the sound source position corresponding to the target audio data of the target microphone in the live broadcast room is detected, and a suitable target spatial audio coordinate is matched for the target microphone according to the detected sound source position of the target audio data of the target microphone. The target spatial audio coordinate is used to simulate the three-dimensional spatial sound effect to adjust the target audio data of the target microphone in real time, so that the target audio data of the target microphone in the live broadcast room has a spatial audio effect, thereby solving the problem of low listening sense and immersion of the audio experience in the live broadcast and microphone connection scene, and ensuring as much as possible that the audience has a clearer sense of direction when listening to the sound of each microphone from the perspective of the audience, thereby achieving a better dynamic spatial audio effect. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and the originals and elements are not necessarily drawn to scale.

[0019] Figure 1 is a flowchart of an audio processing method provided by an embodiment of the present disclosure;

[0020] Figure 2 is a flowchart of another audio processing method provided by an embodiment of the present disclosure;

[0021] Figure 3 is a flowchart of another audio processing method provided by an embodiment of the present disclosure;

[0022] Figure 4 is a structural schematic diagram of an audio processing device provided by an embodiment of the present disclosure;

[0023] Figure 5It is a structural schematic diagram of an electronic device for implementing an audio processing method provided by an embodiment of the present disclosure. DETAILED DESCRIPTION

[0024] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.

[0025] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.

[0026] The term "including" and its variations used herein are open inclusions, i.e., "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description.

[0027] It should be noted that the concepts such as "first", "second", "target", and "reference" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.

[0028] It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".

[0029] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.

[0030] It is understandable that before using the technical solutions disclosed in the embodiments of the present disclosure, the types, scope of use, usage scenarios, etc. of the personal information involved in the present disclosure should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations.

[0031] For example, in response to receiving an active request from a user, a prompt message is sent to the user to clearly prompt the user that the operation requested to be performed will require obtaining and using the user's personal information. Thus, the user can autonomously choose whether to provide personal information to software or hardware such as an electronic device, application, server, or storage medium that performs the operation of the technical solution of the present disclosure according to the prompt message.

[0032] As an optional but non-limiting implementation, in response to receiving an active request from the user, the prompt information may be sent to the user in the form of a pop-up window, in which the prompt information may be presented in text form. In addition, the pop-up window may also carry a selection control for the user to choose "agree" or "disagree" to provide personal information to the electronic device.

[0033] It is understandable that the above notification and the process of obtaining user authorization are merely illustrative and do not constitute a limitation on the implementation of the present disclosure. Other methods that meet the relevant laws and regulations may also be applied to the implementation of the present disclosure.

[0034] Figure 1 This is a flow chart of an audio processing method provided in an embodiment of the present disclosure. The embodiment of the present disclosure is applicable to the situation where the audio data of each microphone position is adjusted when a live broadcast room is connected to the microphone. The method can be executed by an audio processing device, which can be implemented in the form of software and / or hardware. Optionally, it can be implemented by configuring on any electronic device with network communication function, which can be a mobile terminal, PC or server, etc.

[0035] like Figure 1 As shown, the audio processing method in this embodiment may include but is not limited to the following processes:

[0036] S110. Detect a target sound source position of target audio data, where the target audio data is audio data associated with a target microphone position in the live broadcast room. The target sound source position is used to describe the sound position when a target sound source object emits a sound corresponding to the target audio data. The target sound source object is a sound source object corresponding to the target microphone position.

[0037] The channels of the host and guests in the live broadcast room are usually mono, so that the sound volume heard by the headphones on both sides is balanced. In the live broadcast room microphone connection scenario, the audio data of the microphone in the live broadcast room has a low sense of hearing and immersion in the audio experience, which may cause many problems such as audio flattening and lack of authenticity, audio confusion after sound fusion in multi-person connection scenarios, and inability to distinguish the ownership of sounds. For this reason, it is necessary to adjust the audio data of the microphone in the live broadcast room to improve the sense of hearing and immersion of the audio experience after the adjustment.

[0038] The live broadcast room may include at least one microphone. Different users can interact with each other remotely through multiple microphones in the same live broadcast room. Each user can input audio on the device corresponding to the microphone he / she uses, and the input audio can be shared through the microphones in the live broadcast room during the interactive session.

[0039] For the target microphone position in the live broadcast room, audio data associated with the target microphone position can be obtained by audio collection at the device end corresponding to the target microphone position, which is recorded as the target audio data. At the same time, the target audio data can be the audio data formed when the sound source object corresponding to the target microphone position emits sound at the device end corresponding to the target microphone position, and the sound position when the sound source object corresponding to the target microphone position emits the sound corresponding to the target audio data can be used as the target sound source position of the target audio data.

[0040] S120. Determine a target spatial audio coordinate corresponding to a target microphone position according to a target sound source position, where the spatial audio coordinate is used to simulate a three-dimensional spatial sound effect.

[0041] In order to further optimize the immersiveness of the audio and allow the audio corresponding to the connected microphone in the live broadcast room to jump out of the microphone position limit, this case no longer solidifies the audio of the live broadcast room and the microphone position. For the audio data emitted from different positions corresponding to the target microphone position, the target audio source position corresponding to the target audio data is dynamically adapted to the target microphone position through the target audio source position. In this way, it can be achieved that when the sound source position of the audio data corresponding to the target microphone position is different, the spatial audio coordinates corresponding to the target microphone position are different, and then it can be ensured that the same target microphone position uses different three-dimensional spatial sound effect simulation results as the sound source position of its corresponding audio data is different.

[0042] S130: Use the target spatial audio coordinates to adjust and output the target audio data corresponding to the target microphone position.

[0043] For the target audio data of the target microphone in the live broadcast room, the function of the target spatial audio coordinates to simulate the three-dimensional spatial sound effect can be used to adjust the audio effect of the target audio data of the target microphone in real time, so that the target audio data of the target microphone in the live broadcast room can be dynamically adjusted following the changes in the sound position of the target audio data of the target microphone, and then the adjusted audio data is output, so that the audio effect of the target audio data is more in line with the actual picture perception when the audio is output, and the audio listening experience and immersion are improved, and the problem of low listening experience and immersion of the audio experience in the live broadcast and microphone connection scene is solved, and it is ensured as much as possible that the audience has a clearer sense of direction when listening to the sound of each microphone, so as to achieve a better dynamic spatial audio effect.

[0044] Optionally, different spatial audio coordinates are associated with different spatial audio parameters, and the audio effect of the same target audio data is adjusted by using different spatial audio parameters, so that the same target audio data can have different spatial audio effects, that is, different three-dimensional stereoscopic spatial sound effects are simulated. Optionally, the target audio data is adjusted using the target spatial audio coordinates, and the audio is output through the target microphone position in the live broadcast room according to the adjusted audio data.

[0045] As an optional but non-limiting implementation, adjusting the target audio data corresponding to the target microphone position by using the target spatial audio coordinates may include steps A1-A2:

[0046] Step A1: Based on the target spatial audio coordinates corresponding to the target microphone position, the original spatial audio coordinates used by the target microphone position are adjusted and updated.

[0047] Step A2: adjusting the target audio data using the spatial audio coordinates used by the adjusted and updated target microphone position.

[0048] For the microphone positions in the live broadcast room, each microphone position corresponds to a preset spatial audio coordinate adjustment interface. By calling the preset spatial audio coordinate adjustment interface, the original spatial audio coordinates used by the target microphone position are adjusted in real time and dynamically to ensure that the spatial audio coordinates to be used by the microphone position can be adjusted as the sound source position of the audio data corresponding to the microphone position changes, that is, it is adjusted as the corresponding sound position changes when the audio data is emitted.

[0049] After updating and adjusting the spatial audio coordinates to be used by the target microphone, the updated spatial audio coordinates can be used to make real-time adjustments to the audio effect of the target audio data of the target microphone, so that the target audio data of the target microphone in the live broadcast room can be dynamically adjusted as the sound position of the target audio data of the target microphone changes.

[0050] Optionally, when the target sound source position of the target audio data is detected and no target spatial audio coordinates corresponding to the target microphone position are obtained, default spatial audio coordinates pre-associated with the target microphone position may be used as the target spatial audio coordinates corresponding to the target microphone position.

[0051] The technical solution of the disclosed embodiment detects the sound source position corresponding to the target audio data of the target microphone in the live broadcast room, and matches the target microphone with suitable target spatial audio coordinates based on the detected sound source position of the target audio data of the target microphone. The target spatial audio coordinates can simulate the three-dimensional spatial sound effect to adjust the target audio data of the target microphone in real time, so that the target audio data of the target microphone in the live broadcast room has a spatial audio effect, thereby solving the problem of low listening sense and immersion of the audio experience in the live broadcast and microphone connection scene, and ensuring as much as possible that the audience has a clearer sense of direction when listening to the sound of each microphone from the perspective of the audience, thereby achieving a better dynamic spatial audio effect.

[0052] Figure 2 The present disclosure provides a flowchart of another audio processing method. The technical solution of this embodiment further optimizes the process of detecting the target sound source position of the target audio data in the above embodiment on the basis of the above embodiment. This embodiment can be combined with various optional solutions in one or more of the above embodiments. Figure 2 As shown, the audio processing method of this embodiment may include the following process:

[0053] S210, determining the target part position of the target sound source object corresponding to the target audio data, where the target part position is the position of the target part of the target sound source object in the target picture, and the target picture is the image picture of the target sound source object corresponding to the sound corresponding to the target audio data when the target sound source object emits.

[0054] Among them, the target audio data is the audio data associated with the target microphone position in the live broadcast room, the target sound source position is used to describe the sound position when the target sound source object emits the sound corresponding to the target audio data, and the target sound source object is the sound source object corresponding to the target microphone position.

[0055] When the target sound source object emits a sound corresponding to the target audio data, an image screen including the target sound source object may be obtained as a target screen.

[0056] S220, determining the target sound source position of the target audio data according to the target part position.

[0057] Optionally, for the target part of the target sound source object, the position distribution of the sound part of the target sound source object on the entire target part (the sound part may be a part of the target part, and the target part includes the sound part) can be pre-stored. Combined with the position distribution of the sound part on the entire target part and the position of the target part, the position of the sound part of the target sound source object can be roughly estimated, and the estimated position of the sound part can be used as the target sound source position of the target audio data.

[0058] As an optional but non-limiting implementation, determining the target sound source position of the target audio data according to the target part position may include steps B1-B3:

[0059] Step B1, determining a target part image from a target picture according to the position of the target part.

[0060] Step B2: determining a center position of a reference side boundary of the target part image, where the reference side boundary is a preset side boundary of the target part image.

[0061] Step B3: determine the target sound source position of the target audio data based on the reference side boundary center position.

[0062] When the live broadcast room is connected to the microphone for interaction, the sound source objects corresponding to each microphone position are not fixed. That is, the sound source object may do some operations such as tilting the head when speaking, resulting in the determined target part positions being the position coordinates corresponding to the tilt of the head, rather than the target part positions determined from directly in front of the target part. As a result, the position of the sound part determined based on the target part position may be biased, which in turn causes the subsequent acquisition of erroneous spatial audio coordinates.

[0063] To this end, based on the position of the target part of the target sound source object in the target picture, a target part image that includes the entire target part of the target sound source object can be determined from the target picture. Furthermore, the lower side boundary of the target part image can be taken as the reference side boundary, and the center position of the reference side boundary can be taken as the position of the sound source part of the target sound source object, and the estimated position of the sound source part can be taken as the target sound source position of the target audio data.

[0064] S230. Determine the target spatial audio coordinates corresponding to the target microphone position according to the target sound source position, where the spatial audio coordinates are used to simulate a three-dimensional spatial sound effect.

[0065] As an optional but non-limiting implementation, determining the target spatial audio coordinates corresponding to the target microphone position according to the target sound source position may include steps C1-C2:

[0066] Step C1, determine the target relative position information of the target sound source position relative to the center of the target picture, the target relative position information includes the distance and / or angle from the target sound source position to the center of the target picture, and the target picture is an image picture obtained by capturing the target sound source object when the target sound source object emits a sound corresponding to the target audio data.

[0067] Step C2: determining the target spatial audio coordinates corresponding to the target microphone position according to the target relative position information, and the target spatial audio coordinates change with the adjustment of the target relative position.

[0068] According to the actual multi-person communication scenario, the audio generated at different positions has a certain correlation. If the target sound source position is detected and directly converted into the target spatial audio coordinates, the audio data of each microphone position will be greatly different from the actual multi-person scenario due to the lack of reference between the target sound source positions.

[0069] To this end, the target relative position information of the target sound source position relative to the target picture center can be calculated. The target relative position information includes the distance and / or angle from the target sound source position to the target picture center. The calculated target relative position information is then used to calculate the final spatial audio coordinates. In this way, different and relative spatial audio coordinates can be assigned based on the relative situation of the sound source position to the center of the picture, which is more in line with the relative position of each sound source object in an actual multi-person scene.

[0070] As an optional but non-limiting implementation, determining the target spatial audio coordinates corresponding to the target microphone position according to the target sound source position may include steps D1-D3:

[0071] Step D1, determining a target position difference of the target audio data, where the target position difference is determined based on a position difference between a target sound source position obtained by a current target sound source position detection operation and a target sound source position obtained by a previous target sound source position detection operation.

[0072] Step D2: If the target position difference does not meet the preset difference confidence condition, the target spatial audio coordinates corresponding to the target microphone position are determined according to the target sound source position.

[0073] Step D3: If the target position difference satisfies a preset difference confidence condition, the spatial audio coordinates originally used by the target audio data are determined as the target spatial audio coordinates corresponding to the target microphone position.

[0074] Each time the target spatial audio coordinates corresponding to the target microphone position are detected, not every detected spatial audio coordinates are very different from the previous detection. If the new target spatial audio coordinates are used to adjust the target audio data when the difference is not big, it will be found that the audio effect after adjusting the audio data using the two target spatial audio parameters will not change significantly. In other words, it is acceptable to use the original target spatial audio coordinates.

[0075] However, when the difference is not big, if you use the new target spatial audio coordinates and call the preset spatial audio adjustment interface or use the preset spatial audio adjustment information stream to reset the spatial audio coordinates to be used by the target microphone position, there will be a considerable setup overhead. It can be seen that frequently calling the interface to update the spatial audio coordinates will cause a large performance overhead.

[0076] To this end, this case sets a preset difference confidence condition, which is based on the target position difference between the target sound source position obtained by the current target sound source position detection operation and the target sound source position obtained by the previous adjacent target sound source position detection operation, so as to use the target position difference to detect whether the same or similar sound effects are produced after the two spatial audio coordinates are adjusted for the same audio data.

[0077] If the target position difference is greater than or equal to the confidence λ corresponding to the preset difference confidence condition, it means that the sound effects that can be produced by the current target spatial audio coordinates and the previous target spatial audio coordinates for the same audio data have changed significantly. At this time, the target spatial audio coordinates corresponding to the target microphone position can be determined based on the target sound source position, and the spatial audio parameters to be used by the target microphone position can be reconfigured.

[0078] If the target position difference is less than the confidence λ corresponding to the preset difference confidence condition, it means that the sound effect change that can be produced by the current target spatial audio coordinates and the previous target spatial audio coordinates for the same audio data is not very obvious. Even if the interface is called to change the spatial audio coordinates, the actual effect cannot be clearly distinguished from the audience's hearing, which is an invalid change. Therefore, this spatial audio change is discarded and the spatial audio coordinates originally used by the target audio data remain unchanged.

[0079] By adopting the above method, it is possible to determine whether it is necessary to reconfigure the spatial audio coordinates used by the target microphone position based on whether the audio effect change after the audio data adjustment is obvious according to the two target spatial audio parameters obtained from the two previous and subsequent detections, thereby reducing performance overhead.

[0080] S240: Use the target spatial audio coordinates to adjust and output the target audio data corresponding to the target microphone position.

[0081] The technical solution of the disclosed embodiment detects the sound source position corresponding to the target audio data of the target microphone in the live broadcast room, and matches the target microphone with suitable target spatial audio coordinates based on the detected sound source position of the target audio data of the target microphone. The target spatial audio coordinates can simulate the three-dimensional spatial sound effect to adjust the target audio data of the target microphone in real time, so that the target audio data of the target microphone in the live broadcast room has a spatial audio effect, thereby solving the problem of low listening sense and immersion of the audio experience in the live broadcast and microphone connection scene, and ensuring as much as possible that the audience has a clearer sense of direction when listening to the sound of each microphone from the perspective of the audience, thereby achieving a better dynamic spatial audio effect.

[0082] Figure 3The present disclosure provides another flow chart of an audio processing method. The technical solution of this embodiment further optimizes the process of detecting the target sound source position of the target audio data in the above embodiment. This embodiment can be combined with various optional solutions in one or more of the above embodiments. Figure 3 As shown, the audio processing method of this embodiment may include the following process:

[0083] S310: Determine a reference detection time interval used when performing a target sound source position detection operation.

[0084] S320, detecting the target sound source position of the target audio data according to a reference detection time interval, where the reference detection time interval is used to make the time interval between two adjacent target sound source position detection operations greater than a preset time length.

[0085] Among them, the target audio data is the audio data associated with the target microphone position in the live broadcast room, the target sound source position is used to describe the sound position when the target sound source object emits the sound corresponding to the target audio data, and the target sound source object is the sound source object corresponding to the target microphone position.

[0086] Although some of the aforementioned solutions mentioned that the detection efficiency of the sound source position is improved by optimizing the detection process of the sound source position of the audio data, the overhead of real-time sound source position detection is still relatively large compared to a real-time live broadcast, and frequent detection may cause device freezes. To this end, a dynamically adjustable reference detection time interval t(s) can be set, and the target sound source position detection of the target audio data needs to be periodically performed according to the interval duration indicated by the reference detection time interval, so that the time interval between the current target sound source position detection operation and the previous target sound source position detection operation that is located before the current target sound source position detection operation in time is greater than the preset duration.

[0087] Optionally, it is detected whether the time difference between the start time of the current target sound source position detection operation and the start time of the previous target sound source position detection operation exceeds a reference detection time interval; if it is detected that the time difference exceeds the reference detection time interval, a sound source position detection operation is performed on the target audio data of the target microphone position in the live broadcast room; if it is detected that the time difference does not exceed the reference detection time interval, the sound source position detection operation is not performed on the target audio data of the target microphone position in the live broadcast room.

[0088] By adopting the above scheme, the sound source position detection operation can be performed intermittently by setting an appropriate reference detection time interval, and the detection frequency of the sound source position can be appropriately reduced to avoid device freezes caused by high detection frequency as much as possible. At the same time, it can also reduce the delay in the device detection process caused by high detection frequency.

[0089] As an optional but non-limiting implementation, determining a reference detection time interval used when performing a sound source location detection operation may include steps E1-E3:

[0090] Step E1: determining the target detection time consumption when performing the target sound source position detection operation on the target audio data.

[0091] Step E2: If the target detection time is greater than or equal to the preset time threshold, the reference detection time interval is adjusted from the first time interval to the second time interval, and the first time interval is smaller than the second time interval.

[0092] Step E3: If the target detection time is less than the preset time threshold, the reference detection time interval is adjusted from the third time interval to the fourth time interval, and the third time interval is greater than the fourth time interval.

[0093] The device performance of the device end that performs the target sound source position detection is not static. The device performance may become smaller or higher during the detection process. Therefore, the reference detection time interval used for the interval target sound source position detection can be dynamically adjusted. The duration corresponding to the reference detection time interval can be dynamically adjusted as the device performance of the device end that performs the target sound source position detection changes.

[0094] Optionally, when the device performance of the device end performing the target sound source position detection becomes higher, the duration corresponding to the reference detection time interval can be reduced, indicating that the device end can appropriately increase the detection frequency; when the device performance of the device end performing the target sound source position detection becomes lower, the duration corresponding to the reference detection time interval can be increased, indicating that the device end can appropriately reduce the detection frequency.

[0095] The device performance of the device end performing the target sound source position detection can be described by the detection time required to perform the target sound source position detection operation on the target audio data. The target detection time can be determined based on the device performance performing the target sound source position detection operation, and the target detection time is negatively correlated with the device performance.

[0096] If the target detection time is greater than or equal to the preset time threshold, the reference detection time interval is increased from the first time interval to the second time interval, and the time interval between two adjacent target sound source position detections is increased. The detection frequency is reduced as much as possible when the performance of the device is weak, to avoid the increase in device temperature due to maintaining the original detection frequency, which in turn causes the device to reduce its frequency, resulting in a higher delay in the detection process.

[0097] If the target detection time is less than the preset time threshold, the reference detection time interval is adjusted from the third time interval to the fourth time interval, reducing the time interval between two adjacent target sound source position detections, and increasing the detection frequency as much as possible when the performance of the device is strong, to avoid wasting time due to maintaining the original detection frequency, which will affect the detection efficiency.

[0098] The above optional scheme can reduce the sampling rate of detection while ensuring the best spatial audio experience. The idea of ​​game theory is used to balance the losses between the two. An initial preset time threshold and reference detection time interval are given. If the detection time is greater than the preset time threshold, the reference detection time interval will be appropriately increased, otherwise it will be reduced.

[0099] Optionally, the reference detection time interval is adjusted according to a preset step size, and the target detection time is determined based on the performance of a device that performs the target sound source position detection operation, and the target detection time is negatively correlated with the device performance.

[0100] Given a preset time threshold, when the target detection time is less than the preset time threshold, it means that the performance of the device is good, and the reference detection time interval can be appropriately reduced by one step; when the target detection time is greater than the preset time threshold, it means that the performance of the device is poor. In order to ensure a stable live broadcast room experience, the reference detection time interval can be increased by one step.

[0101] As an optional but non-limiting implementation, determining a reference detection time interval used when performing a sound source location detection operation may include steps F1-F3:

[0102] Step F1, determining the device end temperature when performing a target sound source position detection operation on target audio data.

[0103] Step F2: If the temperature at the device end is lower than the preset temperature threshold, the reference detection time interval is adjusted from the first time interval to the second time interval, and the first time interval is lower than the second time interval.

[0104] Step F3: If the temperature at the device end is greater than or equal to the preset temperature threshold, the reference detection time interval is adjusted from the third time interval to the fourth time interval, and the third time interval is greater than the fourth time interval.

[0105] The device performance of the device end performing the target sound source position detection can be described by the device end temperature used when performing the target sound source position detection operation on the target audio data. The device end temperature can be determined based on the device performance performing the target sound source position detection operation, and the device end temperature is positively correlated with the device performance. When the device end performance decreases, the device end temperature will gradually increase; when the device end performance increases, the device end temperature will decrease.

[0106] S330. Determine the target spatial audio coordinates corresponding to the target microphone position according to the target sound source position, where the spatial audio coordinates are used to simulate a three-dimensional spatial sound effect.

[0107] S340: Use the target spatial audio coordinates to adjust and output the target audio data corresponding to the target microphone position.

[0108] As an optional but non-limiting implementation, when determining the target spatial audio coordinates corresponding to the target microphone position according to the target sound source position, the following steps F1-F2 are also included:

[0109] Step F1, receiving the reference spatial audio coordinates corresponding to the reference microphone position, the reference microphone position and the target microphone position belong to the same live broadcast room, the reference spatial audio coordinates are determined based on the reference sound source position, the reference sound source position is used to describe the sound position when the reference sound source object corresponding to the reference audio data emits the sound corresponding to the reference audio data, the reference audio data is the audio data associated with the reference microphone position in the live broadcast room, the reference sound source object is the sound source object corresponding to the reference microphone position, the target sound source position is detected at the device end corresponding to the target microphone position, the reference sound source position is detected at the device end corresponding to the reference microphone position, and the reference microphone position and the target microphone position correspond to different device ends.

[0110] Step F2: adjusting the reference audio data using the reference space audio coordinates, and outputting the audio through the reference microphone position in the live broadcast room according to the adjusted audio data.

[0111] The device end corresponding to the target microphone position in the live broadcast room and the device end corresponding to the reference microphone position in the live broadcast room belong to different device ends. If the processing logic of the audio data of the target microphone position and the reference microphone position is all placed on the device end corresponding to the target microphone position, it may cause greater pressure on the device end corresponding to the target microphone position. For example, if the target microphone position is the microphone position on the host side and the reference microphone position is the microphone position on the guest side, if the audio processing logic is all handed over to the device on the host side for processing, it will cause greater pressure on the host side, which may cause problems such as heating and freezing of the device.

[0112] Based on the above situation, the detection processing of the target audio data corresponding to the target microphone position and the detection processing of the reference audio data corresponding to the reference microphone position can be processed separately. In other words, the detection operation of the target sound source position of the target audio data can be placed on the device end corresponding to the target microphone position, and the detection operation of the reference sound source position of the reference audio data can be placed on the device end corresponding to the reference microphone position.

[0113] For the device corresponding to the target microphone position, it only needs to call the preset spatial audio adjustment interface to receive the reference spatial audio coordinates obtained by the device corresponding to the reference microphone position performing the reference sound source position detection operation of the reference audio data. The device corresponding to the target microphone position will not perform the reference sound source position detection operation of the reference audio data, but will be performed by the device corresponding to the reference microphone position. By performing the sound source position detection operations of the audio data corresponding to different microphone positions in the same live broadcast room separately on the device corresponding to each microphone position, the sudden increase in equipment overhead caused by concentrating on one device can be reduced.

[0114] The technical solution of the disclosed embodiment detects the sound source position corresponding to the target audio data of the target microphone in the live broadcast room, and matches the target microphone with suitable target spatial audio coordinates according to the detected sound source position of the target audio data of the target microphone, and uses the function of the target spatial audio coordinates to simulate the three-dimensional spatial sound effect to adjust the target audio data of the target microphone in real time, so that the target audio data of the target microphone in the live broadcast room has a spatial audio effect, solves the problem of low listening sense and immersion of the audio experience in the live broadcast and connected microphone scene, and ensures as much as possible that the audience has a clearer sense of direction when listening to the sound of each microphone, and achieves better dynamic spatial audio effect. It can be seen that this solution can get rid of the limitation of the microphone position, so that the audio of the connected microphone can produce different sound effects from left to right and from top to bottom.

[0115] Figure 4 This is a structural schematic diagram of an audio processing device provided in an embodiment of the present disclosure. The embodiment of the present disclosure is applicable to the situation where the audio data of each microphone position is adjusted when a live broadcast room is connected to the microphone. The device can be implemented in the form of software and / or hardware. Optionally, it can be implemented by being configured on any electronic device with a network communication function, which can be a mobile terminal, a PC or a server, etc.

[0116] like Figure 4 As shown, the audio processing device of this embodiment includes: a position detection module 410 , an audio determination module 420 and an audio processing module 430 .

[0117] A position detection module 410 is used to detect a target sound source position of target audio data, wherein the target audio data is audio data associated with a target microphone position in a live broadcast room, wherein the target sound source position is used to describe a sound source position when a target sound source object emits a sound corresponding to the target audio data, wherein the target sound source object is a sound source object corresponding to the target microphone position;

[0118] An audio determination module 420, configured to determine the target spatial audio coordinates corresponding to the target microphone position according to the target sound source position;

[0119] The audio processing module 430 is used to adjust and output the target audio data corresponding to the target microphone position using the target spatial audio coordinates.

[0120] Based on the above embodiment, optionally, the detecting a target sound source position of the target audio data includes:

[0121] Determine a target part position of a target sound source object corresponding to the target audio data, wherein the target part position is a position of a target part of the target sound source object in a target picture, wherein the target picture is an image picture of the target sound source object corresponding to the sound corresponding to the target audio data emitted by the target sound source object;

[0122] The target sound source position of the target audio data is determined according to the target part position.

[0123] Based on the above embodiment, optionally, determining the target sound source position of the target audio data according to the target part position includes:

[0124] Determining a target part image from the target picture according to the target part position;

[0125] Determine a center position of a reference side boundary of the target part image, wherein the reference side boundary is a preset side boundary of the target part image;

[0126] The target sound source position of the target audio data is determined according to the reference side boundary center position.

[0127] Based on the above embodiment, optionally, determining the target spatial audio coordinates corresponding to the target microphone position according to the target sound source position includes:

[0128] Determine target relative position information of the target sound source position relative to the center of a target picture, wherein the target relative position information includes a distance and / or an angle from the target sound source position to the center of a target picture, wherein the target picture is an image picture obtained by capturing an image of the target sound source object when the target sound source object emits a sound corresponding to the target audio data;

[0129] The target spatial audio coordinates corresponding to the target microphone position are determined according to the target relative position information, and the target spatial audio coordinates change with the adjustment of the target relative position.

[0130] Based on the above embodiment, optionally, determining the target spatial audio coordinates corresponding to the target microphone position according to the target sound source position includes:

[0131] Determine a target position difference of the target audio data, wherein the target position difference is determined based on a position difference between a target sound source position obtained by a current target sound source position detection operation and a target sound source position obtained by a previous target sound source position detection operation;

[0132] If the target position difference does not meet the preset difference confidence condition, determining the target spatial audio coordinates corresponding to the target microphone position according to the target sound source position;

[0133] If the target position difference satisfies a preset difference confidence condition, the spatial audio coordinates originally used by the target audio data are determined as the target spatial audio coordinates corresponding to the target microphone position.

[0134] Based on the above embodiment, optionally, the detecting a target sound source position of the target audio data includes:

[0135] Determining a reference detection time interval used when performing a target sound source location detection operation;

[0136] The target sound source position of the target audio data is detected according to a reference detection time interval, wherein the reference detection time interval is used to make the time interval between two adjacent target sound source position detection operations in time greater than a preset time length.

[0137] Based on the above embodiment, optionally, determining a reference detection time interval used when performing the sound source position detection operation includes:

[0138] Determine the target detection time when performing a target sound source position detection operation on the target audio data;

[0139] If the target detection time is greater than or equal to a preset time threshold, adjusting the reference detection time interval from a first time interval to a second time interval, the first time interval being less than the second time interval;

[0140] If the target detection time is less than a preset time threshold, the reference detection time interval is adjusted from a third time interval to a fourth time interval, and the third time interval is greater than the fourth time interval.

[0141] Based on the above embodiment, optionally, the reference detection time interval is adjusted according to a preset step size, the target detection time is determined based on the performance of the device performing the target sound source position detection operation, and the target detection time is negatively correlated with the performance of the device.

[0142] Based on the above embodiment, optionally, when determining the target spatial audio coordinates corresponding to the target microphone position according to the target sound source position, the method further includes:

[0143] Receive reference spatial audio coordinates corresponding to a reference microphone position, the reference microphone position and the target microphone position belong to the same live broadcast room, the reference spatial audio coordinates are determined based on a reference sound source position, the reference sound source position is used to describe the sound position when a reference sound source object corresponding to the reference audio data emits a sound corresponding to the reference audio data, the reference audio data is audio data associated with the reference microphone position in the live broadcast room, the reference sound source object is a sound source object corresponding to the reference microphone position, the target sound source position is detected at a device end corresponding to the target microphone position, the reference sound source position is detected at a device end corresponding to the reference microphone position, and the reference microphone position and the target microphone position correspond to different device ends;

[0144] The reference audio data is adjusted using the reference spatial audio coordinates, and audio output is performed through a reference microphone position in a live broadcast room according to the adjusted audio data.

[0145] Based on the above embodiment, optionally, the step of adjusting the target audio data corresponding to the target microphone position by using the target spatial audio coordinates includes:

[0146] Based on the target spatial audio coordinates corresponding to the target microphone position, adjusting and updating the original spatial audio coordinates used by the target microphone position;

[0147] The target audio data is adjusted using the spatial audio coordinates used by the target microphone position after adjustment and update.

[0148] The technical solution provided by the disclosed embodiment detects the sound source position corresponding to the target audio data of the target microphone in the live broadcast room, and matches the target microphone with suitable target spatial audio coordinates according to the detected sound source position of the target audio data of the target microphone, and uses the function of the target spatial audio coordinates to simulate the three-dimensional spatial sound effect to adjust the target audio data of the target microphone in real time, so that the target audio data of the target microphone in the live broadcast room has a spatial audio effect, solves the problem of low listening sense and immersion of the audio experience in the live broadcast and connected microphone scene, and ensures as much as possible that the audience has a clearer sense of direction when listening to the sound of each microphone, and achieves better dynamic spatial audio effect. It can be seen that this solution can get rid of the limitation of the microphone position, so that the audio of the connected microphone can produce different sound effects from left to right and from top to bottom.

[0149] The audio processing device provided in the embodiments of the present disclosure can execute the audio processing method provided in any embodiment of the present disclosure, and has the corresponding functional modules and beneficial effects of the execution method.

[0150] It is worth noting that the various units and modules included in the above-mentioned device are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the protection scope of the embodiments of the present disclosure.

[0151] Figure 5 This is a schematic diagram of the structure of an electronic device provided by an embodiment of the present disclosure. Figure 5 , which shows an electronic device (eg, Figure 5 The terminal device in the embodiment of the present disclosure may include but is not limited to mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 5 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0152] like Figure 5As shown, the electronic device 500 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 501, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 502 or a program loaded from a storage device 508 into a random access memory (RAM) 503. In the RAM 503, various programs and data required for the operation of the electronic device 500 are also stored. The processing device 501, the ROM 502, and the RAM 503 are connected to each other via a bus 504. An edit / output (I / O) interface 505 is also connected to the bus 504.

[0153] Typically, the following devices may be connected to the I / O interface 505: an input device 506 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 507 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 508 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 509. The communication device 509 may allow the electronic device 500 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 5 The electronic device 500 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.

[0154] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device 509, or installed from a storage device 508, or installed from a ROM 502. When the computer program is executed by the processing device 501, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.

[0155] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.

[0156] The electronic device provided in the embodiment of the present disclosure and the audio processing method provided in the above embodiment belong to the same inventive concept. For technical details not fully described in this embodiment, reference can be made to the above embodiment, and this embodiment has the same beneficial effects as the above embodiment.

[0157] The embodiments of the present disclosure provide a computer storage medium on which a computer program is stored. When the program is executed by a processor, the audio processing method provided by the above embodiments is implemented.

[0158] It should be noted that the computer-readable medium disclosed above may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.

[0159] In some embodiments, the client and the server may communicate using any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.

[0160] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.

[0161] The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device:

[0162] The above-mentioned computer-readable medium carries one or more programs. When the above-mentioned one or more programs are executed by the electronic device, the electronic device: detects the target sound source position of the target audio data, the target audio data is the audio data associated with the target microphone position in the live broadcast room, the target sound source position is used to describe the sound position when the target sound source object emits the sound corresponding to the target audio data, and the target sound source object is the sound source object corresponding to the target microphone position; determines the target spatial audio coordinates corresponding to the target microphone position based on the target sound source position, and the spatial audio coordinates are used to simulate three-dimensional spatial sound effects; uses the target spatial audio coordinates to adjust and output the target audio data corresponding to the target microphone position.

[0163] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages ​​or a combination thereof, including, but not limited to, object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).

[0164] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0165] The units involved in the embodiments described in the present disclosure may be implemented by software or hardware. The name of a unit does not limit the unit itself in some cases. For example, the first acquisition unit may also be described as a "unit for acquiring at least two Internet Protocol addresses".

[0166] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.

[0167] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0168] According to one or more embodiments of the present disclosure, Example 1 provides an audio processing method, including:

[0169] Detecting a target sound source position of target audio data, wherein the target audio data is audio data associated with a target microphone position in a live broadcast room, wherein the target sound source position is used to describe a sound source position when a target sound source object emits a sound corresponding to the target audio data, and the target sound source object is a sound source object corresponding to the target microphone position;

[0170] Determining target spatial audio coordinates corresponding to the target microphone position according to the target sound source position, wherein the spatial audio coordinates are used to simulate a three-dimensional spatial sound effect;

[0171] The target audio data corresponding to the target microphone position is adjusted and outputted using the target spatial audio coordinates.

[0172] According to one or more embodiments of the present disclosure, Example 2 is a method according to Example 1, wherein detecting a target sound source position of target audio data includes:

[0173] Determine a target part position of a target sound source object corresponding to the target audio data, wherein the target part position is a position of a target part of the target sound source object in a target picture, wherein the target picture is an image picture of the target sound source object corresponding to the sound corresponding to the target audio data emitted by the target sound source object;

[0174] The target sound source position of the target audio data is determined according to the target part position.

[0175] According to one or more embodiments of the present disclosure, Example 3 determines the target sound source position of the target audio data according to the target part position according to the method described in Example 2, including:

[0176] Determining a target part image from the target picture according to the target part position;

[0177] Determine a center position of a reference side boundary of the target part image, wherein the reference side boundary is a preset side boundary of the target part image;

[0178] The target sound source position of the target audio data is determined according to the reference side boundary center position.

[0179] According to one or more embodiments of the present disclosure, Example 4 is the method according to Example 1, wherein determining the target spatial audio coordinates corresponding to the target microphone position according to the target sound source position includes:

[0180] Determine target relative position information of the target sound source position relative to the center of a target picture, wherein the target relative position information includes a distance and / or an angle from the target sound source position to the center of a target picture, wherein the target picture is an image picture obtained by capturing an image of the target sound source object when the target sound source object emits a sound corresponding to the target audio data;

[0181] The target spatial audio coordinates corresponding to the target microphone position are determined according to the target relative position information, and the target spatial audio coordinates change with the adjustment of the target relative position.

[0182] According to one or more embodiments of the present disclosure, Example 5 is the method according to Example 1, wherein determining the target spatial audio coordinates corresponding to the target microphone position according to the target sound source position includes:

[0183] Determine a target position difference of the target audio data, wherein the target position difference is determined based on a position difference between a target sound source position obtained by a current target sound source position detection operation and a target sound source position obtained by a previous target sound source position detection operation;

[0184] If the target position difference does not meet the preset difference confidence condition, determining the target spatial audio coordinates corresponding to the target microphone position according to the target sound source position;

[0185] If the target position difference satisfies a preset difference confidence condition, the spatial audio coordinates originally used by the target audio data are determined as the target spatial audio coordinates corresponding to the target microphone position.

[0186] According to one or more embodiments of the present disclosure, Example 6 is a method according to any one of Examples 1 to 5, wherein the step of detecting a target sound source position of the target audio data includes:

[0187] Determining a reference detection time interval used when performing a target sound source location detection operation;

[0188] The target sound source position of the target audio data is detected according to a reference detection time interval, wherein the reference detection time interval is used to make the time interval between two adjacent target sound source position detection operations in time greater than a preset time length.

[0189] According to one or more embodiments of the present disclosure, Example 7 is the method according to Example 6, wherein determining a reference detection time interval used when performing a sound source location detection operation includes:

[0190] Determine the target detection time when performing a target sound source position detection operation on the target audio data;

[0191] If the target detection time is greater than or equal to a preset time threshold, adjusting the reference detection time interval from a first time interval to a second time interval, the first time interval being less than the second time interval;

[0192] If the target detection time is less than a preset time threshold, the reference detection time interval is adjusted from a third time interval to a fourth time interval, and the third time interval is greater than the fourth time interval.

[0193] According to one or more embodiments of the present disclosure, Example 8 is based on the method described in Example 7, wherein the reference detection time interval is adjusted according to a preset step size, the target detection time is determined based on the performance of a device that performs a target sound source position detection operation, and the target detection time is negatively correlated with the performance of the device.

[0194] According to one or more embodiments of the present disclosure, Example 9 is the method according to Example 1, wherein when determining the target spatial audio coordinates corresponding to the target microphone position according to the target sound source position, the method further includes:

[0195] Receive reference spatial audio coordinates corresponding to a reference microphone position, the reference microphone position and the target microphone position belong to the same live broadcast room, the reference spatial audio coordinates are determined based on a reference sound source position, the reference sound source position is used to describe the sound position when a reference sound source object corresponding to the reference audio data emits a sound corresponding to the reference audio data, the reference audio data is audio data associated with the reference microphone position in the live broadcast room, the reference sound source object is a sound source object corresponding to the reference microphone position, the target sound source position is detected at a device end corresponding to the target microphone position, the reference sound source position is detected at a device end corresponding to the reference microphone position, and the reference microphone position and the target microphone position correspond to different device ends;

[0196] The reference audio data is adjusted using the reference spatial audio coordinates, and audio output is performed through a reference microphone position in a live broadcast room according to the adjusted audio data.

[0197] According to one or more embodiments of the present disclosure, Example 10 is the method according to Example 1, wherein the step of adjusting the target audio data corresponding to the target microphone position by using the target spatial audio coordinates includes:

[0198] Based on the target spatial audio coordinates corresponding to the target microphone position, adjusting and updating the original spatial audio coordinates used by the target microphone position;

[0199] The target audio data is adjusted using the spatial audio coordinates used by the target microphone position after adjustment and update.

[0200] According to one or more embodiments of the present disclosure, Example 11 provides an audio processing device, including:

[0201] A position detection module, used to detect a target sound source position of target audio data, wherein the target audio data is audio data associated with a target microphone position in a live broadcast room, wherein the target sound source position is used to describe a sound source position when a target sound source object emits a sound corresponding to the target audio data, wherein the target sound source object is a sound source object corresponding to the target microphone position;

[0202] An audio determination module, used to determine the target spatial audio coordinates corresponding to the target microphone position according to the target sound source position;

[0203] The audio processing module is used to adjust and output the target audio data corresponding to the target microphone position using the target spatial audio coordinates.

[0204] According to one or more embodiments of the present disclosure, Example 12 provides an electronic device, the electronic device comprising:

[0205] one or more processors;

[0206] a storage device for storing one or more programs,

[0207] When the one or more programs are executed by the one or more processors, the one or more processors implement the audio processing method as described in any one of Examples 1-10.

[0208] According to one or more embodiments of the present disclosure, Example 13 provides a storage medium containing computer executable instructions, which are used to perform the audio processing method described in any one of Examples 1-10 when executed by a computer processor.

[0209] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present disclosure (but not limited to) by each other to form a technical solution.

[0210] In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.

[0211] Although the subject matter has been described in language specific to structural features and / or methodological logical actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims.

Claims

1. An audio processing method, characterized in that: include: Detecting a target sound source position of target audio data; Determining the target spatial audio coordinates corresponding to the target microphone position according to the target sound source position; The target audio data corresponding to the target microphone position is adjusted and outputted using the target spatial audio coordinates.

2. The method according to claim 1, characterized in that The target audio data is audio data associated with a target microphone position in a live broadcast room, the target sound source position is the position of a target sound source object corresponding to the target audio data, and the target sound source object is a sound source object corresponding to the target microphone position.

3. The method according to claim 1, characterized in that The detecting the target sound source position of the target audio data comprises: Determine a target part position of a target sound source object corresponding to the target audio data; The target sound source position of the target audio data is determined according to the target part position.

4. The method according to claim 3, characterized in that The step of determining the target sound source position of the target audio data according to the target part position includes: Determining a target part image from the target picture according to the target part position, wherein the target part position is the position of the target part of the target sound source object in the target picture, and the target picture is an image picture including the target sound source object; Determine a center position of a reference side boundary of the target part image, wherein the reference side boundary is a preset side boundary of the target part image; The target sound source position of the target audio data is determined according to the reference side boundary center position.

5. The method according to claim 1, characterized in that The step of determining the target spatial audio coordinates corresponding to the target microphone position according to the target sound source position includes: Determine target relative position information of the target sound source position relative to the center of a target picture, wherein the target relative position information includes a distance and / or an angle from the target sound source position to the center of a target picture, wherein the target picture is an image picture including the target sound source object; The target spatial audio coordinates corresponding to the target microphone position are determined according to the target relative position information, and the target spatial audio coordinates change with the adjustment of the target relative position.

6. The method according to claim 1, characterized in that The step of determining the target spatial audio coordinates corresponding to the target microphone position according to the target sound source position includes: Determine a target position difference of the target audio data, wherein the target position difference is determined based on a position difference between a target sound source position obtained by a current target sound source position detection operation and a target sound source position obtained by a previous target sound source position detection operation; If the target position difference does not meet the preset difference confidence condition, determining the target spatial audio coordinates corresponding to the target microphone position according to the target sound source position; If the target position difference satisfies a preset difference confidence condition, the spatial audio coordinates originally used by the target audio data are determined as the target spatial audio coordinates corresponding to the target microphone position.

7. The method according to any one of claims 1 to 6, characterized in that: The detecting the target sound source position of the target audio data comprises: Determining a reference detection time interval used when performing a target sound source location detection operation; The target sound source position of the target audio data is detected according to a reference detection time interval, wherein the reference detection time interval is used to make the time interval between two adjacent target sound source position detection operations in time greater than a preset time length.

8. The method according to claim 7, characterized in that The step of determining a reference detection time interval used when performing a sound source location detection operation comprises: Determine the target detection time when performing a target sound source position detection operation on the target audio data; If the target detection time is greater than or equal to a preset time threshold, adjusting the reference detection time interval from a first time interval to a second time interval, the first time interval being less than the second time interval; If the target detection time is less than a preset time threshold, the reference detection time interval is adjusted from a third time interval to a fourth time interval, and the third time interval is greater than the fourth time interval.

9. The method according to claim 8, characterized in that The reference detection time interval is adjusted according to a preset step size when adjusting, the target detection time is determined based on the performance of a device that performs a target sound source position detection operation, and the target detection time is negatively correlated with the performance of the device.

10. The method according to claim 1, characterized in that When determining the target spatial audio coordinates corresponding to the target microphone position according to the target sound source position, it also includes: receiving a reference spatial audio coordinate corresponding to a reference microphone position, wherein the reference microphone position and the target microphone position belong to the same live broadcast room, and the reference spatial audio coordinate is determined based on a reference sound source position; The reference audio data is adjusted using the reference spatial audio coordinates, and audio output is performed through a reference microphone position in a live broadcast room according to the adjusted audio data.

11. The method according to claim 10, characterized in that The reference sound source position is the position of the reference sound source object corresponding to the reference audio data, the reference audio data is the audio data associated with the reference microphone position in the live broadcast room, and the reference sound source object is the sound source object corresponding to the reference microphone position.

12. An audio processing device, characterized in that: include: A position detection module, used to detect a target sound source position of target audio data, wherein the target audio data is audio data associated with a target microphone position in a live broadcast room, wherein the target sound source position is used to describe a sound source position when a target sound source object emits a sound corresponding to the target audio data, wherein the target sound source object is a sound source object corresponding to the target microphone position; An audio determination module, used to determine the target spatial audio coordinates corresponding to the target microphone position according to the target sound source position; The audio processing module is used to adjust and output the target audio data corresponding to the target microphone position using the target spatial audio coordinates.

13. An electronic device, characterized in that: The electronic device comprises: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the audio processing method as described in any one of claims 1-11.

14. A storage medium containing computer executable instructions, characterized in that: When the computer executable instructions are executed by a computer processor, they are used to perform the audio processing method according to any one of claims 1 to 11.