ctrl+shift+p filters: :st2 :st3 :win :osx :linux

更新时间:2020-02-25 10:37:21

Browse

Lyric​Editor

by UniFreak ST3

Make sublime text a lyric editor. edit .lrc file, sync lyric with song

Details

Installs

  • Total 24
  • Win 16
  • Mac 2
  • Linux 6
Feb 25 Feb 24 Feb 23 Feb 22 Feb 21 Feb 20 Feb 19 Feb 18 Feb 17 Feb 16 Feb 15 Feb 14 Feb 13 Feb 12 Feb 11 Feb 10 Feb 9 Feb 8 Feb 7 Feb 6 Feb 5 Feb 4 Feb 3 Feb 2 Feb 1 Jan 31 Jan 30 Jan 29 Jan 28 Jan 27 Jan 26 Jan 25 Jan 24 Jan 23 Jan 22 Jan 21 Jan 20 Jan 19 Jan 18 Jan 17 Jan 16 Jan 15 Jan 14 Jan 13 Jan 12
Windows 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 1 0 1 0 1 0 0 1 1 0 1 1 0 0 1 1 0 0 4 0 0 0 0 0
Mac 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 1 1 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

Lyric Editor (for LRC file)

中文请见 这里

LRC (short for LyRiCs) is a computer file format that synchronizes song lyrics with an audio file (Wikipedia Link).

Lyric Editor turns sublime text editor into a, well, lrc/lyric editor.

Features

  • Start at specified time point.
  • Generate time tag.
  • Adjust offset.
  • Play lyrics.
  • Pause / resume.

Install

Using Package Control:

  1. Open Command Pallete, and run Package Control: Install Package.
  2. Search for Lyric Editor and install.

Or by cloning source from github:

  1. Browse into your sublime text's package folder.
  2. Run git clone https://github.com/UniFreak/SublimeLyricEditor.git.

Usage

Commands

Here are commands that Lyric Editor provide, with some description:

  • Insert Meta Info: insert a snippet to help you generate id tags.
  • Start: start timer at 00:00.00.
  • Start At: start timer at specified point.
  • Tag and Next: tag untagged line and move to next.
  • Pause / Resume: pause / resume timer.
  • Play: play lyrics, will rolling to each line according to its time tag.

Typical Workflow

Open lyric file, start playing song with chosen music player.

Fire up command pallete, and run Lyric Editor: Start command, to start calc timing.

When you hear the lyric singing , press ctrl+alt+j to run Tag and Next command. Lyric Editor will locate the first untagged line, calc time, and tag it.

You can keep tagging untill Lyric Editor can no longer find any line.

After tagging done, you may want to do some offset adjustment. You can do this by press ctrl+alt+[ or ctrl+alt+]. Lyric Editor will decrease/increase current line's tag time. If you have multiple lines selected, all selected line will be adjusted.

Now, you may run Lyric Editor: Play command to preview your work. Lyric Editor will roll to each tagged line according to its tag time, just like some music players do. While playing lyrics, you can press esc to abort play

Pause / Resume

While tagging, You can press ctrl+alt+space to pause/resume timer at any time

Start At Specific Time

If for some reason, you've lost the track (for instance, forget to pause when go for a drink), and don't want restart all over again. You can do this by start timer at a specific point, and begin your work from there. Just run Lyric Editor: Start At command, Lyric Editor will find the last time tag as default, and show a input dialog, offering oppotunity for you to change, if the last time tag is not what you desired

Insert Meta Info

You can run Lyric Editor: Insert Meta Info to generate some infomation about the lyric's song title, album name, etc. Lyric Editor will insert a snippet at file beginning, tag through to put in the correct infomation.

Config

Here are the default configurations:

{
    "debug": false, // show debug log
    "skip_empty_line": false, // skip empty line when tagging
    "offset_step": 0.5, // set offset step, by seconds
    "meta": { // meta info snippet items. you can add your own id tag here
        "ar" : "Lyrics artist",
        "al" : "Album",
        "ti" : "Lyrics (song) title",
        "au" : "Creator of the Songtext",
        "by" : "Creator of the LRC file",
    }
}

To add or change config, follow menu Preferences -> Package Settings -> LyricEditor -> Settings - User, and put configs there.