Method and device for playing songs

A playback method and song technology, applied in the computer field, can solve problems such as the inability to achieve seamless playback of songs

Active Publication Date: 2020-11-03
成都酷狗创业孵化器管理有限公司
View PDF11 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The embodiment of the present invention provides a method and device for playing songs, which can solve the problem that related technologies cannot realize seamless playback of songs

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for playing songs
  • Method and device for playing songs
  • Method and device for playing songs

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0047] In order to make the object, technical solution and advantages of the present invention clearer, the implementation manner of the present invention will be further described in detail below in conjunction with the accompanying drawings.

[0048] figure 1 It is a flow chart of a song playing method provided by an embodiment of the present invention. see figure 1 ,

[0049] The method includes:

[0050] 101. Start the first thread and the second thread.

[0051] 102. Use the first thread to provide audio data of the first song for playback, and use the second thread to preload the audio data of the second song.

[0052] 103. When the audio data of the first song is finished playing, start playing the loaded audio data of the second song.

[0053] In the method provided by the embodiment of the present invention, two working threads are started, one thread is responsible for providing the audio data of one song for playing, and the other thread is responsible for prel...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a song playing method and a device, and belongs to the technical field of computers. The method comprises the following steps of: turning on a first thread and a second thread;providing audio data of the first song for playing by the first thread, and pre-loading audio data of the second song by the second thread; and playing the loaded audio data of the second song when the audio data of the first song is played. According to the song playing method and the device, by pre-loading the audio data of the next song before the audio data of the current song is played, theterminal can play the audio data of another song in time after playing the audio data of the current song, so that the problem of time gap in switching playing of the song can be avoided, and seamlessplaying of different songs can be realized.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a song playing method and device. Background technique [0002] With the development of computer technology, various music applications emerge one after another. Users can install these music applications on the terminal, and then use the terminal installed with the music application to play audio data of songs. [0003] At present, the terminal can automatically switch the playback of the song. Specifically, after the terminal finishes playing the current song, it first cleans up some resources, and then loads the audio data of the next song. After a certain amount of audio data is loaded, it starts playing again. Audio data for the next song. [0004] In the process of realizing the present invention, the inventors have found that the related technologies have at least the following problems: [0005] After the current song is played, the audio data of the next song starts ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Patents(China)
IPC IPC(8): G11B20/10
CPCG11B20/10018G11B20/10527G11B2020/10675
Inventor 刘东平
Owner 成都酷狗创业孵化器管理有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products