Home > Back-end >  C builder design audio players how to display the lyrics
C builder design audio players how to display the lyrics

Time:10-06

My c + + builder screenshot

How to add some controls to achieve the lyrics, according to
Pray god to help

CodePudding user response:

The first thing you need to be able to connected to the Internet to download the lyrics, the singer your itself has the lyrics file.
Then you look at the lyrics file format.

http://baike.baidu.com/subview/80650/8795771.htm? fr=aladdin

CodePudding user response:

Extract the LRC England file in time axis, and then according to the broadcast time display

CodePudding user response:

I have the lyrics song file file, but will not be an Irc file according to song progress

CodePudding user response:

Add a timer, the time interval locating 0.1 seconds, and then in the timer event to calculate play time, then in the LRC England file according to the timeline to extract the corresponding lyrics display

CodePudding user response:

reference 4 floor dataxdata response:
, add a timer interval locating 0.1 seconds, and then play time calculated in the timer event, and then in the LRC England file according to the timeline to extract the corresponding lyrics display


This way more consumption of resources, it is best to calculate the next words of time, and then set a regular time, to show, and then read the next... I'm only a few M frequency, dozens of K memory is that of single chip microcomputer.









CodePudding user response:

Experts say the along while, or aunt wang wang, the building Lord the question now is how to parse LRC England file, see here:

http://www.oschina.net/code/snippet_118578_3199
  • Related