LRC歌词格式文件

您所在的位置:网站首页 歌词的格式 LRC歌词格式文件

LRC歌词格式文件

2024-06-07 17:26| 来源: 网络整理| 查看: 265

LRC歌词格式文件 目录

1 什么是LRC格式文件 2 LRC歌词文件的格式   2.1 文件头部信息   2.2 歌词行信息   2.3 时间标签格式   2.4 多行歌词   2.5 歌词时间偏移 3 LRC格式文件示例 4 小结

1 什么是LRC格式文件     LRC(Lyric)是一种常见的歌词文件格式,用于存储音乐歌曲的歌词信息。

    LRC文件通常以文本文件的形式存在(非二进制文件,入MP3、MP4等都是属于格式二进制文件),可以使用任何文本编辑器进行打开和编辑。     使用LRC格式的歌词文件可以方便地与音乐播放器配合,实现歌词的同步显示。

2 LRC歌词文件的格式 2.1 文件头部信息     LRC文件的开头通常包含一些元数据信息,用于描述歌曲的基本属性。这些信息以方括号包围,以"[]"进行标识。     常见的头部信息包括: [ti: ]:歌曲的标题(title)。 [ar: ]:歌曲的艺术家(artist)。 [al: ]:歌曲所属的专辑(album)。 [by: ]:LRC文件的制作人(lyricist)。 [offset: ]:歌词的时间偏移量,用于调整歌词的显示时间。 2.2 歌词行信息     LRC文件的主要内容是每行歌词的时间和文本。每行歌词由方括号包围,时间和文本之间使用特定的分隔符进行分隔。常见的分隔符有":"和","。 2.3 时间标签格式     LRC文件使用时间标签来表示歌词的显示时间。时间标签的格式为"[分钟:秒.毫秒]"。其中,分钟表示歌词的显示分钟数,秒表示歌词的显示秒数,毫秒表示歌词的显示毫秒数。 2.4 多行歌词     有些歌曲的歌词可能包含多行,表示不同的歌词内容。这些多行歌词可以在同一个时间点上显示,或者在不同的时间点上显示。在LRC文件中,每个时间点的歌词行都会被单独的方括号包围。 2.5 歌词时间偏移     有时,歌曲的歌词可能与音乐的播放时间不完全对齐。为了解决这个问题,LRC文件可以使用偏移量来调整歌词的显示时间。偏移量通过头部信息中的"[offset: ]"标签指定,以毫秒为单位。 3 LRC格式文件示例     以Taylor Swift的歌曲《Love Story》的部分歌词,来对LRC格式文件进行示例: [ti: Love Story] [ar: Taylor Swift] [al: Fearless] [00:00.500]We were both young when I first saw you [00:05.200]I close my eyes and the flashback starts [00:09.800]I'm standing there on a balcony in summer air [00:14.500]See the lights, see the party, the ball gowns [00:19.200]See you make your way through the crowd [00:23.800]And say, "Hello" [00:26.500]Little did I know [00:29.200]That you were Romeo, you were throwing pebbles [00:33.800]And my daddy said, "Stay away from Juliet" [00:38.500]And I was crying on the staircase [00:41.200]Begging you, "Please don't go" [00:44.200]And I said, "Romeo, take me somewhere we can be alone [00:49.800]I'll be waiting, all that's left to do is run [00:54.500]You'll be the prince and I'll be the princess [00:59.200]It's a love story, baby, just say 'Yes'" [01:03.000]We were both young when I first saw you [01:07.500]I close my eyes and the flashback starts [01:12.000]I'm standing there on a balcony in summer air [01:16.500]See the lights, see the party, the ball gowns [01:21.000]See you make your way through the crowd [01:25.500]And say, "Hello" [01:28.000]Little did I know [01:30.500]That you were Romeo, you were throwing pebbles [01:35.000]And my daddy said, "Stay away from Juliet" [01:39.500]And I was crying on the staircase [01:42.000]Begging you, "Please don't go" [01:45.000]And I said, "Romeo, take me somewhere we can be alone [01:50.500]I'll be waiting, all that's left to do is run [01:55.000]You'll be the prince and I'll be the princess [02:00.000]It's a love story, baby, just say 'Yes'"

    可以看到以下几个要点:     1、文件头部信息包含了歌曲的标题、艺术家和专辑等信息。

[ti: Love Story] [ar: Taylor Swift] [al: Fearless]

    2、偏移量为-500毫秒,表示歌词的显示时间比音乐的播放时间提前了500毫秒。

[offset: -500]

    3、歌词行信息以时间标签和具体的歌词文本组成。时间标签表示歌词的显示时间,歌词文本是具体的歌词内容。

[00:00.500]We were both young when I first saw you

    4、多行歌词在不同的时间点上显示,每个时间点的歌词行的时间标签都被单独的方括号包围。

[00:00.500]We were both young when I first saw you [00:05.200]I close my eyes and the flashback starts [00:09.800]I'm standing there on a balcony in summer air [00:14.500]See the lights, see the party, the ball gowns [00:19.200]See you make your way through the crowd [00:23.800]And say, "Hello" [00:26.500]Little did I know

    5、当相同的歌词在不同的时间点出现时,在LRC歌词文件中,每个时间点的歌词行的时间标签都会被单独的方括号包围。

[00:00.500]We were both young when I first saw you [01:03.000]We were both young when I first saw you

    6、当相同的歌词在不同的时间点出现时,在有的LRC歌词文件中,也有可能会将多个时间标签和歌词放在同一行。

[00:00.500][01:03.000]We were both young when I first saw you 4 小结     在LRC歌词文件中,通常会包含:文件头部信息、偏移量信息、歌词行信息。在歌词行信息中通常每个时间标签和歌词都会放在单独的行中,以确保准确的时间同步和显示;然而,有时候也可以将多个时间标签和歌词放在同一行中,以表达特定的情况。虽然将多个时间标签和歌词放在同一行中可能会减少文件的行数,但这样做可能会增加处理和解析歌词文件的复杂性。因此,通常将每个时间标签和歌词放在单独的行中,以确保更清晰和易于处理的歌词文件格式是比较好的方式(主要目标是缩小歌词文件大小时例外)。


【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3