KPoeTools is a collection of tools for managing and converting lyric formats into JSON format. These tools can be used for text extraction from various formats and converting them into JSON format according to the KPOE standard.
Tool Name | Description | How to Use |
---|---|---|
SyllableExtractor | Extracts text from Apple Music response in TTML format. | Open src/SyllableExtractor.py response.json or src/KpoeTools.py |
TTMLtoJSON | Converts lyrics in TTML format to JSON format according to the KPOE standard. | Open src/TTMLtoJSON.py input_file.ttml offset_in_ms or src/KpoeTools.py |
ELRCtoJSON | Converts lyrics in ELRC format to JSON format according to the KPOE standard. | Open src/ELRCtoJSON.py input_file.lrc or src/KpoeTools.py |
Romanize | Romanize lyrics to Latin style | Open src/Romanizer.py input_file.lrc or src/KpoeTools.py |
Compability | Fix lyrics parsing issue on Old Version of KPoe | Open src/Romanizer.py input_file.lrc or src/KpoeTools.py |
Each tool can be used by running the corresponding file name.
- Open a terminal.
- Navigate to the KPoeTools project directory.
- Run the following command:
python src/KpoeTools.py input_file.json
- Open a terminal.
- Navigate to the KPoeTools project directory.
- Run the following command:
python src/TTMLtoJSON.py input_file.ttml 0 #offset in ms
- Open a terminal.
- Navigate to the KPoeTools project directory.
- Run the following command:
python src/ELRCtoJSON.py input_file.ttml
- Open a terminal.
- Navigate to the KPoeTools project directory.
- Run the following command:
python src/Romanizer.py input_lyrics.json [<Lang>]
- Open a terminal.
- Navigate to the KPoeTools project directory.
- Run the following command:
python src/Compability.py input_lyrics.json
Contributions to this project are greatly appreciated. Please fork this repository and create a pull request with desired changes.
This project is licensed under the Creative Commons License. See the LICENSE file for details.