CN-121979471-A - Interactive control method and device for audio playing and electronic equipment
Abstract
The invention provides an interactive control method, an interactive control device and electronic equipment for audio playing, wherein the method comprises the steps of playing target audio, interrupting the playing of the target audio in response to an interruption instruction aiming at the target audio, playing interactive audio, wherein the interactive audio is matched with the tone of the target audio, collecting first user audio, generating first reply audio based on the first user audio, playing the first reply audio, and continuing to play the target audio in response to an interruption ending instruction. The method enriches the interaction mode of listening to the audio, improves the user participation degree, and is beneficial to improving the user viscosity of the platform.
Inventors
- DAI XINLIANG
- LI ZHAOMING
- CHEN MIAORONG
- CHEN JINHAI
Assignees
- 杭州网易云音乐科技有限公司
Dates
- Publication Date
- 20260505
- Application Date
- 20251128
Claims (10)
- 1. An interactive control method for audio playing, the method comprising: Playing the target audio; Interrupting playing the target audio in response to an interruption instruction aiming at the target audio, and playing interactive audio, wherein the interactive audio is matched with the tone of the target audio; Collecting first user audio; generating first reply audio based on the first user audio, and playing the first reply audio; and responding to an interruption ending instruction, and continuing to play the target audio.
- 2. The method of claim 1, wherein prior to the step of playing the interactive audio, the method further comprises: Extracting tone characteristics of a biological sound source from the target audio, wherein the tone characteristics are used for indicating tone of the biological sound source in the target audio; and generating the interactive audio based on the tone characteristics and a preset interactive text.
- 3. The method of claim 2, wherein the step of extracting timbre characteristics of a biological sound source from the target audio comprises: Generating an audio text corresponding to the target audio, wherein the audio text comprises at least one text sentence in the target audio and time information of the text sentence in the target audio; Extracting an audio fragment which is of a specified duration and contains the biological sound source from the target audio based on the audio text; And extracting tone characteristics of the biological sound source from the audio fragment.
- 4. The method of claim 1, wherein prior to the step of interrupting playing the target audio and playing the interactive audio in response to an interrupt instruction for the target audio, the method further comprises: monitoring the starting state of an audio acquisition function in terminal equipment for playing the target audio; And responding to the starting of the audio acquisition function, and generating an interrupt instruction aiming at the target audio.
- 5. The method of claim 1, wherein the step of generating first reply audio based on the first user audio comprises: generating a first text corresponding to the first user audio, wherein the first text comprises sentences in the first user audio; generating a reply text based on the first text and the audio text corresponding to the target audio; and generating a first reply audio corresponding to the reply text.
- 6. The method of claim 1, wherein generating a first reply audio based on the first user audio, playing the first reply audio, further comprises: playing the buffer audio corresponding to the target audio, wherein the buffer audio is generated in advance based on tone characteristics of biological sources in the target audio and a preset buffer text; And playing the first reply audio after the first reply audio is generated.
- 7. The method of claim 1, wherein prior to the step of continuing to play the target audio in response to an interrupt end instruction, the method further comprises: And determining a continued playing position of the target audio based on the first text corresponding to the first user audio, the interrupted playing position of the target audio and the audio text corresponding to the target audio, wherein the continued playing position is used for continuing to play the target audio from the continued playing position when the interrupted ending instruction is generated.
- 8. An interactive control device for audio playback, the device comprising: the audio playing module is used for playing target audio; the interaction module is used for responding to the interruption instruction aiming at the target audio, interrupting playing the target audio and playing the interaction audio, wherein the interaction audio is matched with the tone of the target audio; the audio acquisition module is used for acquiring the audio of the first user; the reply module is used for generating first reply audio based on the first user audio and playing the first reply audio; and the continuous playing module is used for responding to the interrupt ending instruction and continuously playing the target audio.
- 9. An electronic device comprising a processor and a memory, the memory storing computer-executable instructions executable by the processor, the processor executing the computer-executable instructions to implement the interactive control method of audio playback of any one of claims 1-7.
- 10. A computer readable storage medium storing computer executable instructions which, when invoked and executed by a processor, cause the processor to implement the interactive control method of audio playback of any one of claims 1-7.
Description
Interactive control method and device for audio playing and electronic equipment Technical Field The present invention relates to the field of audio processing technologies, and in particular, to an interactive control method and apparatus for audio playing, and an electronic device. Background In the podcast scene, the recorded audio files are uploaded in the podcast platform, and the user listens to the audio files by accessing the podcast platform. The interaction mode for listening to the audio file is single, the user participation is low, and the user viscosity of the platform is not facilitated. Disclosure of Invention Therefore, the invention aims to provide an interactive control method, an interactive control device and electronic equipment for audio playing, which are used for enriching the interaction mode of listening to audio files, improving the user participation and improving the user viscosity of a platform. In a first aspect, an embodiment of the present invention provides an interactive control method for audio playing, where the method includes playing a target audio, interrupting playing the target audio in response to an interruption instruction for the target audio, playing an interactive audio, where the interactive audio matches a tone of the target audio, collecting a first user audio, generating a first reply audio based on the first user audio, playing the first reply audio, and continuing playing the target audio in response to an interruption end instruction. In a second aspect, the embodiment of the invention provides an interactive control device for audio playing, which comprises an audio playing module, an interactive module, an audio acquisition module, a reply module and a resume playing module, wherein the audio playing module is used for playing target audio, the interactive module is used for responding to an interrupt instruction aiming at the target audio, interrupting the playing of the target audio, playing the interactive audio, the interactive audio is matched with the tone of the target audio, the audio acquisition module is used for acquiring first user audio, the reply module is used for generating first reply audio based on the first user audio, playing the first reply audio, and the resume playing module is used for responding to an interrupt end instruction and continuing playing the target audio. In a third aspect, an embodiment of the present invention provides an electronic device, including a processor and a memory, where the memory stores computer executable instructions executable by the processor, and the processor executes the computer executable instructions to implement the interactive control method for audio playing described above. In a fourth aspect, an embodiment of the present invention provides a computer readable storage medium, where computer executable instructions are stored, where when the computer executable instructions are called and executed by a processor, the computer executable instructions cause the processor to implement the interactive control method for audio playing described above. The embodiment of the invention has the following beneficial effects: The interactive control method, the device and the electronic equipment for playing the audio play are used for playing the target audio, interrupting the playing of the target audio in response to an interruption instruction aiming at the target audio, playing the interactive audio, wherein the interactive audio is matched with the tone of the target audio, collecting the first user audio, generating the first reply audio based on the first user audio, playing the first reply audio, and continuing to play the target audio in response to an interruption ending instruction. In the mode, after the audio playing is interrupted, the user is guided to send out user audio through the interactive audio, and then the reply audio is generated and played based on the user audio, so that the bidirectional interaction between the audio and the user in the audio playing process is realized, the interaction mode of listening to the audio is enriched, the user participation degree is improved, and the user viscosity of the platform is improved. Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings. In order to make the above objects, features and advantages of the present invention more comprehensible, preferred embodiments accompanied with figures are described in detail below. Drawings In order to more clearly illustrate the embodiments of the invention or the technical solutions in the prior art, the drawings that are needed in the description