steinbergmedia/libmusictok

C++ Library for tokenizing MIDI files, designed to be compatible with the MIDITok python library

34
/ 100
Emerging

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.

music-software-development audio-programming real-time-audio generative-music music-analysis
No Package No Dependents
Maintenance 10 / 25
Adoption 8 / 25
Maturity 11 / 25
Community 5 / 25

How are scores calculated?

Stars

46

Forks

2

Language

C++

License

MIT

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.