Code Monkey home page Code Monkey logo

websf's People

Contributors

actions-user avatar monnomsontpasutile avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

websf's Issues

CXL spec change

  • LRC (legacy) part of CXL specification should resemble TRC specification to reduce complexity
  • CXL (Compact eXtended Lyrics) should be renamed to MXL (Modulized eXtended Lyrics)

Universal LRC parsing

There are several specifications that resembles or based on the LRC specification. Currently there are two to be known: xLRC and TRC, which both had word timing added. All meta tags of LRC were preserved.

Taking a deeper dive into the TRC format, we will find something like this (example from a certain Chinese site):

[00:16.54]<250>当<300>你<1852>要<249>离<452>开<201>的<451>时<3801>候

And let's see an example of xLRC files (example from Wikipedia):

[00:06.47] <00:07.67> And <00:07.94> all <00:08.36> the <00:08.63> joy <00:10.28> within <00:10.53> you <00:13.09> dies

We can see that the timing tags of TRC and xLRC are both placed before each seperate "unit". Timing tags in TRC describes the duration of each word in milliseconds, while in xLRC describes when will each word end in the normal human-readable format. This means the parser of both xLRC and TRC can be merged inside the LRC parser with some dynamic adjustments when the parser reads each line.

Because there are a lot of lyrics that do not use either UTF-8 or UTF-16 as their encoding, there should also be some compatibility with detecting and decoding existing encoding schemes.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.