Background music that passes the human ear
Every diorama needs music you can leave on for hours. Finding a sound that felt human took three tools, over sixty test tracks and one rule we didn't expect to need.
In short
- AI music generators that create the sound directly gave us synthetic-sounding instruments and melodies that drifted off key.
- Recordings of a real grand piano fixed the sound straight away. The notes still needed a human-like plan.
- A piano AI that improvises sounded smooth, but it looped and had no direction.
- What worked: plan every piece like an essay, with a beginning, a middle, an end and one gentle climax. Then measure it, and let a human ear decide.
Why does music matter so much for calm content?
Our dioramas are small, slow worlds made to help people breathe: a canal town at a spring festival, playing for an hour while you study, work or rest. Music sits underneath all of it. If one note sounds wrong, the calm is gone, and you can't say why. The ear notices before the mind does.
We make these scenes with an AI (Claude) as the builder and a human as the eye and the ear. For the visuals that already worked. Music turned out to be much harder.
An AI music generator: fast, but not human
We started with an open-source AI music model that turns a text description into finished audio. In one evening it made twenty tracks for an hour-long video. On paper the problem was solved.
They sound really off and it's unnatural to the human ears.
- Adding music-theory rules to every prompt (stay in the key, simple chord progressions)
- The model's recommended settings, and a timeline of sections for each song
- Rewriting the prompts to follow the authors' own songwriting guide
- Testing seven instruments one by one to find where the limits were
Some things improved. A check showed two tracks had only about a third of their notes in the right key, and the fixes raised that to over 80%. But the sound itself never became real. Piano, music box and soft pads were the only instruments that passed.
no matter how much you tried to fix it's still produce terrible sound.
What we learned: fixing the prompt can't fix the sound. If the instrument isn't real, the ear knows.
A real piano, with notes written by the AI
So we changed the question. Instead of asking an AI to imagine a piano, we used a real one: the Salamander Grand Piano, a free collection of recordings of a Yamaha C5 grand, every key recorded at sixteen strengths, by Alexander Holm. The AI wrote the notes and a free player program performed them on those recordings, adding the small human touches of a pianist: timing a hair early or late, softer and harder notes, rolled chords, the pedal.
It sounds really natural and there is zero noise.And then:
This is gold.
The sound was solved. The music wasn't yet. These first pieces were short sketches of a minute or so that simply stopped.
A piano AI that improvises: smooth, but without purpose
To give the notes more life, we tried an open-source model trained on many hours of real piano performances. It takes an opening and carries on playing, like a pianist improvising.
half way it became a loop and keep repeating the same thing.The nocturne: smooth, but
like writing without a purpose.
Its own documentation explains why: it only ever predicts what comes next, with no plan for the whole piece. So we removed it, and the artist set the standard that changed everything:
It must be able to create a beginning, mid, end. It must know where the climax lands even though it is bgm.
Compose it like an essay
We looked for a tool that could do this and found none ready to use. Even recent research systems work the same way underneath: first the plan, then the notes. So we wrote the method down as a fixed workflow that every piece now follows:
- Brief: the place, the feeling, and one moment the climax stands for.
- Outline: the sections, the key, and a tension score for every bar, with a single peak about two-thirds of the way in. For background music the peak is warm, not loud.
- Themes: one singable melody and one contrast, and how each will change.
- Notes: written to fit the outline.
- Measured checks: does the climax land on the planned bar? Is the highest note only there? Does each section end where it should, does the theme return, is anything looping?
- The human ear: the final judge.
The first piece written this way is about Yanagawa's Hina Matsuri. The climax stands for one moment: a girl on a festival boat looks up and waves to her grandfather on the bridge, and he waves back.
there are some parts the note was short like a mistake.At 1:16 and 1:20, repeated notes were being cut short by a bug. It was fixed, and a new check was added so it can't come back.
| 0:00 | Dawn on the canal: open chords, two high notes hint at the tune |
| 0:16 | The canal song, simple and singable |
| 0:46 | The boats arrive, and the piano starts to flow |
| 1:16 | A memory: the music turns minor and climbs |
| 1:54 | The wave: the highest note of the whole piece, heard only here |
| 2:10 | The tune returns, plain and quiet, like the last paragraph of a story |
| 2:43 | The dawn motif once more, and stillness |
This is the best piece and it passes the human ear.
What we learned about AI and background music
- Use real instruments. Let the AI write the notes, not the sound.
- Plan before you write: a beginning, a middle, an end and one climax, even for background music.
- Keep the peak warm, not loud, so the music can still sit in the background.
- Measure the structure, but let a human ear make the final call.
- When the ear finds a fault, turn it into a check, so it never happens twice.
Frequently asked
Can AI make background music that sounds natural?
In our tests, AI generators that create the audio directly still sounded synthetic and drifted off key. What worked was letting the AI write the notes, planned like an essay, and playing them on recordings of a real grand piano.
Why does calm background music need a climax?
Without a shape, music wanders or loops, and the ear notices. A gentle peak about two-thirds of the way through gives the piece a purpose, while staying warm rather than loud.
Which piano do you use?
The Salamander Grand Piano by Alexander Holm, recordings of a real Yamaha C5 (CC BY 3.0), in the remastered Accurate-Salamander version.
Who decides if a piece is good enough?
A human. The AI plans, writes and measures; every piece is judged by ear, and only pieces that pass are used.
Visit the Yanagawa diorama → · How the scene was made →
Piano: Salamander Grand Piano by Alexander Holm (CC BY 3.0), remastered by the Accurate-Salamander Project; performed with sfizz. The first example was generated with ACE-Step 1.5 (MIT). "Boats for the Daughters" is an original composition for Diorama Journeys, inspired by the Yanagawa Hina Matsuri (an independent art project, not affiliated with the festival or the city).