CN113282269A - Audio playing method and device, storage medium and computing equipment - Google Patents

Audio playing method and device, storage medium and computing equipment Download PDF

Info

Publication number
CN113282269A
CN113282269A CN202110711419.8A CN202110711419A CN113282269A CN 113282269 A CN113282269 A CN 113282269A CN 202110711419 A CN202110711419 A CN 202110711419A CN 113282269 A CN113282269 A CN 113282269A
Authority
CN
China
Prior art keywords
audio
playing
user
play
control
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110711419.8A
Other languages
Chinese (zh)
Other versions
CN113282269B (en
Inventor
朱一闻
俞静
王逸天
赵宗
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Netease Cloud Music Technology Co Ltd
Original Assignee
Hangzhou Netease Cloud Music Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Netease Cloud Music Technology Co Ltd filed Critical Hangzhou Netease Cloud Music Technology Co Ltd
Priority to CN202110711419.8A priority Critical patent/CN113282269B/en
Publication of CN113282269A publication Critical patent/CN113282269A/en
Application granted granted Critical
Publication of CN113282269B publication Critical patent/CN113282269B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • G06F3/167Audio in a user interface, e.g. using voice commands for navigating, audio feedback
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0482Interaction with lists of selectable items, e.g. menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Databases & Information Systems (AREA)
  • Multimedia (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Data Mining & Analysis (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention provides an audio playing method, an audio playing device, a storage medium and computing equipment. The method comprises the following steps: playing second audio associated with first audio in response to a play start event of the first audio; wherein the first audio is not played within the playing time period of the second audio; playing the first audio in response to a play stop event of the second audio. The invention can improve the user reaching rate of the explanation content related to the audio and issued by the audio creator, and improve the communication between the audio creator and the audience, thereby improving the user experience of the audio creator and the audience.

Description

Audio playing method and device, storage medium and computing equipment
Technical Field
The embodiment of the invention relates to the technical field of human-computer interaction, in particular to an audio playing method, an audio playing device, a storage medium and computing equipment.
Background
This section is intended to provide a background or context to the embodiments of the invention that are recited in the claims. The description herein is not admitted to be prior art by inclusion in this section.
With the development of computer Application technology and the like, the types and functions of Application programs (APPs) running on terminal devices are becoming more and more abundant. For example, a user may listen to audio such as a song, piece of music, or audio book through an audio application running on the terminal device.
For a piece of audio, the author of the audio generally wishes to be able to make additional interpretations of the audio to the listener, such as: the audio is spoken of the creative background to the listener so that the listener can better understand the ideas and emotions conveyed by the audio, thereby improving the listener's enjoyment of the audio.
The existing audio application program can display the explanation contents related to the audio, which are published by the author of a certain piece of audio, in the user comment interface of the audio in the form of text; in this case, the user listening to the audio can view the explanatory content through the user comment interface of the audio.
Disclosure of Invention
However, in the existing audio application, the method of displaying the audio-related explanation content published by the audio author in the user comment interface in the form of text only ensures that the user who enters the user comment interface can view the audio-related explanation content, and the user who does not enter the user comment interface cannot know the audio-related explanation content.
That is, when a user listens to a certain piece of audio through an existing audio application, the user must enter a user comment interface of the audio to see the explanation content related to the audio, which is issued by the author of the audio.
Therefore, in the prior art, the explanation contents related to the audio, which are issued by the creator of the audio, do not reach the listener well.
Therefore, an improved audio playing method is needed to improve the user reach rate of the audio-related interpretation content released by the audio creator, and improve the communication between the audio creator and the audience, thereby improving the user experience of the audio creator and the audience.
In this context, embodiments of the present invention are intended to provide an audio playing method, apparatus, storage medium and computing device.
In a first aspect of embodiments of the present invention, there is provided an audio playing method, the method including:
playing second audio associated with first audio in response to a play start event of the first audio; wherein the first audio is not played within the playing time period of the second audio;
playing the first audio in response to a play stop event of the second audio.
Optionally, the playing, in response to a play start event of a first audio, a second audio associated with the first audio includes:
in response to a play start event of a first audio, determining whether the first audio is played for the first time; if so, playing a second audio associated with the first audio; or,
responding to a play start event of a first audio, and determining whether the historical play times of the first audio is smaller than a preset threshold value; and if so, playing second audio associated with the first audio.
Optionally, an audio playing interface corresponding to the first audio includes a playing control corresponding to the second audio;
the playing the first audio in response to the play stop event of the second audio, comprising:
in the playing time period of the second audio, in response to the triggering operation of the user for the playing control, stopping playing the second audio, and starting to play the first audio from the playing start position of the first audio, or starting to play the first audio from the playing pause position of the first audio; or,
when the second audio is detected to be played to the playing end position, the second audio is stopped being played, and the first audio is played from the playing start position of the first audio, or the first audio is played from the playing pause position of the first audio.
Optionally, an audio playing interface corresponding to the first audio includes a playing control corresponding to the second audio;
the method further comprises the following steps:
and in response to the triggering operation of the user for the playing control in the playing time period of the first audio, stopping playing the first audio, and starting to play the second audio from the playing start position of the second audio, or starting to play the second audio from the playing pause position of the second audio.
Optionally, the method further comprises:
responding to the trigger operation of a user for the play control, and detecting whether the duration of the trigger operation reaches a preset threshold value;
if the duration of the trigger operation reaches the threshold, outputting at least one operation control corresponding to the second audio in the audio playing interface;
and responding to the triggering operation of the user for any target operation control in the at least one operation control, and executing the operation corresponding to the target operation control for the second audio.
Optionally, the operational controls include voice recognition controls;
the responding to the triggering operation of the user for any target operation control in the at least one operation control, executing the operation corresponding to the target operation control for the second audio, and including:
and responding to the triggering operation of the user for the voice recognition control, performing voice recognition on the second audio to convert the second audio into a text, and outputting the text in the audio playing interface.
Optionally, the operation control comprises a sharing control;
the responding to the triggering operation of the user for any target operation control in the at least one operation control, executing the operation corresponding to the target operation control for the second audio, and including:
and responding to the triggering operation of the user for the sharing control, and sending the URL link of the audio playing interface to a target user selected by the user.
Optionally, the method further comprises:
responding to a trigger operation of a user for the playing control, and detecting a moving track of a trigger point of the trigger operation in the audio playing interface;
and determining the moving direction and the moving distance of the trigger point based on the moving track, and adjusting the audio playing progress of the second audio based on the moving direction and the moving distance.
Optionally, the method further comprises:
responding to the triggering operation of a user on a menu display control corresponding to a function option menu in the audio playing interface, and outputting the function option menu in the audio playing interface; the function option menu comprises a switch option for indicating the display state of the playing control;
and when the user switches the switch option to indicate to close the playing control, hiding or closing the playing control.
Optionally, the method further comprises:
responding to a triggering operation of a user for an interface jumping control corresponding to the user comment interface, jumping to the user comment interface, and outputting a playing control corresponding to the second audio in the user comment interface;
and responding to the triggering operation of the user for the playing control, and playing the second audio.
Optionally, the outputting, in the user comment interface, a play control corresponding to the second audio includes:
determining whether the second audio has already been played;
and if the second audio is not played, outputting the playing control in a user comment interface, and adding an unplayed mark for the playing control.
Optionally, the method further comprises:
responding to the trigger operation of a user for the play control, and detecting whether the duration of the trigger operation reaches a preset threshold value;
if the duration of the trigger operation reaches the threshold value, outputting at least one operation control corresponding to the second audio in the user comment interface;
and responding to the triggering operation of the user for any target operation control in the at least one operation control, and executing the operation corresponding to the target operation control for the second audio.
Optionally, the operational controls include voice recognition controls;
the responding to the triggering operation of the user for any target operation control in the at least one operation control, executing the operation corresponding to the target operation control for the second audio, and including:
and responding to the triggering operation of the user on the voice recognition control, performing voice recognition on the second audio to convert the second audio into text, and outputting the text in the user comment interface.
Optionally, the method further comprises:
responding to a trigger operation of a user for the play control, and detecting a movement track of a trigger point of the trigger operation in the user comment interface;
and determining the moving direction and the moving distance of the trigger point based on the moving track, and adjusting the audio playing progress of the second audio based on the moving direction and the moving distance.
Optionally, the method further comprises:
outputting at least one operational control corresponding to the second audio in the user comment interface;
and responding to the triggering operation of the user for any target operation control in the at least one operation control, and executing the operation corresponding to the target operation control for the second audio.
Optionally, the operation control comprises a comment reply control and/or a comment like control.
In a second aspect of embodiments of the present invention, there is provided an audio playback apparatus, the apparatus comprising:
the first playing module is used for responding to a playing starting event of a first audio and playing a second audio related to the first audio; wherein the first audio is not played within the playing time period of the second audio;
and the second playing module is used for responding to the playing stop event of the second audio and playing the first audio.
Optionally, the first playing module is specifically configured to:
in response to a play start event of a first audio, determining whether the first audio is played for the first time; if so, playing a second audio associated with the first audio; or,
responding to a play start event of a first audio, and determining whether the historical play times of the first audio is smaller than a preset threshold value; and if so, playing second audio associated with the first audio.
Optionally, an audio playing interface corresponding to the first audio includes a playing control corresponding to the second audio;
the second playing module is specifically configured to:
in the playing time period of the second audio, in response to the triggering operation of the user for the playing control, stopping playing the second audio, and starting to play the first audio from the playing start position of the first audio, or starting to play the first audio from the playing pause position of the first audio; or,
when the second audio is detected to be played to the playing end position, the second audio is stopped being played, and the first audio is played from the playing start position of the first audio, or the first audio is played from the playing pause position of the first audio.
Optionally, an audio playing interface corresponding to the first audio includes a playing control corresponding to the second audio;
the second playing module is further configured to:
and in response to the triggering operation of the user for the playing control in the playing time period of the first audio, stopping playing the first audio, and starting to play the second audio from the playing start position of the second audio, or starting to play the second audio from the playing pause position of the second audio.
Optionally, the apparatus further comprises:
the first detection module is used for responding to the trigger operation of a user for the play control and detecting whether the duration of the trigger operation reaches a preset threshold value;
the first output module is used for outputting at least one operation control corresponding to the second audio in the audio playing interface when the duration of the trigger operation reaches the threshold;
and the first execution module is used for responding to the triggering operation of a user for any target operation control in the at least one operation control, and executing the operation corresponding to the target operation control for the second audio.
Optionally, the operational controls include voice recognition controls;
the first execution module is specifically configured to:
and responding to the triggering operation of the user for the voice recognition control, performing voice recognition on the second audio to convert the second audio into a text, and outputting the text in the audio playing interface.
Optionally, the operation control comprises a sharing control;
the first execution module is specifically configured to:
and responding to the triggering operation of the user for the sharing control, and sending the URL link of the audio playing interface to a target user selected by the user.
Optionally, the apparatus further comprises:
the second detection module is used for responding to the trigger operation of the user for the playing control and detecting the moving track of the trigger point of the trigger operation in the audio playing interface;
and the first adjusting module is used for determining the moving direction and the moving distance of the trigger point based on the moving track, and adjusting the audio playing progress of the second audio based on the moving direction and the moving distance.
Optionally, the apparatus further comprises:
the second output module is used for responding to the triggering operation of a user on a menu display control corresponding to a function option menu in the audio playing interface and outputting the function option menu in the audio playing interface; the function option menu comprises a switch option for indicating the display state of the playing control;
and the closing module is used for hiding or closing the playing control when the user switches the switch option to indicate to close the playing control.
Optionally, the apparatus further comprises:
the skip module is used for responding to the trigger operation of a user for an interface skip control corresponding to the user comment interface, skipping to the user comment interface, and outputting a play control corresponding to the second audio in the user comment interface;
and the third playing module is used for responding to the triggering operation of the user for the playing control to play the second audio.
Optionally, the skip module is specifically configured to:
determining whether the second audio has already been played;
and if the second audio is not played, outputting the playing control in a user comment interface, and adding an unplayed mark for the playing control.
Optionally, the apparatus further comprises:
the third detection module is used for responding to the trigger operation of the user for the play control and detecting whether the duration of the trigger operation reaches a preset threshold value;
the third output module is used for outputting at least one operation control corresponding to the second audio in the user comment interface when the duration of the trigger operation reaches the threshold;
and the second execution module is used for responding to the triggering operation of the user for any target operation control in the at least one operation control, and executing the operation corresponding to the target operation control for the second audio.
Optionally, the operational controls include voice recognition controls;
the second execution module is specifically configured to:
and responding to the triggering operation of the user on the voice recognition control, performing voice recognition on the second audio to convert the second audio into text, and outputting the text in the user comment interface.
Optionally, the apparatus further comprises:
the fourth detection module is used for responding to the triggering operation of the user for the playing control, and detecting the movement track of the triggering point of the triggering operation in the user comment interface;
and the second adjusting module is used for determining the moving direction and the moving distance of the trigger point based on the moving track, and adjusting the audio playing progress of the second audio based on the moving direction and the moving distance.
Optionally, the apparatus further comprises:
a fourth output module, configured to output at least one operation control corresponding to the second audio in the user comment interface;
and the third execution module is used for responding to the triggering operation of the user for any target operation control in the at least one operation control, and executing the operation corresponding to the target operation control for the second audio.
Optionally, the operation control comprises a comment reply control and/or a comment like control.
In a third aspect of embodiments of the present invention, there is provided a computer storage medium having a computer program stored thereon, the computer program, when executed by a processor, implementing any of the audio playback methods described above.
In a fourth aspect of embodiments of the present invention, there is provided a computing device comprising:
a processor;
a memory for storing processor-executable instructions;
the processor executes the executable instructions to implement any one of the audio playing methods.
According to the audio playing method provided by the embodiment of the invention, the client can respond to the playing start event of the first audio and firstly play the second audio related to the first audio; and in the playing time period of the second audio, the first audio is not played. Subsequently, the client may replay the first audio in response to a play stop event of the second audio. By adopting the mode, when a user listens to a certain piece of audio through the client, the user can listen to the interpretation content related to the audio, so that the user reaching rate of the interpretation content related to the audio, which is issued by the audio creator, can be improved, the communication between the audio creator and the audience is enhanced, and the user experience of the audio creator and the audience is improved.
Drawings
The above and other objects, features and advantages of exemplary embodiments of the present invention will become readily apparent from the following detailed description read in conjunction with the accompanying drawings. Several embodiments of the invention are illustrated by way of example, and not by way of limitation, in the figures of the accompanying drawings and in which:
fig. 1 schematically illustrates an audio playing interface in the prior art;
fig. 2 schematically shows a flow chart of an audio playback method according to an embodiment of the present invention;
FIG. 3 schematically illustrates a schematic diagram of an audio distribution interface according to an embodiment of the invention;
FIG. 4 schematically illustrates a schematic view of an audio list interface according to an embodiment of the present invention;
FIG. 5 schematically illustrates a playlist interface according to an embodiment of the invention;
FIG. 6 is a schematic diagram of an audio playback interface according to an embodiment of the present invention;
FIG. 7 schematically illustrates a schematic diagram of another audio list interface according to an embodiment of the present invention;
FIG. 8 schematically illustrates a schematic diagram of another audio playback interface according to an embodiment of the present invention;
FIG. 9 is a schematic diagram illustrating yet another audio playback interface according to an embodiment of the present invention;
FIG. 10A schematically illustrates a further audio playback interface according to an embodiment of the present invention;
FIG. 10B is a schematic diagram illustrating yet another audio playback interface according to an embodiment of the invention;
FIG. 11A schematically illustrates a further audio playback interface according to an embodiment of the present invention;
FIG. 11B schematically illustrates a schematic diagram of a user comment interface in accordance with an embodiment of the present invention;
FIG. 12 schematically illustrates a schematic diagram of another user comment interface in accordance with an embodiment of the present invention;
FIG. 13 schematically shows a schematic view of a medium according to an embodiment of the invention;
fig. 14 schematically shows a block diagram of an audio playback apparatus according to an embodiment of the present invention;
FIG. 15 schematically shows a schematic diagram of a computing device according to an embodiment of the invention.
In the drawings, the same or corresponding reference numerals indicate the same or corresponding parts.
Detailed Description
The principles and spirit of the present invention will be described with reference to a number of exemplary embodiments. It is understood that these embodiments are given solely for the purpose of enabling those skilled in the art to better understand and to practice the invention, and are not intended to limit the scope of the invention in any way. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art.
As will be appreciated by one skilled in the art, embodiments of the present invention may be embodied as a system, apparatus, device, method, or computer program product. Thus, the present invention may be embodied in the form of: entirely hardware, entirely software (including firmware, resident software, micro-code, etc.), or a combination of hardware and software.
According to the embodiment of the invention, an audio playing method, an audio playing device, a storage medium and a computing device are provided.
In this document, any number of elements in the drawings is by way of example and not by way of limitation, and any nomenclature is used solely for differentiation and not by way of limitation.
The principles and spirit of the present invention are explained in detail below with reference to several representative embodiments of the invention.
Summary of The Invention
The inventor finds that, in the existing audio application, the method of presenting the audio-related explanation content published by the audio author in the user comment interface in the form of text results in that when a user listens to a certain piece of audio through the existing audio application, the user must enter the audio user comment interface to see the audio-related explanation content published by the audio author, and therefore the user reach rate of the audio-related explanation content published by the audio author is low.
In order to solve the above problem, the present invention provides an audio playing method, apparatus, storage medium and computing device, where a client may respond to a play start event of a first audio by first playing a second audio associated with the first audio; and in the playing time period of the second audio, the first audio is not played.
Subsequently, the client may play the first audio in response to the play stop event of the second audio.
By adopting the mode, when a user listens to a certain piece of audio through the client, the user can listen to the interpretation content related to the audio, so that the user reaching rate of the interpretation content related to the audio, which is issued by the audio creator, can be improved, the communication between the audio creator and the audience is enhanced, and the user experience of the audio creator and the audience is improved.
Having described the general principles of the invention, various non-limiting embodiments of the invention are described in detail below.
Application scene overview
It should be noted that the above application scenarios are merely illustrated for the convenience of understanding the spirit and principles of the present invention, and the embodiments of the present invention are not limited in this respect. Rather, embodiments of the present invention may be applied to any scenario where applicable.
According to the audio playing method provided by the embodiment of the invention, the client can respond to the playing start event of the first audio and firstly play the second audio related to the first audio; and in the playing time period of the second audio, the first audio is not played. Subsequently, the client may play the first audio in response to the play stop event of the second audio.
In practical applications, the second audio may be audio recorded by the creator of the first audio to explain the first audio, that is, the audio content of the second audio may be explanation content related to the first audio and issued by the creator of the first audio. For example, the first audio may be an original song and the second audio may be audio recorded by an author of the original song to address an authoring background of the original song.
Exemplary method
Generally, a user may install a client corresponding to a certain business activity in an electronic device used by the user; the electronic device can be a terminal device such as a smart phone, a tablet computer, a notebook computer, a palm computer, an intelligent wearable device, an intelligent vehicle-mounted device or a game machine.
In this case, the client may output an interface related to the business activity to the user, so that the user may perform an interactive operation in the interface; and the client can execute the business process related to the business activity based on the interaction operation of the user in the interface.
Taking a client corresponding to an audio application as an example, the client may output an audio playing interface for showing the audio being played to the user as shown in fig. 1. The user can execute operations of playing, pausing or switching to the next and the like in the audio playing interface; and the client can execute the corresponding business process aiming at the playing audio based on the operation of the user in the audio playing interface.
As shown in fig. 1, the audio playing interface may include a plurality of controls, such as: a display control 101 for displaying an audio picture (e.g., a cover picture of an album to which the song belongs), a play control 102 for playing audio, a switch control 103 for switching to the next, and so on. The user can execute a trigger operation aiming at the control in the audio playing interface so as to realize the interactive operation in the audio playing interface.
For example, the user may perform a trigger operation on the play control 102 in the audio play interface, such as: clicking a play control 102 in the audio play interface; and the client can respond to the trigger operation and play the corresponding audio in the audio playing interface.
Referring to fig. 2, fig. 2 schematically shows a flowchart of an audio playing method according to an embodiment of the present invention. The audio playing method may include the steps of:
step S201, responding to a play start event of a first audio, and playing a second audio associated with the first audio; wherein the first audio is not played within the playing time period of the second audio;
step S202, in response to the play stop event of the second audio, playing the first audio.
In this embodiment, a client (e.g., a client corresponding to an audio application, i.e., a client that implements a function of the audio application) may play a piece of audio (referred to as a first audio) associated with a first audio in response to a play start event of the piece of audio (referred to as a second audio); and in the playing time period of the second audio, the first audio is not played.
Subsequently, the client may play the first audio in response to the play stop event of the second audio.
In practical applications, the second audio may be audio recorded by the creator of the first audio to explain the first audio, that is, the audio content of the second audio may be explanation content related to the first audio and issued by the creator of the first audio. For example, the first audio may be an original song and the second audio may be audio recorded by an author of the original song to address an authoring background of the original song.
Specifically, the client of the audio-oriented author may output an audio publishing interface as shown in fig. 3 to the author of the audio. The creator of the first audio may upload the first audio and the second audio to be published in the audio publishing interface, and click a "publish" button in the audio publishing interface after the audio is uploaded, so as to send the first audio and the second audio to the background service system of the client, and the background service system stores the first audio and the second audio in an associated manner.
In this case, the client may send an audio obtaining request corresponding to the first audio to the background service system in response to a play start event of the first audio. When receiving the audio acquisition request, the background service system can search a first audio and a second audio stored in association with the first audio in an audio database docked with the background service system, and return the searched first audio and second audio to the client, so that the client plays the first audio and the second audio.
In practical applications, the client may determine that the play start event of the first audio is detected in two cases:
(1) the client may output an audio list interface for presenting an audio list 401 as shown in fig. 4 to the user. For any audio in the audio list 401, the user may perform a trigger operation on a display area corresponding to text representing an audio identifier (e.g., audio name) of the audio in the audio list interface, such as: clicking a display area corresponding to text representing an audio name of the audio in the audio list interface; and when the client detects the triggering operation of the user in the audio list interface for the display area, the client can determine that the playing start event of the audio is detected.
That is, the client may determine that a play start event of the first audio is detected when detecting a trigger operation of the user on a display area corresponding to text representing an audio identifier of the first audio in the audio list interface.
Taking audio 1 and audio 2 in the audio list 401 as an example, assuming that a user performs a trigger operation on the display area 402 corresponding to the text of "audio 1" in the audio list interface, the client may determine that a play start event of audio 1 is detected; assuming that the user performs a trigger operation for the display area 403 corresponding to the text of "audio 2" in the audio list interface, the client may determine that a play start event of audio 2 is detected.
(2) The client can play the audios in the playlist in sequence according to the audio arrangement sequence in the playlist. For any audio in the playlist, the client may automatically start playing the audio after the audio arranged one bit before the audio is played is completed. At this time, the client may determine that a play start event of the audio is detected after the audio play of the previous bit arranged in the audio is completed.
That is, the client may determine that the play start event of the audio is detected after the audio that is arranged in the playlist one bit before the first audio is played.
Taking the playlist interface for showing the playlist 501 as shown in fig. 5 as an example, in the playlist, the audio 2 is arranged at the front of the audio 1, so that the client can automatically start playing the audio 1 after the audio 2 is played, that is, determine that the play start event of the audio 1 is detected.
In an embodiment shown, in order to avoid the user from repeatedly listening to the second audio and affecting the user experience, the client may first determine whether the first audio is played for the first time in response to a play start event of the first audio. If the first audio is played for the first time, the client may play the second audio first, and in response to a play stop event of the second audio, play the first audio again. Accordingly, if the first audio is not played for the first time, the client may play the first audio directly.
Specifically, the client may store the history playing record of the first audio in a storage space of the terminal device where the client is located. At this time, the client may determine that the first audio is played for the first time when the history play record of the first audio is not detected, and determine that the first audio is not played for the first time when the history play record of the first audio is detected.
Or, the client may determine whether the historical playing times of the first audio is less than a preset threshold in response to the play start event of the first audio. If the historical playing times of the first audio is less than the threshold, the client may play the second audio first and then play the first audio in response to a play stop event of the second audio. Accordingly, if the historical number of plays of the first audio reaches the threshold, the client may play the first audio directly.
Specifically, the client may record the historical playing frequency of the first audio in a storage space of the terminal device where the client is located, and add 1 to the recorded historical playing frequency each time the first audio is played. At this time, the client may determine that the historical playing time of the first audio is less than the threshold when the historical playing record of the comparison record is less than the threshold, and determine that the historical playing time of the first audio reaches the threshold when the historical playing record of the comparison record reaches the threshold.
In an embodiment shown, the client may output a play control corresponding to the second audio in an audio play interface corresponding to the first audio.
In this case, on one hand, the client may stop playing the second audio and start playing the first audio from a playing start position of the first audio or start playing the first audio from a playing pause position of the first audio in response to a user's trigger operation for a playing control corresponding to the second audio in an audio playing interface corresponding to the first audio within a playing time period of the second audio.
Or, the client may stop playing the second audio when detecting that the second audio is played to the playing end position, and start playing the first audio from the playing start position of the first audio, or start playing the first audio from the playing pause position of the first audio.
On the other hand, when the client is within the playing time period of the first audio, in response to a triggering operation of a user for a triggering operation of a playing control corresponding to the second audio in an audio playing interface corresponding to the first audio, the client may stop playing the first audio and start playing the second audio from a playing start position of the second audio, or start playing the second audio from a playing pause position of the second audio.
In practical applications, the client may play the second audio (assuming that the audio duration is 30 seconds) first in response to a play start event of the first audio (assuming that the audio duration is 4 minutes); within the playing time period of the second audio, if a triggering operation of a user on a playing control corresponding to the second audio in an audio playing interface corresponding to the first audio is detected for the first time, the playing of the second audio may be stopped (assuming that the second audio has already been played to a position of 15 seconds at this time), and the playing of the first audio is started from a playing start position (i.e., a position of 0 minute and 0 second) of the first audio; within the playing time period of the first audio, if the triggering operation of the user for the playing control is detected for the second time, the playing of the first audio may be stopped (assuming that the first audio has been played to a position of 2 minutes and 30 seconds at this time), and the playing of the second audio may be started from a playing pause position (i.e. a position of 15 seconds) of the second audio, or the playing of the second audio may be started from a playing start position (i.e. a position of 0 seconds) of the second audio; within the playing time period of the second audio, if the triggering operation of the user for the playing control is detected for the third time, or the second audio is detected to be played to the playing end position (i.e. the position of 30 seconds), the playing of the second audio may be stopped, and the playing of the first audio is started from the playing pause position (i.e. the position of 2 minutes and 30 seconds) of the first audio, or the playing of the first audio is started from the playing start position of the first audio.
In combination with the foregoing manner of determining that the play start event of the first audio is detected, the client may output an audio play interface corresponding to the first audio under the following four conditions:
(1) when detecting a trigger operation of a user on a display area corresponding to a text representing an audio identifier of an audio in an audio list interface shown in fig. 4, the client may determine that a play start event of a first audio is detected, and jump to an audio play interface corresponding to the first audio; the audio playing interface can comprise a playing control corresponding to the second audio.
Assuming that the first audio is audio 1 in the audio list 401, and the second audio associated with audio 1 is audio a, when detecting a triggering operation of a user on the display area 402 corresponding to the text of "audio 1" in the audio list interface, the client may determine that a play start event of audio 1 is detected, and jump to the audio play interface corresponding to audio 1 as shown in fig. 6; the audio playing interface may include a playing control 601 corresponding to the audio a.
(2) The client may determine that a play start event of the first audio is detected when a user's trigger operation for a display region corresponding to text representing an audio identifier of the audio in an audio list interface as shown in fig. 4 is detected. In addition, an audio play bar can be output at the bottom of the audio list interface, and partial information (such as an audio name, an audio creator, a play control, a play list display control and the like) related to the first audio can be displayed in the audio play bar; the client side can respond to the triggering operation of a user in the audio playing bar for a display area corresponding to the text of the audio identifier representing the audio, and jump to an audio playing interface corresponding to the first audio; the audio playing interface can comprise a playing control corresponding to the second audio.
Assuming that the first audio is audio 1 in the audio list 401, and the second audio associated with audio 1 is audio a, the client may determine that a play start event of audio 1 is detected when detecting a triggering operation of a user on the display area 402 corresponding to the text of "audio 1" in the audio list interface. In addition, as shown in fig. 7, an audio play bar 701 may also be output at the bottom of the audio list interface, and part of the information related to audio 1 is shown in the audio play bar 701; the client may jump to the audio playing interface corresponding to audio 1 as shown in fig. 6 in response to a user's trigger operation in the audio playing bar for the display area 702 corresponding to the text of "audio 1"; the audio playing interface may include a playing control 601 corresponding to the audio a.
(3) The client can play the audio in an audio playing interface corresponding to the audio arranged in the previous position of the first audio in the playlist; after the audio playing is finished, the client can automatically start to play the first audio, and switch the audio playing interface corresponding to the audio into the audio playing interface corresponding to the first audio; the audio playing interface corresponding to the first audio may include a playing control corresponding to the second audio.
(4) The client can play the audio which is arranged at the front position of the first audio in the playing list in the audio playing bar; after the audio playing is completed, the client may automatically start to play the first audio, and at this time, the audio playing bar may include an interface jump control corresponding to the audio playing interface of the first audio. The client can respond to the triggering operation of a user for an interface jumping control in the audio list interface and jump to an audio playing interface corresponding to the first audio; the audio playing interface can comprise a playing control corresponding to the second audio.
In an illustrated embodiment, for a play control corresponding to a second audio in an audio play interface corresponding to a first audio, the client may detect whether a duration of a trigger operation in the audio play interface by a user reaches a preset threshold in response to the trigger operation for the play control in the audio play interface. If the duration of the trigger operation reaches the threshold, at least one operation control corresponding to the second audio can be output in the audio playing interface.
In practical applications, the triggering operation of the user for the play control in the audio play interface may be a clicking operation of the play control in the audio play interface.
For example, assuming that the threshold preset by the technician is 2 seconds, the user may click the play control corresponding to the second audio in the audio play interface corresponding to the first audio, and keep the click state for the play control; and the client can respond to the click operation of the user on the playing control in the audio playing interface, and detect whether the duration of the click state of the user aiming at the playing control reaches 2 seconds. And if the duration of the click state of the playing control held by the user reaches 2 seconds, outputting at least one operation control corresponding to the second audio in the audio playing interface.
In this case, the client may execute, in response to a trigger operation of the user for any one of the at least one operation control (referred to as a target operation control), an operation corresponding to the target operation control for the second audio.
Further, in one embodiment shown, the operation control corresponding to the second audio output in the audio playing interface corresponding to the first audio may include a voice recognition control.
In this case, the client may perform voice recognition on the second audio in response to a triggering operation of the user on the voice recognition control, so as to convert the second audio into a text, and output the converted text in the audio playing interface.
In another illustrated embodiment, the operation control corresponding to the second audio output in the audio playing interface corresponding to the first audio may include a sharing control.
In this case, the client may send, in response to a triggering operation of the user on the sharing control, the URL link with the audio playing interface to a user (referred to as a target user) selected by the user and needing to share the first audio with the user. The target user can enter the audio playing interface through the URL link, so that the first audio and the second audio can be listened to in the audio playing interface.
For example, assuming that the first audio is audio 1 and the second audio associated with audio 1 is audio a, the client may detect whether a duration of a trigger operation reaches a preset threshold value in response to the trigger operation of a user for the play control 801 corresponding to audio a in the audio play interface corresponding to audio 1 as shown in fig. 8. If the duration of the trigger operation reaches the threshold, the client may output the speech recognition control 802 and the sharing control 803 corresponding to the audio a in the audio playing interface. On one hand, the client may respond to a trigger operation of the user for the speech recognition control 802, perform speech recognition on the audio a to convert the audio a into a text, and output the converted text in the audio playing interface; on the other hand, the client may send the URL link with the audio playing interface to the target user selected by the user in response to the user's trigger operation for the sharing control 803.
In an illustrated embodiment, for a play control corresponding to a second audio in an audio play interface corresponding to a first audio, the client may detect, in response to a trigger operation of a user for the play control in the audio play interface, a movement trajectory of a trigger point of the trigger operation in the audio play interface.
In practical applications, the triggering operation of the user for the play control in the audio play interface may be a clicking operation of the play control in the audio play interface. At this time, the trigger point of the trigger operation may be a contact point of the user with the play control in the click operation. After the user clicks the play control in the audio play interface, the click state of the play control can be maintained, and the contact point is continuously moved in the audio play interface.
For example, the terminal device where the client is located may include a touchable screen, and the user may click the play control corresponding to the second audio in the audio play interface corresponding to the first audio through the touchable screen by using a finger, keep a click state for the play control, and slide the finger in the audio play interface to continuously move the contact point in the audio play interface.
In this case, the client may determine a moving direction and a moving distance of the trigger point based on the moving trajectory, and adjust the audio playing progress of the second audio based on the determined moving direction and the determined moving distance.
For example, assuming that the first audio is audio 1 and the second audio associated with audio 1 is audio a, the client may respond to a trigger operation of a user for a play control 901 corresponding to audio a in an audio play interface corresponding to audio 1 as shown in fig. 9, and when detecting that a trigger point of the trigger operation moves in the audio play interface, output a play progress bar 902 corresponding to audio a in the audio play interface. In addition, based on the moving track of the trigger point in the audio playing interface, the moving direction and the moving distance of the trigger point may be determined, and based on the determined moving direction and the determined moving distance, the position of the circular point representing the audio playing position of the audio a in the playing progress bar 902 may be adjusted to adjust the audio playing progress of the audio a, for example: assuming that the audio duration of the audio a is 30 seconds and the current audio a has been played to the position of 15 seconds, when it is determined that the moving direction of the trigger point is moving leftward by 1/6, which represents the total distance of the audio duration of the audio a, the audio playing progress of the audio a may be backed by 5(30 × 1/6 ═ 5) seconds, that is, the audio playing position of the audio a is adjusted to the position of 10 seconds.
In an embodiment shown, the client may output a function option menu in an audio playing interface corresponding to a first audio in response to a user's trigger operation for a menu display control corresponding to the function option menu in the audio playing interface; and the function option menu can comprise a switch option which indicates the display state of the playing control corresponding to the second audio.
In practical applications, the default state of the switch option is to instruct to start the playing control, that is, the default state is to display the playing control corresponding to the second audio in the audio playing interface corresponding to the first audio.
Correspondingly, when the user switches the switch option to indicate to close the playing control, the playing control can be hidden or closed, that is, the playing control corresponding to the second audio is not displayed in the audio playing interface corresponding to the first audio.
For example, assuming that the first audio is audio 1 and the second audio associated with audio 1 is audio a, the client may output a function option menu 1002 in an audio playing interface corresponding to the function option menu in response to a triggering operation of a user on a menu display control 1001 corresponding to the function option menu in the audio playing interface corresponding to audio 1 as shown in fig. 10A and 10B; among them, the function menu options 1002 may include a switch option 1004 indicating a presentation state of the play control 1003 corresponding to the audio a. As shown in fig. 10A, the default state of the switch option 1004 is to indicate that the play control is turned on, and at this time, the play control 1003 can be presented in the audio playing interface. Accordingly, as shown in fig. 10B, when the user switches the switch option 1004 to indicate to close the play control, the play control 1003 may be hidden or closed, and at this time, the play control 1003 is no longer exposed in the audio playing interface.
In an embodiment shown, the client may jump to the user comment interface in response to a user's trigger operation for an interface jump control corresponding to the user comment interface, and output a play control corresponding to the second audio in the user comment interface.
In this case, the client may play the second audio in response to a triggering operation of the user on the play control in the user comment interface.
Further, in the illustrated embodiment, in order to remind the user to listen to the second audio, before outputting the play control corresponding to the second audio in the user comment interface, it may be determined whether the second audio has already been played. If the second audio has not been played, the play control may be output in the user comment interface, and an unplayed mark may be added to the play control, for example: and adding a dot mark representing that the playing control is not played. If the second audio has already been played, the play control may be output directly in the user comment interface.
Specifically, the client may store the history playing record of the second audio in the storage space of the terminal device where the client is located. At this time, the client may determine that the second audio has not been played when the history play record of the second audio is not detected, and determine that the second audio has been played when the history play record of the second audio is detected.
For example, assuming that the first audio is audio 1 and the second audio associated with audio 1 is audio a, the client may jump to the user comment interface shown in fig. 11B in response to a user's trigger operation on an interface jump control 1101 corresponding to the user comment interface in an audio play interface corresponding to audio 1 shown in fig. 11A, and output a play control 1102 corresponding to audio a in the user comment interface. Assuming that audio a has not been played at this time, a dot mark 1103 indicating that the audio a has not been played may also be added to the play control 1102 in the user comment interface.
In an illustrated embodiment, for a play control corresponding to the second audio in the user comment interface, the client may detect whether a duration of a trigger operation in the user comment interface reaches a preset threshold in response to the trigger operation of the user for the play control in the user comment interface. If the duration of the trigger operation reaches the threshold, at least one operation control corresponding to the second audio can be output in the user comment interface.
In this case, the client may execute, in response to a trigger operation of the user for any one of the at least one operation control (referred to as a target operation control), an operation corresponding to the target operation control for the second audio.
Further, in one illustrated embodiment, the operation control corresponding to the second audio output in the user comment interface may include a voice recognition control.
In this case, the client may perform voice recognition on the second audio in response to a triggering operation of the user on the voice recognition control, so as to convert the second audio into a text, and output the converted text in the user comment interface.
In an illustrated embodiment, for a play control corresponding to the second audio in the user comment interface, the client may detect, in response to a trigger operation of the user for the play control in the user comment interface, a movement track of a trigger point of the trigger operation in the audio play interface.
In this case, the client may determine a moving direction and a moving distance of the trigger point based on the moving trajectory, and adjust the audio playing progress of the second audio based on the determined moving direction and the determined moving distance.
In an embodiment shown, the client may further output at least one operation control corresponding to the second audio in the user comment interface.
In this case, the client may execute, in response to a trigger operation of the user for any one of the at least one operation control (referred to as a target operation control), an operation corresponding to the target operation control for the second audio.
Further, in one illustrated embodiment, the operation control corresponding to the second audio output in the user comment interface may include a comment reply control and/or a comment like control. The user can perform triggering operation on the comment reply control in the user comment interface so as to reply to the second audio; alternatively, the user may perform a trigger operation for the comment like control in the user comment interface to like for the second audio.
For example, assuming that the first audio is audio 1 and the second audio associated with audio 1 is audio a, the client may output a play control 1201 corresponding to audio a, and a comment reply control 1202 and a comment approval control 1203 corresponding to the second audio in the user comment interface as shown in fig. 12.
In summary, according to the audio playing method of the embodiment of the present invention, the client may respond to the play start event of the first audio by first playing the second audio associated with the first audio; and in the playing time period of the second audio, the first audio is not played. Subsequently, the client may replay the first audio in response to a play stop event of the second audio. By adopting the mode, when a user listens to a certain audio through the client, the user can listen to the interpretation content related to the audio firstly, so that the user reaching rate of the interpretation content related to the audio, which is issued by the audio creator, can be improved, the communication between the audio creator and the audience is enhanced, and the user experience of the audio creator and the audience is improved
Exemplary Medium
Having described the method of the exemplary embodiment of the present invention, the medium of the exemplary embodiment of the present invention will next be described with reference to fig. 13.
In the present exemplary embodiment, the above-described method may be implemented by a program product, such as a portable compact disc read only memory (CD-ROM) and including program code, and may be executed on a device, such as a personal computer. However, the program product of the present invention is not limited in this regard and, in the present document, a readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable 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 disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
A computer readable signal medium may include a propagated data signal with readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A readable signal medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RE, etc., or any suitable combination of the foregoing.
Program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the C language or similar programming languages. The program code may execute entirely on the user computing device, partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., through the internet using an internet service provider).
Exemplary devices
Having described the media of the exemplary embodiments of the present invention, the apparatus of the exemplary embodiments of the present invention is next described with reference to fig. 14.
Fig. 14 schematically shows a block diagram of an audio playback apparatus according to an embodiment of the present invention. The audio playing device may include:
a first playing module 1401, configured to play a second audio associated with a first audio in response to a play start event of the first audio; wherein the first audio is not played within the playing time period of the second audio;
a second playing module 1402, configured to play the first audio in response to a play stop event of the second audio.
Optionally, the first playing module 1401 is specifically configured to:
in response to a play start event of a first audio, determining whether the first audio is played for the first time; if so, playing a second audio associated with the first audio; or,
responding to a play start event of a first audio, and determining whether the historical play times of the first audio is smaller than a preset threshold value; and if so, playing second audio associated with the first audio.
Optionally, an audio playing interface corresponding to the first audio includes a playing control corresponding to the second audio;
the second playing module 1402 is specifically configured to:
in the playing time period of the second audio, in response to the triggering operation of the user for the playing control, stopping playing the second audio, and starting to play the first audio from the playing start position of the first audio, or starting to play the first audio from the playing pause position of the first audio; or,
when the second audio is detected to be played to the playing end position, the second audio is stopped being played, and the first audio is played from the playing start position of the first audio, or the first audio is played from the playing pause position of the first audio.
Optionally, an audio playing interface corresponding to the first audio includes a playing control corresponding to the second audio;
the second playing module 1402 is further configured to:
and in response to the triggering operation of the user for the playing control in the playing time period of the first audio, stopping playing the first audio, and starting to play the second audio from the playing start position of the second audio, or starting to play the second audio from the playing pause position of the second audio.
Optionally, the apparatus further comprises:
a first detection module 1403, configured to respond to a trigger operation of a user for the play control, and detect whether a duration of the trigger operation reaches a preset threshold;
a first output module 1404, configured to output at least one operation control corresponding to the second audio in the audio playing interface when the duration of the trigger operation reaches the threshold;
a first executing module 1405, configured to, in response to a trigger operation of a user on any target operation control in the at least one operation control, execute an operation corresponding to the target operation control on the second audio.
Optionally, the operational controls include voice recognition controls;
the first execution module 1405 is specifically configured to:
and responding to the triggering operation of the user for the voice recognition control, performing voice recognition on the second audio to convert the second audio into a text, and outputting the text in the audio playing interface.
Optionally, the operation control comprises a sharing control;
the first execution module 1405 is specifically configured to:
and responding to the triggering operation of the user for the sharing control, and sending the URL link of the audio playing interface to a target user selected by the user.
Optionally, the apparatus further comprises:
the second detection module 1406 is used for responding to a trigger operation of a user for the play control, and detecting a moving track of a trigger point of the trigger operation in the audio play interface;
a first adjusting module 1407, configured to determine a moving direction and a moving distance of the trigger point based on the moving track, and adjust an audio playing progress of the second audio based on the moving direction and the moving distance.
Optionally, the apparatus further comprises:
a second output module 1408, configured to output a function option menu in the audio playing interface in response to a user's trigger operation on a menu display control corresponding to the function option menu in the audio playing interface; the function option menu comprises a switch option for indicating the display state of the playing control;
a closing module 1409, configured to hide or close the play control when the user switches the switch option to indicate to close the play control.
Optionally, the apparatus further comprises:
the skipping module 1410 is configured to skip to the user comment interface in response to a user's trigger operation for an interface skipping control corresponding to the user comment interface, and output a play control corresponding to the second audio in the user comment interface;
a third playing module 1411, configured to play the second audio in response to a user's triggering operation on the playing control.
Optionally, the skip module 1410 is specifically configured to:
determining whether the second audio has already been played;
and if the second audio is not played, outputting the playing control in a user comment interface, and adding an unplayed mark for the playing control.
Optionally, the apparatus further comprises:
a third detecting module 1412, configured to detect, in response to a trigger operation of a user for the play control, whether a duration of the trigger operation reaches a preset threshold;
a third output module 1413, configured to output at least one operation control corresponding to the second audio in the user comment interface when the duration of the trigger operation reaches the threshold;
the second executing module 1414 is configured to, in response to a triggering operation of a user for any target operation control in the at least one operation control, execute an operation corresponding to the target operation control for the second audio.
Optionally, the operational controls include voice recognition controls;
the second execution module 1414 is specifically configured to:
and responding to the triggering operation of the user on the voice recognition control, performing voice recognition on the second audio to convert the second audio into text, and outputting the text in the user comment interface.
Optionally, the apparatus further comprises:
a fourth detection module 1415, configured to detect, in response to a trigger operation of a user on the play control, a movement trajectory of a trigger point of the trigger operation in the user comment interface;
a second adjusting module 1416, configured to determine a moving direction and a moving distance of the trigger point based on the moving track, and adjust an audio playing progress of the second audio based on the moving direction and the moving distance.
Optionally, the apparatus further comprises:
a fourth output module 1417, configured to output at least one operation control corresponding to the second audio in the user comment interface;
a third executing module 1418, configured to, in response to a triggering operation of a user for any target operation control in the at least one operation control, execute an operation corresponding to the target operation control for the second audio.
Optionally, the operation control comprises a comment reply control and/or a comment like control.
Exemplary computing device
Having described the method, medium, and apparatus of exemplary embodiments of the present invention, a computing device of exemplary embodiments of the present invention is described next with reference to FIG. 15.
The computing device 1500 shown in FIG. 15 is only one example and should not be taken to limit the scope of use and functionality of embodiments of the present invention.
As shown in fig. 15, computing device 1500 is in the form of a general purpose computing device. Components of computing device 1500 may include, but are not limited to: the at least one processing unit 1501 and the at least one storage unit 1502 are connected to a bus 1503 of different system components (including the processing unit 1501 and the storage unit 1502).
Bus 1503 includes a data bus, a control bus, and an address bus.
The storage unit 1502 may include readable media in the form of volatile memory, such as Random Access Memory (RAM)15021 and/or cache memory 15022, and may further include readable media in the form of non-volatile memory, such as Read Only Memory (ROM) 15023.
The storage unit 1502 may also include a program/utility 15025 having a set (at least one) of program modules 15024, such program modules 15024 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may comprise an implementation of a network environment.
Computing device 1500 may also communicate with one or more external devices 1504 (e.g., keyboard, pointing device, etc.).
Such communication may occur via input/output (I/O) interface 1505. Moreover, the computing device 1500 can also communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the internet) through the network adapter 1506. As shown in fig. 15, the network adapter 1506 communicates with the other modules of the computing device 1500 via bus 1503. It should be understood that although not shown in the figures, other hardware and/or software modules may be used in conjunction with computing device 1500, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
It should be noted that although in the above detailed description several units/modules or sub-units/modules of the audio playback apparatus are mentioned, this division is merely exemplary and not mandatory. Indeed, the features and functionality of two or more of the units/modules described above may be embodied in one unit/module according to embodiments of the invention. Conversely, the features and functions of one unit/module described above may be further divided into embodiments by a plurality of units/modules.
Moreover, while the operations of the method of the invention are depicted in the drawings in a particular order, this does not require or imply that the operations must be performed in this particular order, or that all of the illustrated operations must be performed, to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step execution, and/or one step broken down into multiple step executions.
While the spirit and principles of the invention have been described with reference to several particular embodiments, it is to be understood that the invention is not limited to the disclosed embodiments, nor is the division of aspects, which is for convenience only as the features in such aspects may not be combined to benefit. The invention is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims.

Claims (10)

1. An audio playing method, applied to a client, includes:
playing second audio associated with first audio in response to a play start event of the first audio; wherein the first audio is not played within the playing time period of the second audio;
playing the first audio in response to a play stop event of the second audio.
2. The method of claim 1, the playing a second audio associated with a first audio in response to a play start event of the first audio, comprising:
in response to a play start event of a first audio, determining whether the first audio is played for the first time; if so, playing a second audio associated with the first audio; or,
responding to a play start event of a first audio, and determining whether the historical play times of the first audio is smaller than a preset threshold value; and if so, playing second audio associated with the first audio.
3. The method of claim 1, wherein an audio playback interface corresponding to the first audio includes a playback control corresponding to the second audio;
the playing the first audio in response to the play stop event of the second audio, comprising:
when the second audio is in the playing time period, in response to the triggering operation of the user for the playing control, stopping playing the second audio, and starting to play the first audio from the playing start position of the first audio, or starting to play the first audio from the playing pause position of the first audio; or,
when the second audio is detected to be played to the playing end position, the second audio is stopped being played, and the first audio is played from the playing start position of the first audio, or the first audio is played from the playing pause position of the first audio.
4. The method of claim 1, wherein an audio playback interface corresponding to the first audio includes a playback control corresponding to the second audio;
the method further comprises the following steps:
and when the first audio is in the playing time period, responding to the triggering operation of the user for the playing control, stopping playing the first audio, and starting to play the second audio from the playing starting position of the second audio, or starting to play the second audio from the playing pause position of the second audio.
5. The method of claim 3 or 4, further comprising:
responding to the trigger operation of a user for the play control, and detecting whether the duration of the trigger operation reaches a preset threshold value;
if the duration of the trigger operation reaches the threshold, outputting at least one operation control corresponding to the second audio in the audio playing interface;
and responding to the triggering operation of the user for any target operation control in the at least one operation control, and executing the operation corresponding to the target operation control for the second audio.
6. The method of claim 3 or 4, further comprising:
responding to a trigger operation of a user for the playing control, and detecting a moving track of a trigger point of the trigger operation in the audio playing interface;
and determining the moving direction and the moving distance of the trigger point based on the moving track, and adjusting the audio playing progress of the second audio based on the moving direction and the moving distance.
7. The method of claim 1, further comprising:
responding to a triggering operation of a user for an interface jumping control corresponding to the user comment interface, jumping to the user comment interface, and outputting a playing control corresponding to the second audio in the user comment interface;
and responding to the triggering operation of the user for the playing control, and playing the second audio.
8. An audio playback device, the device comprising:
the first playing module is used for responding to a playing starting event of a first audio and playing a second audio related to the first audio; wherein the first audio is not played within the playing time period of the second audio;
and the second playing module is used for responding to the playing stop event of the second audio and playing the first audio.
9. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1-7.
10. A computing device, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor implements the method of any one of claims 1-7 by executing the executable instructions.
CN202110711419.8A 2021-06-25 2021-06-25 Audio playing method, device, storage medium and computing equipment Active CN113282269B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110711419.8A CN113282269B (en) 2021-06-25 2021-06-25 Audio playing method, device, storage medium and computing equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110711419.8A CN113282269B (en) 2021-06-25 2021-06-25 Audio playing method, device, storage medium and computing equipment

Publications (2)

Publication Number Publication Date
CN113282269A true CN113282269A (en) 2021-08-20
CN113282269B CN113282269B (en) 2023-05-05

Family

ID=77285620

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110711419.8A Active CN113282269B (en) 2021-06-25 2021-06-25 Audio playing method, device, storage medium and computing equipment

Country Status (1)

Country Link
CN (1) CN113282269B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114554278A (en) * 2022-01-28 2022-05-27 青岛海尔科技有限公司 Play control method and device, storage medium and electronic device
CN114786063A (en) * 2022-03-11 2022-07-22 北京字跳网络技术有限公司 Audio and video processing method, device and equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130322855A1 (en) * 2012-06-04 2013-12-05 Mstar Semiconductor, Inc. Playback method and apparatus
CN105161120A (en) * 2015-08-27 2015-12-16 广州酷狗计算机科技有限公司 Original and accompanying singing switching method and apparatus
CN106331841A (en) * 2016-09-19 2017-01-11 海信集团有限公司 Network speed information indicating method and network speed information indicating device
CN107885823A (en) * 2017-11-07 2018-04-06 广东欧珀移动通信有限公司 Player method, device, storage medium and the electronic equipment of audio-frequency information
CN110503991A (en) * 2019-08-07 2019-11-26 Oppo广东移动通信有限公司 Voice broadcast method, device, electronic equipment and storage medium
CN112214706A (en) * 2020-09-27 2021-01-12 北京字节跳动网络技术有限公司 Information publishing method and device, electronic equipment and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130322855A1 (en) * 2012-06-04 2013-12-05 Mstar Semiconductor, Inc. Playback method and apparatus
CN105161120A (en) * 2015-08-27 2015-12-16 广州酷狗计算机科技有限公司 Original and accompanying singing switching method and apparatus
CN106331841A (en) * 2016-09-19 2017-01-11 海信集团有限公司 Network speed information indicating method and network speed information indicating device
CN107885823A (en) * 2017-11-07 2018-04-06 广东欧珀移动通信有限公司 Player method, device, storage medium and the electronic equipment of audio-frequency information
CN110503991A (en) * 2019-08-07 2019-11-26 Oppo广东移动通信有限公司 Voice broadcast method, device, electronic equipment and storage medium
CN112214706A (en) * 2020-09-27 2021-01-12 北京字节跳动网络技术有限公司 Information publishing method and device, electronic equipment and storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114554278A (en) * 2022-01-28 2022-05-27 青岛海尔科技有限公司 Play control method and device, storage medium and electronic device
CN114554278B (en) * 2022-01-28 2023-12-19 青岛海尔科技有限公司 Playing control method and device, storage medium and electronic device
CN114786063A (en) * 2022-03-11 2022-07-22 北京字跳网络技术有限公司 Audio and video processing method, device and equipment and storage medium
CN114786063B (en) * 2022-03-11 2023-12-05 北京字跳网络技术有限公司 Audio and video processing method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN113282269B (en) 2023-05-05

Similar Documents

Publication Publication Date Title
CN107172454B (en) Video recommendation method, medium, device and computing equipment
US9977584B2 (en) Navigating media playback using scrollable text
KR102196671B1 (en) Electronic Device And Method Of Controlling The Same
CN111970257B (en) Manuscript display control method and device, electronic equipment and storage medium
CN109348254B (en) Message pushing method, device, computer equipment and storage medium
CN111221450B (en) Information display method and device, electronic equipment and storage medium
CN110109607B (en) Information processing method and device, electronic equipment and storage medium
US20220198403A1 (en) Method and device for interacting meeting minute, apparatus and medium
CN113282269B (en) Audio playing method, device, storage medium and computing equipment
CN104811812A (en) Audio and video play progress control method, apparatus and system
CN112987999B (en) Video editing method and device, computer readable storage medium and electronic equipment
CN112987996B (en) Information display method, information display device, electronic equipment and computer readable storage medium
CN113296669A (en) Music social contact realization method and device, storage medium and electronic equipment
CN103500122A (en) Multimedia file playing method and electronic equipment
CN112135182B (en) List processing method, list processing apparatus, storage medium, and electronic device
CN114374868A (en) Method, apparatus, medium, and computing device for adjusting video playing speed
CN112836156A (en) Page switching method and device, electronic equipment and computer readable storage medium
JP6474728B2 (en) Enhanced information gathering environment
CN113392260B (en) Interface display control method, device, medium and electronic equipment
CN115098723A (en) Audio playing method, device, medium and computing equipment
CN112989102A (en) Audio playing control method and device, storage medium and terminal equipment
CN110941472A (en) Function switching method, medium, device and computing equipment
CN113868445A (en) Continuous playing position determining method and continuous playing system
CN107340968B (en) Method, device and computer-readable storage medium for playing multimedia file based on gesture
KR102488623B1 (en) Method and system for suppoting content editing based on real time generation of synthesized sound for video content

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant