AI-Generated Music for Learning

Catchy tunes are easy to remember.



Mnemonic devices are considered effective learning tools from countless studies:

Music is a prominent device; remembering song lyrics, even longer information like phone numbers (see (or hear in your head) the song 867-5309/Jenny), is significantly easier than remembering similar series of words without the singer's voice and instruments in the background. Coupling this with the fact that music is fun to listen to and AI-generated musical abilities are improving rapidly and the following idea comes naturally.



Lyrics can be generated using a large-language model (LLM) using fill-in-the-blank prompt like:

Create a(n) [number]-verse [style of music, e.g., country, rap, metal] that teaches the listener [information]

Extra conditions or qualifiers can be added, such as:

It's important that the song is catchier and more entertaining than it is informative, else the listener will be turned off and not listen, defeating the entire purpose. Disguising the information within the lyrics is the best option, but requires superb LLM prompting skills.


There are plenty of AI music generators available on the internet. I used Suno AI for the examples below.

Combination with Current Learning Methods

Music cannot replace the tried-and-true practice of good ol' studying and practice problems, but it can supplement it. Listening to the music regularly and attempting to sing along will help commit it to memory.

Appendix I: Examples

My prompt engineering skills are not strong and I don't have GPT-4 access, but with better prompts and a better model I'm sure the songs would be more informative and catchier.

Choruses are removed for brevity purposes.



Create an eight-verse country song that teaches the listener what the noble gases are, their properties, and how they're different from other periodic table elements.

GPT-3.5 response:

Well, gather 'round folks, let me sing you a tune,
'Bout elements noble, under the moon.
They're rare gases, with style and grace,
In the periodic table, holdin' their space.

Helium's light, makes balloons soar high,
Inert and stable, it'll never say goodbye.
Neon's the glow in the city night,
Bright and colorful, a mesmerizing sight.

Argon's a filler in the air we breathe,
In light bulbs it glows, just like a sheath.
They don't bond with others, they stand alone,
In the noble gases zone they've grown.

Krypton's a hero in comic lore,
In the periodic table, it's so much more.
Xenon lights up those fancy signs,
With noble gases, the light always shines.

Radon's a gas that creeps from the ground,
Radioactive and heavy, in basements found.
They don't form compounds, don't play that game,
Staying noble, they'll never change.

No electrons to give, none to take,
They're happy in their noble gas state.
With a full outer shell, they're content,
Unlike other elements, they're not bent.

In the atmosphere, they're a rare delight,
Shining bright, like stars at night.
Nonmetals with a regal flair,
In the periodic table, they're beyond compare.

So, that's the story of these gases so fine,
In the noble gases, the elements align.
Stable and noble, they stand apart,
In the periodic table, they've won our heart.

Suno AI generations:



Create an eight-line rap song that teaches the listener what a band gap is and why it's important to transistors. Include keywords like Fermi level, electrons, holes, and valence level.

GPT-3.5 response:

Yo, let me drop some knowledge, listen to the sound,
Talking 'bout band gaps, in the tech playground.
Fermi level vibes, where electrons chill,
In the semiconductor groove, keeping it real.

Valence level hustle, where electrons dance,
Locked in place, in a solid-state trance.
Crossing the band gap, they become so bold,
Creating holes, in the story told.

In the conduction band, electrons find their place,
They're the charge carriers, in the tech race.
Holes in the valence, like a missing link,
Transistors amplify, man, that's the sync.

Band gap, essential for the switch,
In transistors' world, it's the perfect pitch.
Controlling current flow, with precision and class,
In the semiconductor dance, making tech amass.

Suno AI generations:



Create a four-verse heavy metal screamo song that teaches the listener about the human heart's structure, operation, and common failure modes.

GPT-3.5 response:

In the chamber of blood, where darkness prevails,
The heart, a metal fortress, pumping life's tales.
A muscular beat, a rhythm so fierce,
Four chambers unite, a symphony fierce.

Ventricles pulsating, arteries scream,
The aorta roars, in this crimson dream.
Aortic valve slams, like thunderous roar,
The heart, a metal beast, forevermore.

Atria, the gates, where blood first arrives,
In this pumping metal heart, where life strives.
Valves like iron doors, opening wide,
Blood surges forth, a crimson tide.

Mitral and tricuspid, they guard the keep,
In this metal heart, secrets run deep.
Atrioventricular, a metal divide,
In the heavy metal heart, life's bound to collide.

But in this fortress of metal might,
Darkness may strike, in the dead of night.
Atherosclerosis, a sinister foe,
Clogging the arteries, a deadly throw.

Myocardium, a metal stronghold,
Contracting fiercely, in tales untold.
But when weakened, the metal shall break,
Heart failure echoes, a deadly quake.

Stenosis and regurgitation, they creep,
Valves failing, in the metal keep.
Pumping fades, in this metal core,
The heart, a battlefield, forevermore.

Suno AI generations:



Create a four-verse indie song in the style of The Lumineers that teaches the listener about how large-language models work, their implications for the future, and any limitations they have. Use as technical language as possible.

GPT-3.5 response:

In the circuits and the wires, where data flows,
A language model awakens, in ones and zeros.
It learns the patterns, the syntax so fine,
Deep in the code, where the secrets align.

Through layers it traverses, in a neural dance,
Absorbing data, giving language a chance.
Unleashing responses, it seems to understand,
Yet, behind the scenes, it's lines of code so grand.

Predictions and prose, it weaves with grace,
A virtual mind, in the digital space.
Yet limitations linger, like shadows in the light,
A reminder that perfection's not in sight.

So here we stand, on the edge of the new,
With whispers in the code, and futures to pursue.
Embrace the knowledge, but with open eyes,
For in the algorithms, humanity lies.



Create a four-verse alternative rock song in the style of Green Day that teaches the listener about how chocolate is made, what the difference is between types of chocolate, benefits and harms of chocolate, and historical chocolate controversies.

GPT-3.5 response:

In the heart of the cacao, where the beans unfold,
A tale of chocolate, in a story untold.
Roasted and crushed, the magic begins,
From bean to bar, where the sweetness wins.

From the Swiss Alps to the Belgian pride,
Different types of chocolate, taking us for a ride.
Dark with antioxidants, a bitter embrace,
Milk with its creaminess, a comforting grace.

The cocoa buzz, a mood enhancer they say,
But moderation is key, in the chocolate ballet.
Controversies of the past, in a cocoa haze,
Fair trade whispers, through the chocolate maze.

So here's to the cocoa, in its bittersweet song,
A treat for the soul, in a world so wrong.
From ancient Aztecs to Willy Wonka's delight,
In the magic of chocolate, we find our respite.

Suno AI generations:

See Also