Microsoft patents method to turn text into songs with melody and lyrics
This patent describes a system that takes a piece of text and turns it into a complete song. It analyzes the text to find the topic and emotion, then uses computer models to create a matching melody, chord progression, and lyrics.
In the filing’s own words
The disclosure provides a method and an apparatus for song generation. A text input may be received. A topic and an emotion may be extracted from the text input. A melody may be determined according to the topic and the emotion. Lyrics may be generated according to the melody and the text input. A song may be generated at least according to the melody and the lyrics.
What exactly they claim (claim 1)
1. A computer-implemented method for song generation, comprising: receiving a text input; classifying the text input using a trained classifier to extract a topic and an emotion from the text input, wherein the trained classifier applies a multi-dimensional emotion category label corresponding to a vector representation of the text input; using a deep neural network model to determine an intention based on the topic, wherein the deep neural network model determines the intention based on pre-trained associations between user text inputs and intentions; determining, using processing circuitry, a music style according to the intention and the emotion; determining, using processing circuitry, a melody according to the topic, the music style, and the emotion, wherein determining the melody includes: determining a chord progression sequence according to the emotion; determining a rhyme sequence according to the music style; and determining the melody according to the rhyme sequence and the chord progression sequence; generating lyrics according to the melody and the text input; generating a song at least according to the melody and the lyrics; and outputting the song as a playable audio file or a music sheet comprising the melody and lyrics.
Facts
- Company
- Microsoft (Microsoft Technology Licensing, LLC)
- Official title
- Song generation based on a text input
- Patent number
- US12731564B2
- Application number
- 17614128
- Filed
- Apr 26, 2020
- Granted
- Sep 8, 2026
- Inventors
- 7
- Claims
- 13
Classified under
G10H 1/0025 Physics & computingG06F 40/35 Physics & computingG10H 2210/121 Physics & computingMore from Microsoft in AI & software
- Microsoft patents method to check AI answers against verified facts Oct 20, 2026
- Microsoft patents AI that presents PowerPoint slides for you Sep 3, 2026
- Microsoft patents method to check if LLM answers are based on real data Sep 10, 2026
- Microsoft patents system to blend multiple AI agents into one chat Oct 1, 2026
- Microsoft patents system that answers questions using your screen history Oct 15, 2026
Summaries are simplified from the filing’s own abstract and first claim. A patent filing is not a product announcement.
Patent data and drawings: U.S. Patent and Trademark Office (USPTO). Nebula is not affiliated with or endorsed by the USPTO.