← Blog
Blog · Music

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.

· 6 min read

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.
3tools tried
60+test tracks
3days
1piece that passed
Why it matters

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.

Attempt 1

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.

The artist, after listening
They sound really off and it's unnatural to the human ears.
The AI tried
  • 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.

The artist's verdict
no matter how much you tried to fix it's still produce terrible sound.
Listen: an AI-generated track
40 seconds of one of the original tracks the artist flagged as sounding off.

What we learned: fixing the prompt can't fix the sound. If the instrument isn't real, the ear knows.

Attempt 2

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.

The artist, at full volume
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.

Listen: the first piano sketch
The real piano sound, but no journey. It plays, then stops.
Attempt 3

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.

The artist's notes
The jazz piece: 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:

The new standard
It must be able to create a beginning, mid, end. It must know where the climax lands even though it is bgm.
What worked

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:

The workflow
  1. Brief: the place, the feeling, and one moment the climax stands for.
  2. 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.
  3. Themes: one singable melody and one contrast, and how each will change.
  4. Notes: written to fit the outline.
  5. 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?
  6. 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.

Planned tension curve of the piece: calm at the start, rising through the memory section, a single peak at 1:54, then a long calm descent
The plan before a single note was written: one peak, at 1:54. The measured music landed on the same bar.
The ear caught what the checks missed
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.
Listen: Boats for the Daughters
Solo piano, 3 minutes. The piece that passed.
0:00Dawn on the canal: open chords, two high notes hint at the tune
0:16The canal song, simple and singable
0:46The boats arrive, and the piano starts to flow
1:16A memory: the music turns minor and climbs
1:54The wave: the highest note of the whole piece, heard only here
2:10The tune returns, plain and quiet, like the last paragraph of a story
2:43The dawn motif once more, and stillness
The artist's verdict
This is the best piece and it passes the human ear.
What carries forward

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.
Questions

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).