An open API service indexing awesome lists of open source software.

https://github.com/baskeboler/clj-karaoke-lyrics

Extract lyrics data from karaoke midi files for karaoke applications
https://github.com/baskeboler/clj-karaoke-lyrics

Last synced: about 1 year ago
JSON representation

Extract lyrics data from karaoke midi files for karaoke applications

Awesome Lists containing this project

README

          

# clj-karaoke

[![Clojars Project](https://img.shields.io/clojars/v/com.github.baskeboler/clj-karaoke-lyrics.svg)](https://clojars.org/com.github.baskeboler/clj-karaoke-lyrics)

clojure functions and cli program that extract lyrics and timing data for sing-along display

## Building

$ lein uberjar

## Usage

$ java -jar clj-karaoke-lyrics.jar input-file.mid output.json --type json
$ java -jar clj-karaoke-lyrics.jar -i -o -t ass --offset -1000

## Options

- `--type` either edn, ass or json
- `--help` show help
- `-i` input directory with midi files
- `-o` output directory where to store lyrics files

## References

- [Wiki format specification](https://github.com/colxi/midi-parser-js/wiki/MIDI-File-Format-Specifications)
- [ASS specs](http://www.tcax.org/docs/ass-specs.htm)

## License

Copyright © 2021

Distributed under the Eclipse Public License either version 1.0 or (at
your option) any later version.