--- title: Taiko Music Generator emoji: ๐Ÿ’ป colorFrom: red colorTo: red sdk: gradio short_description: Input your .tja file to convert Taiko Music. tags: - taiko-no-tatsujin - tja license: mit --- # Taiko Music Generator **Mix sougs and [ๅคช้ผ“ใฎ้”ไบบ (Taiko no Tatsujin)](https://taiko.namco-ch.net/taiko/en/) drum sounds to generate Taiko Music.** > Go to website [here](https://huggingface.co/spaces/ryanlinjui/taiko-music-generator). # Demo https://github.com/user-attachments/assets/d4c202a1-d9d1-4323-96f5-c8848f5d1185 > Input `.tja` format must follow [TJA Tools](https://whmhammer.github.io/tja-tools/) website. # Features - [x] **Music Course Level Output** - ่ฃ (Ura) - ใŠใซ (Oni) - ใ‚€ใšใ‹ใ—ใ„ (Hard) - ใตใคใ† (Normal) - ใ‹ใ‚“ใŸใ‚“ (Easy) - [x] **Common Settings** - ่ญœ้ขๅˆ†ๅฒ (Sheet Branch) - ้€ฃๆ‰“/็ง’ (DrumRoll hits per second) - [x] **Adjustable Volume**: Modify the volume for individual taiko notes or entire songs. - [x] **Example Music**: Preloaded sample .tja files and songs to help you get started quickly. # Getting Started ### Setup Use [poetry](https://github.com/python-poetry/poetry) to set up the development environment: ```bash poetry shell poetry install ``` > You might need to use [pyenv](https://github.com/pyenv/pyenv) to create a Python virtual environment. Currently, the project is using Python 3.10 or above. ### Run the App ```bash python app.py ``` # FAQ ### What is `.tja` file? The `.tja` file format is designed for Taiko simulators to provide playable charts data. > For more details, visit this [wiki](https://wikiwiki.jp/jiro/ๅคช้ผ“ใ•ใ‚“ๆฌก้ƒŽ#tja). ### How is `.tja` converted to music? By [tja-rs](https://github.com/JacobLinCool/tja-rs), taiko notes in the `.tja` file are mapped to a timeline in the song.
This concept can be found in [Homework 01, Problem 05](https://drive.google.com/file/d/1Wdv4nLaoXsXFZX17OleQpllvq5ii_n08/view) from the [2024 NTNU CP2 course](https://sites.google.com/gapps.ntnu.edu.tw/neokent/teaching/2024spring-computer-programming-ii). > Credits by [JacobLinCool](https://github.com/JacobLinCool), [RyanLin(ryanlinjui)](https://github.com/ryanlinjui).