Coder Social home page Coder Social logo

suibianp / ust2lrc Goto Github PK

View Code? Open in Web Editor NEW
4.0 1.0 0.0 54 KB

A tool to generate basic/advanced lyric file from existing UTAU project.

License: GNU General Public License v3.0

C 96.58% CMake 2.28% Makefile 1.13%
c utau-sequence-text utau utauplugin

ust2lrc's Introduction

ust2lrc

Introduction

A tool to generate simple/enhanced lyric file from existing UTAU project.

This application is programmed with compability in mind, i.e., using only platform-independent C standard libraries. However, kindly notice that strdup() is only merged into mainline ISO C standard since C2x.

Throretically, it could be utilised as an UTAU plugin as well, whose plugin.txt will be released later. FYI, as a plugin, statement of "notes=all" in plugin.txt or selecting all before execution is compulsory, or the lyric of [#NEXT] will overwrite the lyric of its preceding note.

Functionality

This program runs in a shell environment. In Windows it could be executed in command prompt or ust file drag-and-drop.

Usage syntax: ust2lrc <ust file> [[-a|-b] [<delimiters> [<threshold>]]]
Examples

  • ust2lrc source.ust -a R,r 240
  • ust2lrc this.ust -a "a R,i R,u R,e R,o R"
  • ust2lrc "C:\Program Files\input.ust"
  • ust2lrc D:\whatever.ust -b

-a refers to enhanced lyric output, where the delimiters of each lyric line (possibly with their length threshold) are specified in the succeeding arguments.
-b refers to simple lyric output, with each note treated as a separate lyric line.

You may want to use quotes or escape characters to pass an argument containing white character(s).

If the third argument is not specified, the program will interact with the user to acquire necessary arguments via command line.

Acknowledgements

Gloomy Ghost(蚊香豹) for CMake compile script
Ray Lum(瑞洛凩) for the constructive idea of interactive operation
Rye-Catcher for kind guidance regarding memory allocation
shine_5402(数字君) for suggestions on economic and elegant programming
UTAU ユーザー互助会@ ウィキ for general knowledge about UTAU plugin development

ust2lrc's People

Contributors

suibianp avatar yuzukitsuru avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

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.