Method and apparatus for audio processing, and device and storage medium
By obtaining the progress information and playback delay from the second terminal on the first terminal, and calculating and synchronizing the playback progress of the target music, the problem of asynchronous playback delay between terminal devices is solved, thus improving the user experience.
Patent Information
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2025-09-24
- Publication Date
- 2026-04-02
AI Technical Summary
Different terminal devices have different playback delays when playing audio, which leads to asynchronous music playback in scenarios such as multi-person chorus, reducing the user experience.
By obtaining the progress information and playback delay of the second terminal from the first terminal, the progress of the target music is calculated and played synchronously to achieve audio playback synchronization between terminal devices.
It enables synchronization of audio playback across different terminal devices, thus improving the user experience.
Smart Images

Figure CN2025123622_02042026_PF_FP_ABST
Abstract
Description
Method, device, apparatus and storage medium for audio processing
[0001] The present application claims priority from the Chinese Patent Application No. 202411338152.2 filed on September 24, 2024 and entitled "Method, device, apparatus and storage medium for audio processing", the content of which is incorporated herein by reference in its entirety. TECHNICAL FIELD
[0002] Example embodiments of the present disclosure generally relate to the field of computers, and in particular, to a method, device, apparatus and computer readable storage medium for audio processing. BACKGROUND
[0003] 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 lead singer side and the backup singer side, the playback progress of the target music is different and out of sync, which reduces the user experience. SUMMARY
[0004] 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.
[0005] 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.
[0006] 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.
[0007] 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.
[0008] 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.
[0009] 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.
[0010] 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.
[0011] It should be understood that the content described in this section is not intended to limit the key features 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
[0012] The above and other features, aspects and advantages of the present disclosure will become more apparent after a reading of the following detailed description together with the accompanying drawings. In the drawings:
[0013] FIG. 1 shows a schematic diagram of an example environment in which embodiments of the present disclosure can be implemented;
[0014] FIG. 2 shows one example flowchart of a process for audio processing according to some embodiments of the present disclosure;
[0015] FIG. 3 shows a schematic diagram of audio synchronization according to some embodiments of the present disclosure;
[0016] FIG. 4 shows another example flowchart of a process for audio processing according to some embodiments of the present disclosure;
[0017] FIG. 5 shows a schematic structural block diagram of one example of an apparatus for audio processing according to some embodiments of the present disclosure;
[0018] FIG. 6 shows a schematic structural block diagram of another example of an apparatus for audio processing according to some embodiments of the present disclosure; and
[0019] FIG. 7 shows a block diagram of a device capable of implementing embodiments of the present disclosure. DETAILED DESCRIPTION
[0020] It can be understood that, before using the technical solutions disclosed by the embodiments of the present disclosure, the type of personal information involved in the present disclosure, the range of use, the scenario of use, etc. should be informed to the user and the authorization of the user should be obtained through appropriate means according to relevant laws and regulations.
[0021] For example, in response to receiving the active request of the user, the user is sent prompt information to explicitly prompt the user that the operation requested to be performed will require obtaining and using the personal information of the user. Thus, the user can voluntarily choose whether to provide personal information to the electronic device, application program, server or storage medium, etc. software or hardware that performs the operation of the technical solutions of the present disclosure according to the prompt information.
[0022] As an optional but non-limiting implementation manner, in response to receiving the active request of the user, the manner of sending prompt information to the user may, for example, be a pop-up window manner, and the prompt information can be presented in the form of text in the pop-up window. In addition, the pop-up window can also carry selection controls for the user to select "agree" or "disagree" to provide personal information to the electronic device.
[0023] It can be understood that the above notification and user authorization obtaining process is only illustrative, and does not limit the implementation of the present disclosure, and other ways that meet the relevant laws and regulations can also be applied to the implementation of the present disclosure.
[0024] It can be understood that the data involved in the technical solution (including but not limited to the data itself, the acquisition or use of the data) should comply with the requirements of the relevant laws and regulations and the relevant provisions.
[0025] 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 drawings, it should be understood that the present disclosure can be implemented in various forms, and should not be interpreted as being limited to the embodiments set forth herein, but rather, these embodiments are provided to more thoroughly and completely understand 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.
[0026] It should be noted that the titles of any section / subsection provided herein are not limiting. Various embodiments are described throughout this document, and any type of embodiment can be included under any section / subsection. Furthermore, embodiments described in any section / subsection can be combined with any other embodiment described in the same section / subsection and / or a different section / subsection in any manner.
[0027] 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 can include one or more intervening steps.
[0028] In the description of embodiments of the present disclosure, the term “comprising” and similar terms are to be understood as open-ended, i.e., “including but not limited to”. The term “based on” is to be understood as “based at least in part on”. The term “one embodiment” or “the embodiment” is to be understood as “at least one embodiment”. The term “some embodiments” is to be understood as “at least some embodiments”. Further explicit and implicit definitions can be included below. The terms “first”, “second”, etc. can refer to different or the same objects. Further explicit and implicit definitions can be included below.
[0029] As briefly mentioned above, there will be a playback delay when the terminal device plays audio data (for example, from writing audio data to playing audio data on a loudspeaker, there will be a certain time interval in between). It should be understood that different terminal devices may, due to device performance, result in different playback delays when playing the same audio data; the same terminal device may, due to different states (for example, device performance), result in different playback delays when playing the same audio data.
[0030] In a scenario where multiple terminal devices play the same audio data (for example, a song accompaniment played when multiple people sing together in real time), different terminal devices have different playing delays, which causes different playing progress of the audio data, thereby reducing user experience.
[0031] Embodiments of the present disclosure provide a scheme for audio processing. According to various embodiments of the present 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 playing delay, a second progress of the target music is determined; and based on the second progress, the target music is played at the first terminal. In this way, playing synchronization of the first terminal and the second terminal for the target music can be achieved, and the impact of different playing delays of different devices is reduced, thereby improving user experience.
[0032] FIG. 1 illustrates an example environment 100 in which embodiments of the present disclosure can be implemented.
[0033] As shown in FIG. 1, the environment 100 can include terminal devices 110-1, 110-2, …, 110-N and a server 120. For ease of discussion, the terminal devices 110-1, 110-2, …, 110-N can be collectively referred to as or individually referred to as a terminal device 110.
[0034] In the environment 100, the terminal devices 110 can run an application that supports voice interaction, which can be any appropriate type of application for voice interaction, examples of which can include, but are not limited to, a video application, a social application, a live broadcast application, or other appropriate application, based on which a user can perform a live broadcast-related activity. In some embodiments, the live broadcast-related activity can be an activity of initiating a live broadcast, an activity of participating in a live broadcast, an activity of watching a live broadcast, and the like. A user can interact with the application via the terminal device 110 and / or its attached devices.
[0035] In the environment 100, the terminal devices 110 can be any type of computing-capable device, including a terminal device or a server device. The terminal device can be any type of mobile terminal, fixed terminal, or portable terminal including a mobile phone, a desktop computer, a laptop computer, a notebook computer, a netbook computer, a tablet computer, a media computer, a multimedia tablet, a personal communication system (PCS) device, a personal navigation device, a personal digital assistant (PDA), an audio / video player, a digital camera / camcorder, a positioning device, a television receiver, a radio broadcast receiver, an electronic book device, a game device, or any combination of the foregoing, including accessories and peripherals of these devices or any combination thereof. The server device may, for example, include a computing system / server, such as a mainframe, an edge computing node, an electronic device in a cloud environment, and the like.
[0036] The server 120 can be a standalone physical server, a server cluster composed of multiple physical servers, or a distributed system, and can also be a cloud server providing cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content distribution networks, and basic cloud computing services such as big data and artificial intelligence platforms. The server 120 can include a computing system / server, such as a mainframe, an edge computing node, a computing device in a cloud environment, and the like. The server 120 can provide background services for applications in the terminal device 110 that support voice interaction.
[0037] A communication connection can be established between the server 120 and the terminal device 110, and a communication connection can also be established between the terminal devices 110. The communication connection can be established by wired or wireless means. The communication connection can include, but is not limited to, a Bluetooth connection, a mobile network connection, a Universal Serial Bus (USB) connection, a Wireless Fidelity (WiFi) connection, and the like. Embodiments of the present disclosure are not limited in this regard.
[0038] It should be understood that the structure and function of the environment 100 are described for illustrative purposes only, and do not imply any limitation on the scope of the present disclosure.
[0039] Some example embodiments of the present disclosure will be described below with reference to the accompanying drawings.
[0040] FIG. 2 shows a flowchart of one example of a process 200 for audio processing according to some embodiments of the present disclosure. The following will be described taking an example of a terminal device performing the interactive process 200. Next, the scheme provided by the present disclosure for audio processing will be described in detail in combination with FIG. 1.
[0041] At block 210, the first terminal obtains progress information from the second terminal.
[0042] The first terminal and the second terminal can be terminal devices 110 participating in a live interactive event. For example, the first terminal can be a terminal device 110 corresponding to a first participant in the live interactive event, and the second terminal can be a terminal device 110 corresponding to a second participant in the live interactive event.
[0043] In some embodiments, the live interactive event is associated with target music. For example, the live interactive event can be a multi-person chorus, a multi-person poem recitation, and the like, and the associated target music can be a song accompaniment in the chorus, background music for the poem recitation, and the like.
[0044] In some embodiments, the progress information indicates a first progress of the target music at the second terminal. In embodiments of the present disclosure, the first progress can be a difference between a third progress of the second terminal for the target music (e.g., a progress of the second terminal in decoding the target music) and a second playback delay. The second playback delay can be a delay between a reference signal and a collection signal, the reference signal can be a sound signal played by a loudspeaker of the second terminal, and the collection signal can be a sound signal collected by a microphone of the second terminal.
[0045] In some embodiments, the second terminal can directly transmit the progress information to the first terminal, or the second terminal can send the progress information to the server 120, and the server 120 sends the progress information to the first terminal.
[0046] In block 220, the first terminal determines a first playback delay of the first terminal in playing the target music. The determination method of the first playback delay is the same as that of the second playback delay, and the difference is that the reference signal and the collection signal for determining the first playback delay can be provided by the first terminal.
[0047] In block 230, the first terminal determines a second progress of the target music based on the first progress and the first playback delay. In embodiments of the present disclosure, the second progress can be a progress of the first terminal in decoding the target music.
[0048] In some embodiments, the first terminal can obtain a sending time at which the second terminal sends the progress information, determine a sending delay of the first terminal in receiving 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. For example, a sum of the first progress, the first playback delay, and the sending delay can be determined as the second progress of the target music.
[0049] In some embodiments, a difference between a receiving time at which the first terminal receives the progress information and the sending time at which the second terminal sends the progress information can be taken as the sending delay. In some embodiments, the receiving time and the sending time can be determined based on a Network Time Protocol (NTP).
[0050] In block 240, the first terminal plays the target music at the first terminal based on the second progress.
[0051] The process 200 for audio processing provided by embodiments of the present disclosure will be further described below in combination with a specific example.
[0052] As shown in FIG. 3, it is assumed that a first playback delay of the first terminal in playing the target music is 100 ms, and a second playback delay of the second terminal in playing the target music is 200 ms.
[0053] At NTP = 1705530000, the third progress of the second terminal for the target music is 2000 ms, and at this time, the first progress of the second terminal for the target music is 2000-200 = 1800 ms. The second terminal sends the first progress and the sending time of sending the first progress to the first terminal, and at this time, the sending time is NTP = 1705530000.
[0054] Suppose that at the time when the first terminal receives the first progress and the sending time sent by the second terminal, NTP = 1705530100, it can be determined that the sending delay of the second terminal sending the first progress is 100 ms.
[0055] At NTP = 1705530100, the first terminal receives the first progress and the sending time sent by the second terminal, and since the playing delay of the first terminal is 100 ms and the sending delay is 100 ms, at this time, the progress of the first terminal decoding the target music needs to be set to 1800 + 100 + 100 = 2000 ms.
[0056] At NTP = 1705530100, the decoding progress of the first terminal for the target music is 2000 ms, and after 100 ms of playing delay, at NTP = 1705530200, the progress of the loudspeaker of the first terminal playing the target music is 2000 ms.
[0057] At NTP = 1705530000, the decoding progress of the second terminal for the target music is 2000 ms, and after 200 ms of playing delay, at NTP = 1705530200, the progress of the loudspeaker of the second terminal playing the target music is 2000 ms.
[0058] In this way, the playing of the first terminal and the second terminal for the target music can be synchronized, the influence of different devices having different playing delays is reduced, and the user experience is improved.
[0059] FIG. 4 shows another example flowchart of a process 400 for audio processing, according to some embodiments of the present disclosure.
[0060] At block 410, the second terminal obtains a third progress of a target music being decoded at the second terminal and a second playing 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 the target music.
[0061] At block 420, the second terminal determines a first progress of the second terminal playing the target music based on a difference between the third progress and the second playing delay.
[0062] At block 430, the second terminal sends progress information to the first terminal, the first terminal corresponding to a first participant of the live interactive event, the progress information indicating the first progress.
[0063] In some embodiments, the second terminal sends a sending time to the first terminal, the sending time being a time at which the second terminal sends the progress information.
[0064] It is clear to those skilled in the art that, for the convenience and brevity of description, the specific working process of the described process can refer to the corresponding content in the foregoing process embodiments, which will not be described here.
[0065] FIG. 5 shows a schematic structural block diagram of one example of an apparatus 500 for audio processing according to some embodiments of the present disclosure. The apparatus 500 can be implemented as or included in the first terminal. Various modules / components in the apparatus 500 can be implemented by hardware, software, firmware, or any combination thereof.
[0066] As shown, the apparatus 500 includes a first obtaining module 510 configured to obtain 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. The apparatus 500 further includes a first determining module 520 configured to determine a first playing delay of the first terminal playing the target music. The apparatus 500 further includes a second determining module 530 configured to determine a second progress of the target music based on the first progress and the first playing delay. The apparatus 500 further includes a playing module 540 configured to play the target music at the first terminal based on the second progress.
[0067] In some embodiments, the second determining module 530 is specifically configured to: obtain a sending time, the sending time indicating a time at which the second terminal sends the progress information; determine a sending delay of the first terminal receiving the progress information based on the sending time; and determine the second progress of the target music based on the first progress, the first playing delay, and the sending delay.
[0068] In some embodiments, the second determining module 530 is specifically configured to determine the second progress based on a sum of the first progress, the first playing delay, and the sending delay.
[0069] In some embodiments, the first progress is determined by the second terminal device based on a difference between a third progress of the target music by the second terminal and a second playing delay.
[0070] FIG. 6 shows a schematic structural block diagram of another example of an apparatus 600 for audio processing according to some embodiments of the present disclosure. The apparatus 600 can be implemented as or included in a second terminal. Various modules / components in the apparatus 600 can be implemented by hardware, software, firmware, or any combination thereof.
[0071] As shown, the apparatus 600 includes a second obtaining module 610 configured to obtain, at a second terminal, a third progress at which a target music is 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 the target music. The apparatus 600 further includes a third determining module 620 configured to determine a first progress at which the target music is played by the second terminal based on a difference between the third progress and the second playback delay. The apparatus 600 further includes a sending module 630 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. In some embodiments, the sending module 630 is further configured to send a sending time to the first terminal, the sending time indicating a time at which the progress information is sent by the second terminal.
[0072] FIG. 7 shows a block diagram of an electronic device 700 in which one or more embodiments of the disclosure can be implemented. It should be understood that the electronic device 700 illustrated in FIG. 7 is merely an example and should not be construed to limit the functionality and scope of the embodiments described herein. The electronic device 700 illustrated in FIG. 7 can be used to implement the terminal device 110 of FIG. 1.
[0073] As shown in FIG. 7, the electronic device 700 is in the form of a general electronic device. The components of the electronic device 700 can include, but are not limited to, one or more processors or processing units 710, a memory 720, a storage device 730, one or more communication units 740, one or more input devices 750, and one or more output devices 760. The processing unit 710 can be a real or virtual processor and is capable of performing various processes according to programs stored in the memory 720. In a multi-processor system, multiple processing units perform computer-executable instructions in parallel to improve the parallel processing capability of the electronic device 700.
[0074] The electronic device 700 typically includes a plurality of computer storage media. Such media can be any available media that is locally and / or remotely accessible by the electronic device 700, including volatile and non-volatile media, removable and non-removable media. The memory 720 can be a volatile memory (e.g., random access memory (RAM), cache memory, etc.), a non-volatile memory (e.g., read-only memory (ROM), electrically programmable read only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), flash memory, etc.), or some combination thereof. The storage device 730 can be a removable storage and / or non-removable storage including, for example, a machine-readable medium that can be used to store information and / or data, which can be accessed by the electronic device 700.
[0075] The electronic device 700 can further include additional removable / non-removable, volatile / non-volatile storage media. Although not shown in FIG. 7, a disk drive for reading from and / or writing to a removable, non- volatile magnetic disk (e.g., a "floppy disk"), and an optical disk drive for reading from and / or writing to a removable, non-volatile optical disk (e.g., a CD-ROM) can be provided. In such instances, each drive can be connected to the bus (not shown) by one or more data media interfaces. The memory 720 can include a computer program product 725 having one or more program modules configured to carry out the various methods or actions of the various embodiments of the present disclosure.
[0076] The communication unit 740 enables communications with other electronic devices over a communication medium. Additionally, the functionality of the components of the electronic device 700 can be implemented in a single computing cluster or a plurality of computer machines that are capable of communicating with one another over a communication connection. As such, 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 nodes in the networking environment.
[0077] The input device 750 can be one or more input devices, such as a mouse, a keyboard, a trackball, etc. The output device 760 can be one or more output devices, such as a display, a speaker, a printer, etc. The electronic device 700 can further communicate with one or more external devices (not shown) such as a storage device, a display device, etc. through the communication unit 740, with one or more devices that enable a user to interact with the electronic device 700, or with any devices (e.g., a network card, a modem, etc.) that enables the electronic device 700 to communicate in a network environment depending on the needs. Such communication can be carried out via an input / output (I / O) interface (not shown).
[0078] According to an example implementation of the present disclosure, a computer readable storage medium is provided having computer executable instructions stored thereon, where the computer executable instructions are executed by a processor to implement the method described above. According to an example implementation of the present disclosure, a computer program product is also provided that is tangibly stored on a non-transitory computer readable medium and includes computer executable instructions, where the computer executable instructions are executed by a processor to implement the method described above.
[0079] The computer readable program instructions can also 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 apparatus or other device to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide processes for implementing the functions / acts specified in the flowchart and / or block diagram block or blocks.
[0080] These computer readable program instructions can be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions / acts specified in the flowchart and / or block diagram block or blocks. These computer readable program instructions can also be stored in a computer readable storage medium that can include a non-transitory computer readable storage medium. The instructions stored on the computer readable storage medium can be used to program a computer, a programmable data processing apparatus, and / or other devices to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide processes for implementing the functions / acts specified in the flowchart and / or block diagram block or blocks.
[0081] The computer readable program instructions can also 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 apparatus or other device to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide processes for implementing the functions / acts specified in the flowchart and / or block diagram block or blocks.
[0082] The computer program product of the present disclosure can have a signal including said computer program. This signal can be electronic, electromagnetic, optical, or any other suitable type of signal. Such a signal can be provided through a communication connection, such as electrical wiring, optical fiber, wireless interface, etc. Examples of computer program products include computer program implemented on a personal computer, server, or other networked device. A non-transitory computer readable medium, such as a floppy disk, CD-ROM, DVD-ROM, Blu-ray Disc, hard disk drive, or any other suitable non-transitory computer readable medium can store the computer program product.
[0083] Various implementations of the disclosure have been described in detail above. The foregoing description is exemplary and explanatory only, and is not intended to be exhaustive or to limit various implementations of the disclosure to the precise forms disclosed. Many modifications and variations are possible in light of the above teachings without departing from the scope and spirit of the disclosure. It is intended that the scope of the disclosure be limited only by the claims and the equivalents thereof. The use of the terms "including," "containing," "comprising," "having," "in involving," "portions," "elements," "components," "steps," "phases," "processes," "operations," "steps," "stages," "procedures," "methods," "mechanisms," "devices," "systems," "apparatuses," "units," "means," "units," "devices," "systems," "apparatuses," "units," "devices," "systems," "apparatuses," "units," "devices," "systems," "apparatuses," "units," "devices," "systems," "apparatuses," "units," "devices," "systems," "apparatuses," "units," "devices," "systems," "apparatuses," "units," "devices," "systems," "apparatuses," "units," "devices," "systems," "apparatuses," "units," "devices," "systems," "apparatuses," "units," "devices," "systems," "apparatuses," "units," "devices," "systems," "apparatuses," "units," "devices," "systems," "apparatuses," "units," "devices," "systems," "apparatuses," "units," "devices," "systems," "apparatuses," "units," "devices," "systems," "apparatuses," "units," "devices," "systems," "apparatuses," "units," "devices," "systems," "apparatuses," "units," "devices," "systems," "apparatuses," "units," "devices," "systems," "apparatuses," "units," "devices," "systems," "apparatuses," "units," "devices," "systems," "apparatuses," "units," "devices," "systems," "apparatuses," "units," "devices," "systems," "apparatuses," "units," "devices," "systems," "apparatuses," "units," "devices," "systems," "apparatuses," "units," "devices," "systems," "apparatuses," "units," "devices," "systems," "apparatuses," "units," "devices," "systems," "apparatuses," "units," "devices," "systems," "apparatuses," "units," "devices," "systems," "
Claims
1. A method for audio processing, 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 target music, the progress information indicating a first progress of the target music at the second terminal; determining a first play 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 play delay; and playing, at the first terminal, the target music based on the second progress. 2.The method of claim 1, wherein determining the second progress of the target music based on the first progress and the first play delay comprises: obtaining a sending time, the sending time indicating a time at which the second terminal sends the progress information; determining a sending delay of the first terminal receiving the progress information based on the sending time; and determining the second progress of the target music based on the first progress, the first play delay, and the sending delay. 3.The method of claim 2, wherein determining the second progress of the target music comprises: determining the second progress based on a sum of the first progress, the first play delay, and the sending delay. 4.The method of claim 1, wherein the first progress is determined by the second terminal device based on a difference between a third progress of the target music at the second terminal and a second play delay. 5.A method for audio processing, comprising: obtaining, at a second terminal, a third progress of target music being decoded at the second terminal and a second play 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; determining a first progress of the second terminal playing the target music based on a difference between the third progress and the second play 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. 6.The method of claim 1, further comprising: sending a sending time to the first terminal, the sending time indicating a time at which the second terminal sends the progress information. 7.An apparatus for audio processing, 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 play 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 play delay; and a playing module configured to play, at the first terminal, the target music based on the second progress. The playing module is configured to play the target music at the first terminal based on the second progress.
8. An apparatus for audio processing, comprising: a second obtaining module configured to obtain, at a second terminal, a third progress of a target music being decoded at the second terminal and a second playing 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 the target music; a third determining module configured to determine a first progress of the target music being played by the second terminal based on a difference between the third progress and the second playing 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.
9. An electronic device, 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 according to any one of claims 1 to 6.
10. A computer readable storage medium having stored thereon a computer program, 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.
Citation Information
Patent Citations
Synchronous playing method and system for multiple pieces of playing equipment, and terminal
CN108540829A
Real-time chorus synchronization method and device based on network live broadcast and network live broadcast system
CN116962747A
Multimedia data synchronization method, device and equipment, readable storage medium and product
CN118540529A
Playing of media content among multiple devices using a temporal progress
US9432429B1