Text2midi: Generating Symbolic Music from Captions
Not on the map. Why?
Abstract (arXiv)
This paper introduces text2midi, an end-to-end model to generate MIDI files from textual descriptions. Leveraging the growing popularity of multimodal generative approaches, text2midi capitalizes on the extensive availability of textual data and the success of large language models (LLMs). Our end-to-end system harnesses the power of LLMs to generate symbolic music in the form of MIDI files. Specifically, we utilize a pretrained LLM encoder to process captions, which then condition an autoregressive transformer decoder to produce MIDI sequences that accurately reflect the provided descriptions. This intuitive and user-friendly method significantly streamlines the music creation process by allowing users to generate music pieces using text prompts. We conduct comprehensive empirical evaluations, incorporating both automated and human studies, that show our model generates MIDI files of high quality that are indeed controllable by text captions that may include music theory terms such as chords, keys, and tempo. We release the code and music samples on our demo page (https://github.com/AMAAI-Lab/Text2midi) for users to interact with text2midi.
Key facts. Cited by 19 papers in the map (data through 14 Oct 2026). Builds on 22 of its 34 references that are in the map. First posted on arXiv 21 Dec 2024.
Builds on
22 of 34 references.
References · 22
- 2017Attention Is All You Needcited by 60,361
- 2014Adam: A Method for Stochastic Optimizationcited by 37,240
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
- 2022Hierarchical Text-Conditional Image Generation with CLIP Latentscited by 6,585
- 2021Zero-Shot Text-to-Image Generationcited by 4,288
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,673
- 2022Large-scale Contrastive Language-Audio Pretraining with Feature Fusion and Keyword-to-Caption Augmentationcited by 719
- 2023Noise2Music: Text-conditioned Music Generation with Diffusion Modelscited by 173
- 2023Mustango: Toward Controllable Text-to-Music Generationcited by 100
- 2016DeepBach: a Steerable Model for Bach Chorales Generationcited by 91
- 2023MuseCoco: Generating Symbolic Music from Textcited by 52
10 more
- 2022Symphony Generation with Permutation Invariant Language Modelcited by 35
- 2018A Functional Taxonomy of Music Generation Systemscited by 31
- 2019Conditional LSTM-GAN for Melody Generation from Lyricscited by 31
- 2023miditok: A Python package for MIDI file tokenizationcited by 27
- 2018MorpheuS: generating structured music with constrained patterns and tensioncited by 22
- 2024MidiCaps: A large-scale MIDI dataset with text captionscited by 19
- 2021Generating Lead Sheets with Affect: A Novel Conditional seq2seq Frameworkcited by 17
- 2022Exploring the Efficacy of Pre-trained Checkpoints in Text-to-Music Generation Taskcited by 13
- 2021Hierarchical Recurrent Neural Networks for Conditional Melody Generation with Long-term Structurecited by 12
- 2020A variational autoencoder for music generation controlled by tonal tensioncited by 8
Built on by
Citing papers per year: 2025: 12; 2026: 7.
19 papers.
Sort:
By area:
- 2025JamendoMaxCaps: A Large Scale Music-caption Dataset with Imputed Metadatacited by 15
- 2025Text2midi-InferAlign: Improving Symbolic Music Generation with Inference-Time Alignmentcited by 4
- 2025MelodySim: Measuring Melody-aware Music Similarity for Plagiarism Detectioncited by 3
- 2026Composer Vector: Style-steering Symbolic Music Generation in a Latent Spacecited by 3
- 2025Adaptable Symbolic Music Infilling with MIDI-RWKVcited by 2
- 2026SymphonyGen: 3D Hierarchical Orchestral Generation with Controllable Harmony Skeletoncited by 2
- 2025Not that Groove: Zero-Shot Symbolic Music Editingcited by 1
- 2025On the de-duplication of the Lakh MIDI datasetcited by 1
- 2025MIDI-LLM: Improving Text-to-MIDI Music Generation via Adapting Large Language Modelscited by 1
- 2026How Far Can Pretrained LLMs Go in Symbolic Music? Controlled Comparisons of Supervised and Preference-based Adaptationcited by 1
- 2026Efficient Long-Sequence Diffusion Modeling for Symbolic Music Generationcited by 1
- 2025CompLex: Music Theory Lexicon Constructed by Autonomous Agents for Automatic Music Generationcited by 0
7 more
- 2025Amadeus: Autoregressive Model with Bidirectional Attribute Modelling for Symbolic Musiccited by 0
- 2025HNote: Extending YNote with Hexadecimal Encoding for Fine-Tuning LLMs in Music Modelingcited by 0
- 2025Aligning Generative Music AI with Human Preferences: Methods and Challengescited by 0
- 2025Story2MIDI: Emotionally Aligned Music Generation from Textcited by 0
- 2026Learning Music Style for Piano Arrangement Through Cross-Modal Bootstrappingcited by 0
- 2026MI-MIDI: Mechanistic Interpretability of Text-to-MIDI Generation Models via Probing, Lenses and Steeringcited by 0
- 2026Harmonic Representations in Symbolic Music Transformers are Localized and Controllablecited by 0
- 2026Harmonic Representations in Symbolic Music Transformers are Localized and Controllable11 Oct 2026
- 2026MI-MIDI: Mechanistic Interpretability of Text-to-MIDI Generation Models via Probing, Lenses and Steering6 Aug 2026
- 2026Learning Music Style for Piano Arrangement Through Cross-Modal Bootstrapping4 Aug 2026
- 2026SymphonyGen: 3D Hierarchical Orchestral Generation with Controllable Harmony Skeleton28 Apr 2026
- 2026Composer Vector: Style-steering Symbolic Music Generation in a Latent Space3 Apr 2026
- 2026Efficient Long-Sequence Diffusion Modeling for Symbolic Music Generation28 Feb 2026
- 2026How Far Can Pretrained LLMs Go in Symbolic Music? Controlled Comparisons of Supervised and Preference-based Adaptation30 Jan 2026
- 2025Story2MIDI: Emotionally Aligned Music Generation from Text1 Dec 2025
- 2025Aligning Generative Music AI with Human Preferences: Methods and Challenges19 Nov 2025
- 2025MIDI-LLM: Improving Text-to-MIDI Music Generation via Adapting Large Language Models6 Nov 2025
- 2025HNote: Extending YNote with Hexadecimal Encoding for Fine-Tuning LLMs in Music Modeling30 Sep 2025
- 2025On the de-duplication of the Lakh MIDI dataset20 Sep 2025
7 more
- 2025Amadeus: Autoregressive Model with Bidirectional Attribute Modelling for Symbolic Music28 Aug 2025
- 2025CompLex: Music Theory Lexicon Constructed by Autonomous Agents for Automatic Music Generation27 Aug 2025
- 2025Adaptable Symbolic Music Infilling with MIDI-RWKV16 Jun 2025
- 2025MelodySim: Measuring Melody-aware Music Similarity for Plagiarism Detection27 May 2025
- 2025Text2midi-InferAlign: Improving Symbolic Music Generation with Inference-Time Alignment19 May 2025
- 2025Not that Groove: Zero-Shot Symbolic Music Editing13 May 2025
- 2025JamendoMaxCaps: A Large Scale Music-caption Dataset with Imputed Metadata11 Feb 2025
- 2025JamendoMaxCaps: A Large Scale Music-caption Dataset with Imputed Metadatacited by 15
- 2025Text2midi-InferAlign: Improving Symbolic Music Generation with Inference-Time Alignmentcited by 4
- 2025MelodySim: Measuring Melody-aware Music Similarity for Plagiarism Detectioncited by 3
- 2026Composer Vector: Style-steering Symbolic Music Generation in a Latent Spacecited by 3
- 2025Adaptable Symbolic Music Infilling with MIDI-RWKVcited by 2
- 2026SymphonyGen: 3D Hierarchical Orchestral Generation with Controllable Harmony Skeletoncited by 2
- 2025Not that Groove: Zero-Shot Symbolic Music Editingcited by 1
- 2025On the de-duplication of the Lakh MIDI datasetcited by 1
- 2025MIDI-LLM: Improving Text-to-MIDI Music Generation via Adapting Large Language Modelscited by 1
- 2026How Far Can Pretrained LLMs Go in Symbolic Music? Controlled Comparisons of Supervised and Preference-based Adaptationcited by 1
- 2025CompLex: Music Theory Lexicon Constructed by Autonomous Agents for Automatic Music Generationcited by 0
- 2025Amadeus: Autoregressive Model with Bidirectional Attribute Modelling for Symbolic Musiccited by 0
12 most cited of 16 All 16 (JSON)
- 2026Harmonic Representations in Symbolic Music Transformers are Localized and Controllable11 Oct 2026
- 2026Learning Music Style for Piano Arrangement Through Cross-Modal Bootstrapping4 Aug 2026
- 2026SymphonyGen: 3D Hierarchical Orchestral Generation with Controllable Harmony Skeleton28 Apr 2026
- 2026Composer Vector: Style-steering Symbolic Music Generation in a Latent Space3 Apr 2026
- 2026How Far Can Pretrained LLMs Go in Symbolic Music? Controlled Comparisons of Supervised and Preference-based Adaptation30 Jan 2026
- 2025Story2MIDI: Emotionally Aligned Music Generation from Text1 Dec 2025
- 2025MIDI-LLM: Improving Text-to-MIDI Music Generation via Adapting Large Language Models6 Nov 2025
- 2025HNote: Extending YNote with Hexadecimal Encoding for Fine-Tuning LLMs in Music Modeling30 Sep 2025
- 2025On the de-duplication of the Lakh MIDI dataset20 Sep 2025
- 2025Amadeus: Autoregressive Model with Bidirectional Attribute Modelling for Symbolic Music28 Aug 2025
- 2025CompLex: Music Theory Lexicon Constructed by Autonomous Agents for Automatic Music Generation27 Aug 2025
- 2025Adaptable Symbolic Music Infilling with MIDI-RWKV16 Jun 2025
12 newest of 16 All 16 (JSON)