Audio processing method and device, equipment and storage medium
By obtaining progress information and playback delay from the second terminal on the first terminal, the problem of asynchronous playback delay in scenarios such as multi-person chorus singing is solved, achieving playback synchronization of terminal devices and improving user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-24
- Publication Date
- 2026-03-24
AI Technical Summary
In scenarios such as multi-person chorus, the different playback delays of different terminal devices cause asynchronous playback of the target music, which reduces the user experience.
By obtaining progress information and playback delay from the second terminal on the first terminal, the playback progress of the target music is determined based on this information, and then played synchronously on the first terminal.
It enables synchronized playback across different terminal devices, thus improving the user experience.
Smart Images

Figure CN121728271A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] Example embodiments of the present disclosure generally relate to the field of computers, and in particular, to a method, apparatus, device and computer-readable storage medium for audio processing. BACKGROUND
[0002] There is a playback delay when a terminal device plays audio. The playback delay of different terminal devices is different, and the playback delay of the same terminal device in different states is also different. In a multi-person chorus scene, for a target music, due to the different playback delays of the main singer side and the backup singer side, the playback progress of the target music is different, which reduces the user experience. SUMMARY
[0003] In a first aspect of the present disclosure, a method for audio processing is provided, comprising: obtaining, at a first terminal, progress information from a second terminal, the first terminal corresponding to a first participant of a live interactive event, the second terminal corresponding to a second participant of the live interactive event, the live interactive event being associated with a target music, the progress information indicating a first progress of the target music at the second terminal; determining a first playback delay of the first terminal playing the target music; determining a second progress of the target music based on the first progress and the first playback delay; and playing the target music at the first terminal based on the second progress. In a second aspect of the present disclosure, a method for audio processing is provided, comprising: obtaining, at a second terminal, a third progress of a target music being decoded at the second terminal and a second playback delay associated with the second terminal, the second terminal corresponding to a second participant of a live interactive event, the live interactive event being associated with a target music; determining a first progress of the second terminal playing the target music based on a difference between the third progress and the second playback delay; and sending progress information to a first terminal, the first terminal corresponding to a first participant of the live interactive event, the progress information indicating the first progress.
[0004] In a third aspect of the present disclosure, an apparatus for audio processing is provided, comprising: a first obtaining module configured to obtain, at a first terminal, progress information from a second terminal, the first terminal corresponding to a first participant of a live interactive event, the second terminal corresponding to a second participant of the live interactive event, the live interactive event being associated with target music, the progress information indicating a first progress of the target music at the second terminal; a first determining module configured to determine a first playback delay of the first terminal playing the target music; a second determining module configured to determine a second progress of the target music based on the first progress and the first playback delay; and a playing module configured to play the target music at the first terminal based on the second progress. In a fourth aspect of the present disclosure, an apparatus for audio processing is provided, comprising: a second obtaining module configured to obtain, at a second terminal, a third progress of target music being decoded at the second terminal and a second playback delay associated with the second terminal, the second terminal corresponding to a second participant of a live interactive event, the live interactive event being associated with target music; a third determining module configured to determine a first progress of the second terminal playing the target music based on a difference between the third progress and the second playback delay; and a sending module configured to send progress information to a first terminal, the first terminal corresponding to a first participant of the live interactive event, the progress information indicating the first progress.
[0005] In a fifth aspect of the present disclosure, an electronic device is provided, comprising: at least one processing unit; and at least one memory coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit, the instructions, when executed by the at least one processing unit, causing the terminal device to perform the method of the first aspect or the second aspect.
[0006] In a sixth aspect of the present disclosure, a computer readable storage medium is provided. The computer readable storage medium has stored thereon a computer program, the computer program being executable by a processor to implement the method of the first aspect or the second aspect.
[0007] In a seventh aspect of the present disclosure, a computer program product is provided, comprising computer executable instructions, wherein the computer executable instructions, when executed by a processor, implement the method of the first aspect or the second aspect.
[0008] It should be understood that the content described in this section is not intended to limit key or important features of the embodiments of the present disclosure, nor to limit the scope of the present disclosure. Other features of the present disclosure will become apparent from the following description. BRIEF DESCRIPTION OF DRAWINGS
[0009] The above and other features, advantages, and aspects of embodiments of the present disclosure will become more apparent by describing in detail exemplary embodiments thereof with reference to the attached drawings in which:
[0010] Figure 1 A schematic diagram showing an example environment in which embodiments of the present disclosure can be implemented is shown;
[0011] Figure 2 An example flow diagram showing a process for audio processing according to some embodiments of the present disclosure is shown;
[0012] Figure 3 A schematic diagram showing audio synchronization according to some embodiments of the present disclosure is shown;
[0013] Figure 4 Another example flow diagram showing a process for audio processing according to some embodiments of the present disclosure is shown;
[0014] Figure 5 A schematic structural block diagram showing one example of an apparatus for audio processing according to some embodiments of the present disclosure is shown;
[0015] Figure 6 A schematic structural block diagram showing another example of an apparatus for audio processing according to some embodiments of the present disclosure is shown; and
[0016] Figure 7 A block diagram showing an apparatus capable of implementing various embodiments of the present disclosure is shown. DETAILED DESCRIPTION
[0017] It can be understood that, before using the technical solutions disclosed in the embodiments of the present disclosure, the type of personal information involved in the present disclosure, the scope of use, the scenario of use, etc. should be informed to the user and the authorization of the user should be obtained in accordance with relevant laws and regulations.
[0018] For example, in response to receiving an active request of a user, a prompt information is sent to the user to explicitly prompt the user that the operation requested to be performed will need to obtain and use the personal information of the user. Thus, the user can autonomously select whether to provide the personal information to the electronic device, application program, server or storage medium, etc. software or hardware performing the operation of the technical solutions of the present disclosure according to the prompt information.
[0019] As an optional but non-limiting implementation, in response to a user's active request, sending a prompt message to the user can be done via a pop-up window, where the prompt message can be presented in text format. Furthermore, the pop-up window can also include a selection control allowing the user to choose "agree" or "disagree" to provide personal information to the electronic device.
[0020] It is understood that the above notification and user authorization process are merely illustrative and do not constitute a limitation on the implementation of this disclosure. Other methods that comply with relevant laws and regulations may also be applied to the implementation of this disclosure.
[0021] It is understood that the data involved in this technical solution (including but not limited to the data itself, the acquisition or use of the data) shall comply with the requirements of relevant laws, regulations and related provisions.
[0022] Embodiments of this disclosure will now be described in more detail with reference to the accompanying drawings. While some embodiments of this disclosure are shown in the drawings, it should be understood that this disclosure can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of this disclosure. It should be understood that the accompanying drawings and embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of protection of this disclosure.
[0023] It should be noted that the headings of any section / subsection provided herein are not limiting. Various embodiments are described throughout this document, and embodiments of any type may be included under any section / subsection. Furthermore, embodiments described in any section / subsection may be combined in any way with any other embodiments described in the same section / subsection and / or different sections / subsections.
[0024] In this document, unless explicitly stated otherwise, performing a step in response to A does not mean that the step is performed immediately after A, but may include one or more intermediate steps.
[0025] In the description of embodiments of this disclosure, the term "comprising" and similar terms should be understood as open-ended inclusion, i.e., "including but not limited to". The term "based on" should be understood as "at least partially based on". The term "one embodiment" or "the embodiment" should be understood as "at least one embodiment". The term "some embodiments" should be understood as "at least some embodiments". Other explicit and implicit definitions may also be included below. The terms "first", "second", etc., may refer to different or the same objects. Other explicit and implicit definitions may also be included below.
[0026] As briefly mentioned earlier, there will be a playback delay when a terminal device plays audio data (for example, there will be a certain time interval between writing audio data and the speaker playing the audio data). It should be understood that different terminal devices may have different playback delays when playing the same audio data due to device performance; the playback delay of the same terminal device may also be different when playing the same audio data under different conditions (such as device performance).
[0027] In scenarios where multiple terminal devices play the same audio data (e.g., the accompaniment to a song during a real-time chorus), the different playback delays of different terminal devices will cause the audio data to play at different speeds, thus reducing the user experience.
[0028] Embodiments of this disclosure propose a scheme for audio processing. According to various embodiments of this disclosure, at a first terminal, progress information is obtained from a second terminal, the progress information indicating a first progress of target music at the second terminal; based on the first progress and a first playback delay, a second progress of the target music is determined; based on the second progress, the target music is played at the first terminal. In this manner, playback synchronization of the target music can be achieved between the first and second terminals, reducing the impact of different playback delays on different devices and improving the user experience.
[0029] Figure 1 An example environment 100 in which embodiments of the present disclosure can be implemented is shown.
[0030] like Figure 1 As shown, environment 100 may include terminal devices 110-1, 110-2, ..., 110-N and server 120. For ease of discussion, terminal devices 110-1, 110-2, ..., 110-N may be collectively referred to as terminal device 110 or individually referred to as terminal device 110.
[0031] In environment 100, terminal device 110 may run an application that supports voice interaction. This application can be any suitable type of application for voice interaction, examples of which include, but are not limited to, video applications, social applications, live streaming applications, or other suitable applications. Users can perform activities related to live streaming based on this application. In some embodiments, activities related to live streaming can include initiating a live stream, participating in a live stream, and watching a live stream, etc. Users can interact with the application via terminal device 110 and / or its attached devices.
[0032] In environment 100, terminal device 110 can be any type of computing-capable device, including terminal devices or server devices. Terminal devices can be any type of mobile terminal, fixed terminal, or portable terminal, including mobile phones, desktop computers, laptop computers, notebook computers, netbook computers, tablet computers, media computers, multimedia tablets, personal communication system (PCS) devices, personal navigation devices, personal digital assistants (PDAs), audio / video players, digital cameras / camcorders, positioning devices, television receivers, radio receivers, e-book devices, gaming devices, or any combination of the foregoing, including accessories and peripherals of these devices or any combination thereof. Server devices may include, for example, computing systems / servers, such as mainframes, edge computing nodes, electronic devices in cloud environments, etc.
[0033] Server 120 can be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content delivery networks, and big data and artificial intelligence platforms. Server 120 may include, for example, computing systems / servers such as mainframes, edge computing nodes, computing devices in a cloud environment, etc. Server 120 can provide backend services for applications supporting voice interaction in terminal device 110.
[0034] A communication connection can be established between server 120 and terminal device 110, and a communication connection can also be established between terminal devices 110. The communication connection can be established via wired or wireless means. The communication connection can include, but is not limited to, Bluetooth connection, mobile network connection, Universal Serial Bus (USB) connection, Wireless Fidelity (WiFi) connection, etc., and the embodiments disclosed herein are not limited in this respect.
[0035] It should be understood that the structure and function of environment 100 are described for illustrative purposes only and do not imply any limitation on the scope of this disclosure.
[0036] The following description will continue with reference to the accompanying drawings, which will provide some exemplary embodiments of this disclosure.
[0037] Figure 2 A flowchart illustrating an example of an audio processing procedure 200 according to some embodiments of the present disclosure is shown. The following description will use the example of a terminal device performing the interaction procedure 200. Figure 1 This disclosure provides a detailed description of the audio processing solutions provided.
[0038] In box 210, the first terminal obtains progress information from the second terminal.
[0039] The first terminal and the second terminal can be terminal devices 110 that participate in the live interactive event. For example, the first terminal can be terminal device 110 corresponding to the first participant in the live interactive event, and the second terminal can be terminal device 110 corresponding to the second participant in the live interactive event.
[0040] In some embodiments, live interactive events are associated with target music. For example, a live interactive event could be a multi-person chorus, a multi-person poetry recitation, etc., and the associated target music could be the accompaniment of a song in a chorus, the background music for a poetry recitation, etc.
[0041] In some embodiments, the progress information indicates a first progress of the target music at the second terminal. In embodiments of this disclosure, the first progress may be the difference between a third progress of the target music at the second terminal (e.g., the progress of the second terminal decoding the target music) and a second playback delay. The second playback delay may be the delay between a reference signal and a acquired signal, whereby the reference signal may be a sound signal played by the speaker of the second terminal, and the acquired signal may be a sound signal acquired by the microphone of the second terminal.
[0042] In some embodiments, the second terminal may directly transmit the progress information to the first terminal, or the second terminal may send the progress information to the server 120, and the server 120 may send the progress information to the first terminal.
[0043] In box 220, the first terminal determines a first playback delay for playing the target music. The method for determining the first playback delay is the same as the method for determining the second playback delay, the difference being that the reference signal and the acquisition signal for determining the first playback delay can be provided by the first terminal.
[0044] In box 230, the first terminal determines a second progress of the target music based on the first progress and the first playback delay. In this embodiment of the disclosure, the second progress can be the progress of the first terminal in decoding the target music.
[0045] In some embodiments, the first terminal can obtain the transmission time of the progress information sent by the second terminal, determine the transmission delay of the progress information received by the first terminal based on the transmission time, and determine the second progress of the target music based on the first playback progress, the first playback delay, and the transmission delay. For example, the sum of the first progress, the first playback delay, and the transmission delay can be determined as the second progress of the target music.
[0046] In some embodiments, the difference between the reception time of the progress information received by the first terminal and the transmission time of the progress information sent by the second terminal can be used as the transmission delay. In some embodiments, the reception time and transmission time can be determined based on the Network Time Protocol (NTP).
[0047] In frame 240, the first terminal plays the target music based on the second progress.
[0048] The following example further illustrates the audio processing procedure 200 provided by the embodiments of this disclosure.
[0049] like Figure 3 As shown, assume that the first playback delay of the target music on the first terminal is 100ms and the second playback delay of the target music on the second terminal is 200ms.
[0050] When NTP = 1705530000, the third progress bar for the target music on the second terminal is 2000ms. At this time, the first progress bar for the target music on the second terminal is 2000-200 = 1800ms. The second terminal sends the first progress bar and the sending time of sending the first progress bar to the first terminal. The sending time at this time is NTP = 1705530000.
[0051] Assuming that NTP = 1705530100 when the first terminal receives the first progress and transmission time sent by the second terminal, then the transmission delay of the second terminal in sending the first progress can be determined to be 100ms.
[0052] When NTP = 1705530100, the first terminal receives the first progress and sending time sent by the second terminal. Since the playback delay of the first terminal is 100ms and the sending delay is 100ms, the progress of the first terminal in decoding the target music needs to be set to 1800+100+100=2000ms.
[0053] When NTP=1705530100, the decoding progress of the first terminal for the target music is 2000ms. After a playback delay of 100ms, when NTP=1705530200, the playback progress of the target music by the speaker of the first terminal is 2000ms.
[0054] When NTP=1705530000, the decoding progress of the second terminal for the target music is 2000ms. After a playback delay of 200ms, when NTP=1705530200, the playback progress of the target music by the speaker of the second terminal is 2000ms.
[0055] In this way, the playback of the target music can be synchronized between the first and second terminals, reducing the impact of different playback delays on different devices and improving the user experience.
[0056] Figure 4 Another example flowchart of a process 400 for audio processing according to some embodiments of the present disclosure is shown.
[0057] In box 410, the second terminal acquires the third progress of the target music being decoded at the second terminal and the second playback delay associated with the second terminal, which corresponds to the second participant in the live interactive event, which is associated with the target music.
[0058] In box 420, the second terminal determines the first progress of the target music played by the second terminal based on the difference between the third progress and the second playback delay.
[0059] In box 430, the second terminal sends progress information to the first terminal, which corresponds to the first participant in the live interactive event, and the progress information indicates the first progress.
[0060] In some embodiments, the second terminal sends the sending time to the first terminal, and the sending time can be the time when the second terminal sends the progress information.
[0061] Those skilled in the art will understand that, for the sake of convenience and brevity, the specific working process described can be referred to the corresponding content in the aforementioned process embodiments, and will not be repeated here.
[0062] Figure 5 A schematic structural block diagram of an example of an audio processing apparatus 500 according to some embodiments of the present disclosure is shown. The apparatus 500 may be implemented as or included in a first terminal. The various modules / components in the apparatus 500 may be implemented by hardware, software, firmware, or any combination thereof.
[0063] As shown in the figure, device 500 includes a first acquisition module 510 configured to acquire progress information from a second terminal. The first terminal corresponds to a first participant in a live interactive event, and the second terminal corresponds to a second participant in the live interactive event. The live interactive event is associated with target music, and the progress information indicates a first progress of the target music at the second terminal. Device 500 also includes a first determination module 520 configured to determine a first playback delay of the target music played on the first terminal. Device 500 further includes a second determination module 530 configured to determine a second progress of the target music based on the first progress and the first playback delay. Device 500 also includes a playback module 540 configured to play the target music at the first terminal based on the second progress.
[0064] In some embodiments, the second determining module 530 is specifically configured to: obtain a sending time, the sending time indicating the time when the second terminal sends the progress information; determine the sending delay at which the first terminal receives the progress information based on the sending time; and determine the second progress of the target music based on the first progress, the first playback delay, and the sending delay.
[0065] In some embodiments, the second determining module 530 is specifically configured to: determine the second progress based on the sum of the first progress, the first playback delay, and the transmission delay.
[0066] In some embodiments, the first progress is determined by the second terminal device based on the difference between the third progress and the second playback delay of the second terminal for the target music.
[0067] Figure 6 A schematic structural block diagram of another example of an audio processing apparatus 600 according to some embodiments of the present disclosure is shown. The apparatus 600 may be implemented as or included in a second terminal. The various modules / components in the apparatus 600 may be implemented by hardware, software, firmware, or any combination thereof.
[0068] As shown in the figure, device 600 includes a second acquisition module 610, configured to acquire, at a second terminal, a third progress of the target music being decoded at the second terminal and a second playback delay associated with the second terminal, the second terminal corresponding to a second participant in a live interactive event associated with the target music. Device 600 also includes a third determination module 620, configured to determine a first progress of the target music played by the second terminal based on the difference between the third progress and the second playback delay. Device 600 further includes a sending module 630, configured to send progress information to a first terminal, the first terminal corresponding to a first participant in the live interactive event, the progress information indicating the first progress. In some embodiments, the sending module 630 is further configured to send a sending time to the first terminal, the sending time indicating the time when the second terminal sends the progress information.
[0069] Figure 7 A block diagram is shown illustrating an electronic device 700 in which one or more embodiments of the present disclosure may be implemented. It should be understood that... Figure 7 The electronic device 700 shown is merely exemplary and should not be construed as limiting the functionality and scope of the embodiments described herein. Figure 7 The electronic device 700 shown can be used to achieve Figure 1 Terminal equipment 110.
[0070] like Figure 7 As shown, electronic device 700 is in the form of a general-purpose electronic device. Components of electronic device 700 may include, but are not limited to, one or more processors or processing units 710, memory 720, storage device 730, one or more communication units 740, one or more input devices 750, and one or more output devices 760. Processing unit 710 may be a physical or virtual processor and is capable of performing various processes according to programs stored in memory 720. In a multiprocessor system, multiple processing units execute computer-executable instructions in parallel to improve the parallel processing capability of electronic device 700.
[0071] Electronic device 700 typically includes multiple computer storage media. Such media can be any accessible media that is accessible to electronic device 700, including but not limited to volatile and non-volatile media, removable and non-removable media. Memory 720 can be volatile memory (e.g., registers, cache, random access memory (RAM)), non-volatile memory (e.g., read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory), or some combination thereof. Storage device 730 can be removable or non-removable media and can include machine-readable media, such as flash drives, disks, or any other media that can be used to store information and / or data and can be accessed within electronic device 700.
[0072] Electronic device 700 may further include additional removable / non-removable, volatile / non-volatile storage media. Although not explicitly stated... Figure 7 As shown, disk drives for reading from or writing to removable, non-volatile disks (e.g., "floppy disks") and optical disk drives for reading from or writing to removable, non-volatile optical disks can be provided. In these cases, each drive can be connected to a bus (not shown) via one or more data media interfaces. Memory 720 may include computer program product 725 having one or more program modules configured to perform various methods or actions of various embodiments of this disclosure.
[0073] The communication unit 740 enables communication with other electronic devices via a communication medium. Additionally, the functionality of the components of the electronic device 700 can be implemented using a single computing cluster or multiple computing machines capable of communicating via communication connections. Therefore, the electronic device 700 can operate in a networked environment using logical connections to one or more other servers, network personal computers (PCs), or another network node.
[0074] Input device 750 can be one or more input devices, such as a mouse, keyboard, trackball, etc. Output device 760 can be one or more output devices, such as a monitor, speaker, printer, etc. Electronic device 700 can also communicate with one or more external devices (not shown) via communication unit 740 as needed. These external devices include storage devices, display devices, etc., and can communicate with one or more devices that enable user interaction with electronic device 700, or with any device that enables electronic device 700 to communicate with one or more other electronic devices (e.g., network card, modem, etc.). Such communication can be performed via input / output (I / O) interface (not shown).
[0075] According to an exemplary implementation of this disclosure, a computer-readable storage medium is provided that stores computer-executable instructions thereon, wherein the computer-executable instructions are executed by a processor to implement the methods described above. According to an exemplary implementation of this disclosure, a computer program product is also provided, which is tangibly stored on a non-transitory computer-readable medium and includes computer-executable instructions, which are executed by a processor to implement the methods described above.
[0076] Various aspects of this disclosure are described herein with reference to flowchart illustrations and / or block diagrams of methods, apparatuses, devices, and computer program products implemented according to this disclosure. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer-readable program instructions.
[0077] These computer-readable program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus to produce a machine such that, when executed by the processing unit of the computer or other programmable data processing apparatus, they create means for implementing the functions / actions specified in one or more blocks of the flowchart and / or block diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium that causes a computer, programmable data processing apparatus, and / or other device to operate in a particular manner. Thus, the computer-readable medium storing the instructions comprises an article of manufacture that includes instructions for implementing aspects of the functions / actions specified in one or more blocks of the flowchart and / or block diagram.
[0078] Computer-readable program instructions can be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions that execute on the computer, other programmable data processing apparatus, or other device to perform the functions / actions specified in one or more boxes of a flowchart and / or block diagram.
[0079] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of an instruction, which contains one or more executable instructions for implementing the specified logical function. In some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions.
[0080] Various implementations of this disclosure have been described above. These descriptions are exemplary and not exhaustive, nor are they limited to the disclosed implementations. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described implementations. The terminology used herein is chosen to best explain the principles, practical applications, or improvements to technology in the market, or to enable others skilled in the art to understand the various implementations disclosed herein.
Claims
1. A method for audio processing, comprising: At the first terminal, progress information is obtained from the second terminal. The first terminal corresponds to the first participant in the live interactive event, and the second terminal corresponds to the second participant in the live interactive event. The live interactive event is associated with target music, and the progress information indicates the first progress of the target music at the second terminal. Determine the first playback delay for the first terminal to play the target music; Based on the first progress and the first playback delay, a second progress of the target music is determined; as well as Based on the second progress, the target music is played at the first terminal.
2. The method according to claim 1, wherein determining the second progress of the target music based on the first progress and the first playback delay comprises: Obtain the sending time, which indicates the time when the second terminal sends the progress information; Based on the sending time, determine the sending delay at which the first terminal receives the progress information; as well as Based on the first progress, the first playback delay, and the sending delay, a second progress of the target music is determined.
3. The method of claim 2, wherein determining the second progress of the target music comprises: The second progress is determined based on the sum of the first progress, the first playback delay, and the sending delay.
4. The method according to claim 1, wherein the first progress is determined by the second terminal device based on the difference between the third progress of the second terminal for the target music and the second playback delay.
5. A method for audio processing, comprising: At the second terminal, the third progress of the target music being decoded at the second terminal and the second playback delay associated with the second terminal are obtained, the second terminal being a second participant in a live interactive event associated with the target music; Based on the difference between the third progress and the second playback delay, the first progress of the second terminal playing the target music is determined; as well as Progress information is sent to a first terminal, which corresponds to the first participant in the live interactive event, and the progress information indicates the first progress.
6. The method according to claim 1, further comprising: The sending time is sent to the first terminal, and the sending time indicates the time when the second terminal sends the progress information.
7. An apparatus for audio processing, comprising: The first acquisition module is configured to acquire progress information from a second terminal at a first terminal, the first terminal corresponding to a first participant in the live interactive event, the second terminal corresponding to a second participant in the live interactive event, the live interactive event being associated with target music, and the progress information indicating the first progress of the target music at the second terminal. The first determining module is configured to determine a first playback delay for the first terminal to play the target music. The second determining module is configured to determine a second progress of the target music based on the first progress and the first playback delay; as well as The playback module is configured to play the target music at the first terminal based on the second progress.
8. An apparatus for audio processing, comprising: The second acquisition module is configured to acquire, at the second terminal, the third progress of the target music being decoded at the second terminal and the second playback delay associated with the second terminal, the second terminal being a second participant in a live interactive event, the live interactive event being associated with the target music; The third determining module is configured to determine the first progress of the second terminal playing the target music based on the difference between the third progress and the second playback delay; as well as The sending module is configured to send progress information to a first terminal, which corresponds to a first participant in the live interactive event, and the progress information indicates the first progress.
9. An electronic device, comprising: At least one processing unit; as well as At least one memory, coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit, the instructions causing the terminal device to perform the method according to any one of claims 1 to 6 when executed by the at least one processing unit.
10. A computer-readable storage medium having a computer program stored thereon, the computer program being executable by a processor to implement the method according to any one of claims 1 to 6.
11. A computer program product comprising computer-executable instructions, wherein the computer-executable instructions, when executed by a processor, implement the method according to any one of claims 1 to 6.