The LRC is an abbreviation for the English lyric (lyrics), and is used as an extension of the lyrics file. The text file with the LRC extension can be displayed synchronously in various digital players. The LRC lyrics are a text-only-based lyrics-only format that contains the "*:*" form of the tag.
1. identificat
Well, it was supposed to have been written last night, and it's been dragged to this morning because of some problems with the system. All right, no more nonsense.Always listen to the song, must have seen the lyrics it. Of course, the lyrics we're going to talk about here are the words with the LRC suffix. In addition, there are lyrics in QRC,KRC format. But in contrast, the
Cool Dog Download lyrics are KRC files, KRC format files for cool dog music unique Sync lyrics format file, but our other music players use the LRC format sync lyrics, then how can we convert KRC file to our own LRC file? Below provides two kinds of methods for everyone's re
", note that the extension is". LRC ".LRC lyrics file format description
A file with the extension of LRC is the only lyrics file that can be recognized by the MP3 player. The lyrics can be displayed in a synchronized manner in the MP3 digital player or quiet listen.It is a specialized text-based lyrics
With a single English string, we can get the entire English string array, as shown below:
Public list
The cycle here is different from the acquisition time. I believe the viewer can understand why.
How can I obtain the file content? LRC is a text file. You can use file. readalllines provided by C # To get all the lines:
Private string [] Read the LRC file (string media file name) {// change the file name
Currently the music players on the market that show the lyrics have the same rules that require songs and. LRC lyrics have the same file name (that is, except for the extension. mp3,. wma 、.. LRC and so on, the point before the text, text format to be exactly the same, and placed in the same directory (that is, the same folder), with the display lyrics function o
LRC lyrics synchronization, we see the baidu Online lyrics synchronization function, now we also use flash to achieveSynchronization of lrc lyricsAndSynchronous display of lrc lyricsYou can also copy the text content, create a text document under "C: \ My Player \ LRC \", and paste the content, save the docum
Recently in a cool dog music lyrics collection found that cool dog music lyrics directly browse are "garbled", I usually see the lyrics are LRC format text, this cool dog-specific KRC format is apparently specially handled, usually with a cool dog to listen to music is not careful to see his lyrics are different, Just as with the daily listening to the difference
LRC Overview
LRC lyrics are specialized text-based lyrics that contain "tags" in the form. It was first proposed and applied in the program by Mr. Guo Xiangxiang (djohan. This type of lyrics file can be used to implement karaoke functions (special programs are required), and can be viewed and edited using common text processing software. Of course, in actual operations, special
The tutorial since Winamp out a mini lyrics, the author has been in the heart itch, want to find a time to do one myself.
Now do it, everybody preview the effect first.
Test address A
asp5.6to23.com/7years/yiyuan7years/hbro/player/mp3player_x1.swf
Test Address Two
download.incoo.com/blueidea/hbro/player/mp3player_x1.swf
The lyrics are now standard Winamp's LRC files, downloaded from elsewhere, without any modifications,
That is, this player can be u
. * ;
Import Java.util. * ;
/**
* Lyrics Interpretation class, for the LRC lyrics file parsing
*/
public class Lrcanalystbase
{
/**
* LRC File Buffer
*/
private static Vector lyrics;
/**
* Formatted lyrics time and index, format reference Timeandindex class
*/
private static Vector Lrctimevalandindex;
/**
* Returns the index container for saving lyrics time and
Baidu:SoundHttp://box.zhangmen.baidu.com/x?op=12count=1title= have to love $$ Wilber Bai $lRCHttp://box.zhangmen.baidu.com/bdlrc/86/8654.lrcThis address resolves under:Http://box.zhangmen.baidu.com/bdlrc/This is the Baidu LRC lyrics storage address, the following 496 is a variable, the people that the song is different from the directory name, its algorithm is to take the lyrics file name (that is, 8654) divided by 100 , and then takes the largest int
The LRC lyrics is a widely used lyrics file for parsingStandard format: [minutes: seconds. milliseconds] Lyrics1 ImportJava.io.BufferedReader;2 ImportJava.io.File;3 ImportJava.io.FileInputStream;4 ImportJava.io.InputStreamReader;5 Importjava.util.ArrayList;6 ImportJava.util.HashMap;7 Importjava.util.List;8 ImportJava.util.Map;9 ImportJava.util.Map.Entry;Ten ImportJava.util.regex.Matcher; One ImportJava.util
Recently, when collecting the lyrics of Codoy music, we found that the lyrics of Codoy music are directly browsed by quot; garbled quot;. the lyrics we usually see are in lrc format, this krc format for cool dogs is obviously specially handled. we usually use cool dogs... recently, when collecting the lyrics of Codoy music, we found that the lyrics of Codoy music
This article mainly introduces the php implementation method for krc lyrics parsing and converting to lrc lyrics, if you need it, you can refer to a recent collection of Codoy music lyrics and find that the lyrics of Codoy music are "garbled" directly, and the lyrics you usually see are in lrc format, this kind of krc format
1. LRC (LRC is currently the most widely used lyrics)
LRC is used for lyrics parsing. Lyrics format:
[00:02. 37. 12] [00: 03. 80] lyrics: Tang Xiaofan. 55] composing: Tang Xiaofan. 18] Singing: Tang Xiaofan. 43] product: Shenzhen Xiaolong Culture
This format is small and
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.