steinbergmedia/libmusictok
C++ Library for tokenizing MIDI files, designed to be compatible with the MIDITok python library
LibMusicTok helps integrate music tokenization into real-time music software. It takes a MIDI file or a structured music score and converts it into a sequence of tokens, which can then be processed by a music model. This library is designed for developers working on applications that create or analyze music, especially those needing fast, inference-only tokenization within a C++ environment.
Use this if you need to quickly convert MIDI data into a token format for a music generation or analysis model running in a C++ application.
Not ideal if you need to train or fine-tune a music tokenizer, as this library focuses solely on inference.
Stars
46
Forks
2
Language
C++
License
MIT
Category
Last pushed
Feb 02, 2026
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/transformers/steinbergmedia/libmusictok"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
multimodal-art-projection/YuE
YuE: Open Full-song Music Generation Foundation Model, something similar to Suno.ai but open
hugofloresgarcia/vampnet
music generation with masked transformers!
asigalov61/SuperPiano
Absolutely amazing SOTA Google Colab (Jupyter) Notebooks for creating/training SOTA Music AI...
sedthh/BeatLearning
Open Source Generative AI Models for Automatic Rhythm Game Beatmap Generation (for acoustic people)
AlekseyKorshuk/huggingartists
Lyrics generation with GPT2-based Transformer