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

Lyric​Editor

by UniFreak ST3

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

Details

Installs

  • Total 46
  • Win 30
  • Mac 8
  • Linux 8
Aug 4 Aug 3 Aug 2 Aug 1 Jul 31 Jul 30 Jul 29 Jul 28 Jul 27 Jul 26 Jul 25 Jul 24 Jul 23 Jul 22 Jul 21 Jul 20 Jul 19 Jul 18 Jul 17 Jul 16 Jul 15 Jul 14 Jul 13 Jul 12 Jul 11 Jul 10 Jul 9 Jul 8 Jul 7 Jul 6 Jul 5 Jul 4 Jul 3 Jul 2 Jul 1 Jun 30 Jun 29 Jun 28 Jun 27 Jun 26 Jun 25 Jun 24 Jun 23 Jun 22 Jun 21 Jun 20
Windows 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 2 0 0 0 0 0 0 0 0 0 1 0 0 1
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 1 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 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 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.