HARMONIA

Harmony simulator · circle of fifths · free

HARMONIA — a harmony simulator you play like an instrument

Twenty-four major and minor combos travel the circle of fifths. Your left hand plays chord functions, your right hand plays melody notes that always fit, and seven orbiting balls show the seven degrees of the mode. Nothing to install: it runs in the browser, and a MIDI keyboard is heard as a real instrument.

Open the simulator Source on GitHub

Free, no sign-up, no installation. Computer keyboard works out of the box.

HARMONIA simulator stage in English: the 24-combo strip with twelve major and twelve minor keys along the top, seven coloured degree balls around a tonic sun, score and return-to-tonic panels, chord pad and settings panel
The stage in English: the 24-combo strip along the top shows where you are in the circle — a cell lights up as you enter a combo, turns green once its four-chord cycle is played, and the current one blinks. Below are the seven degree balls, the return-to-tonic indicator, the chord pad and the settings panel.

What HARMONIA is

HARMONIA is a free browser-based harmony simulator for anyone who wants to practise chord progressions instead of reading about them. The whole game is built around the circle of fifths: twenty-four combos — twelve major and twelve minor — walk the circle, and each combo has a tonic, a subdominant, a dominant and a tonic again.

The left hand plays the harmonic functions. The right hand plays melody notes, and it does not simply map five keys to five fixed pitches: the five note keys open a safe window of five degrees around the sounding chord, so an improvised line rarely collides with the harmony. Seven balls — one per degree of the mode — carry the colour of their function and the height of their pitch, so the picture on the stage is honest: the ball cannot travel to a place the interval maths does not describe.

There is no build step, no framework and no external dependency. The simulator is plain HTML, CSS and JavaScript, so it also runs from a local file without a server.

How a combo works

A combo is one trip through a key: tonic, subdominant, dominant, tonic. Playing a chord change earns points by function (tonic, subdominant, dominant), by common tones, by root motion and by how the leading tone resolves, so ii → V → I is rewarded as a prepared authentic cadence, IV → I as a plagal one and V → vi as a deceptive turn. Repeating the same pair gradually pays less.

At 300 points the bottom row of the top widget lights up: the Space button changes its progress to “ready” and pulses, so nobody has to guess how the combo ends. Press it — or Space — and the combo advances without a single modal window: major hands over to the minor of the same pair, minor hands over to the major of the next pair. The modes alternate, the score of the new combo starts from zero, and the circle of fifths keeps turning. ↑/↓ and Backspace walk the same route by hand, while Enter belongs to the drums. The musical name of the current key (C major, F♯ minor…) sits right under the score, so the stage never hides which combo you are playing. Under the chord cards, mini keyboards show where those notes sit on a MIDI keyboard.

What Space is for

Space is the start and next-combo key — not pause and not the pedal.

  • On the start screen: press the ten highlighted keys, then Enter to start the drums, then Space to begin the session.
  • In the game: after 300 points, Space and the button in the bottom row of the top widget move to the next combo: major → the minor of the same pair, minor → the major of the next pair. The new combo starts from zero.
  • Below 300 points Space does not switch combos: the same row shows the progress to the gate. To change combo earlier, use ↑/↓ or Backspace.

Pause is Esc, drums are Enter, and the pedal is on by default. So “Space does nothing” usually means the session has not started yet or the combo has not reached 300 points.

What you can do

Practise functions, not shapes

Five chord keys cover the supertonic, subdominant, dominant, submediant and tonic, in major and in minor.

Improvise with a safety net

The right hand offers five degrees that fit the current chord; switch the smart mode off to get five fixed roots instead.

Play a MIDI keyboard

Every note keeps its pitch, octave and velocity. A held triad is recognised as a scale degree or as a colour outside the key.

Sustain with a pedal

CC64 holds released notes and keeps them in the recognition pool; CC123 is the panic button. Tails fade faster under the pedal so it never turns to mush.

Record and listen back

Chords and notes are recorded with timing and stored in the browser. Count-in of zero, one or two bars, and a loop toggle for playback.

Send a recording to Suno

“🎛 Suno” downloads a WAV and copies an English prompt, while “↗ Suno” opens the service for a manual upload. Step-by-step.

Play a 16-bar form

An optional piece with intro, A, B, A′ and coda, soft targets for every bar and a result screen with a breakdown by section.

Add a drum groove

An optional backing layer: press Enter to switch it on — first on the start screen, then in the game with the same key or the panel toggle. Straight, half-time, shuffle, ballad (the default) or waltz. Drums never earn points and never get recorded; a MIDI pad on channel 10 plays the same kit by hand.

Three visualisations

Orbits, spectrum and circle. The circle draws the chord as a triangle on the belt of tones, with common tones marked as voice-leading anchors.

Tune the sound

Reverb, trail decay, idle speed, note octave, metronome and tempo live in a panel that does not steal space from the stage when it is closed.

How to play

  1. The start screen asks you to press ten highlighted keys: Q W E R F for the left hand and J I O P [ for the right one. Each key answers with a sound; a repeat is not counted. Hover a key on the picture and a tip explains what it does. You can also click the keyboard picture, so the entrance works on a tablet.
  2. At 10 / 10 the screen asks for Enter: it starts the drums, so the groove is already playing before the first note. Then the Space key lights up — press Space and the session begins, the same gesture that opens a new combo in the game.
  3. Play chord changes with the left hand and add melody notes with the right one. The score of the current combo grows with every meaningful harmonic turn.
  4. At 300 points press Space to move on: the mode flips and the circle of fifths takes you to the next key.
Keyboard map. Every action is also available from the menus.
Start: ten highlighted keys, then Enter (drums), then SpaceQ W E R F + J I O P [ → Enter → Space
Left hand: supertonic, subdominant, dominant, submediant, tonicQ W E R F
Right hand: five melody notes around the chordJ I O P [
Melody octave up / down= / −
Next / previous combo↑ / ↓ or Backspace
Drums: on / offEnter
New combo after 300 pointsSpace
Mode: major / minor← / →
Visualisation: orbits, spectrum, circle1 2 3
Pause, mute, clear trail, restart the sessionEsc M C 0

Note names follow the interface language: C-D-E in English and do-re-mi in Russian, with a manual switch in Sound → Notation. The colour, radius and degree number carry the same information in either notation.

A MIDI keyboard is the ears, not five buttons

Connect a controller and every key becomes a real note: its own pitch in any octave, its own velocity. About 70 ms after the last change, held notes are folded into a triad and the simulator names it — a degree of the mode, a secondary dominant such as V/ii, or a colour outside the key. There is no “this key equals this chord” table, so the same hardware behaves like an instrument rather than a remote control.

If a controller is already connected at load time, the computer-keyboard tour is skipped and the app is ready to play at once. Notes echoed by the laptop use a piano voice: velocity changes both loudness and brightness, while note-off and the pedal behave like a real instrument.

The sustain pedal (CC64) keeps released notes sounding and inside the recognition pool; CC120/CC123 is the panic button. Web MIDI is available in Chrome and Edge; in other browsers the computer keyboard still plays everything.

Optional layers: a 16-bar form and melody recording

A free jam is the default mode: no metronome, no count-in, no bar targets. Turn the form on and the same game becomes a 16-bar piece — intro (2 bars), A (4), B (4), A′ (4) and a coda (2) — at 84 BPM, in 4/4 or 3/4. Every bar suggests a degree of the current mode as a soft target; hitting it adds points and lights the bar, missing it breaks nothing. Because targets are degrees rather than fixed chords, a mode or combo change in the middle of the piece stays correct. Esc pauses the clock and the game together, and after the last bar a result screen breaks the run down by section.

Recording

The recording panel keeps chords and notes with their timing, offers a count-in of zero, one or two bars, and plays everything back through the same synthesiser without touching the score. Saved melodies live in localStorage and survive a reload; recording stops by itself after three minutes or 6 000 events so the storage never overflows.

Drums

The drum layer never turns itself on: Enter starts it on the start screen, and the same key or the panel toggle does it during the game. A list of patterns — straight, half-time, shuffle, ballad (the default) or waltz — and its own volume, 20 %. In a jam the drums keep their own tempo; in a piece they follow the form, so the slider greys out and the readout says “led by the piece”. The kit is synthesised with Web Audio: no samples, no network requests. It is deliberately deaf to the game — drums never earn points, never enter the recognition pool and never land in a recording. The same kit plays by hand from a MIDI pad on channel 10.

Recording → Suno: how to send your phrase

HARMONIA never uploads a recording and never asks for an API key. It prepares two things for Suno: a WAV of the melody you played and an English prompt that already contains the key, tempo, meter, timbre and drum setting. HARMONIA has no access to your Suno account, so the upload stays manual: you can see exactly which file and which text go into the service.

Two clicks in HARMONIA + one upload in Suno

  1. Record a phrase. Press “Record”, play chords and melody, stop the recording and select the take in the recording panel.
  2. Press “🎛 Suno”. HARMONIA copies the prompt and starts rendering a WAV. The button itself shows progress: 🎧 Suno WAV.
  3. Wait for the file. The browser downloads the WAV and the button turns into “↗ Suno”. The prompt is copied automatically — usually it is already on your clipboard.
  4. Press “↗ Suno”. suno.com/create opens and the prompt is copied again, in case you copied something else in the meantime.
  5. Upload the WAV to Suno as an audio attachment and paste the prompt into the description field. Suno then uses the WAV as the basis for a new version.

Why two clicks: the WAV is rendered in real time, and a browser blocks the Suno window if it is opened after a delay. The second click is both permission for the new tab and a fresh copy of the prompt. Keep the tab focused while it renders: Web Audio may throttle in the background. A recording is capped at three minutes; Suno's free plan has its own limits and download rules — check them in your account.

Interface language

English is built into the simulator: its own labels, tooltips and the C-D-E note names, with no machine translation in the way. Pick English in the language menu of the top bar or open the simulator with ?lang=en — the choice is remembered. Every other language in that list goes through Google Translate: the widget is loaded only after you pick a language, never on page load, and it is disabled on local files, so the page a search engine sees stays one stable Russian document.

Musical symbols are deliberately left alone: note names, degree numbers, chord symbols, key labels and the circle of fifths stay exact in every language — they are music, not prose. This page is the English entry point, the Russian original is the canonical one, and a Russian overview of the project (the same story in the source language) lives at О проекте.

Questions

Is HARMONIA free?

Yes. It is a free browser game with no sign-up, no installation and no paywall. The source code is on GitHub under the MIT licence.

Do I need a MIDI keyboard?

No. The computer keyboard plays everything: Q W E R F for the left-hand chords and J I O P [ for the right-hand notes. A MIDI keyboard is optional, but it is heard as a real instrument — every note keeps its own pitch, velocity and octave.

Which browsers are supported?

Any modern browser with Canvas 2D and Web Audio: Chrome, Edge, Firefox or Safari. Web MIDI input works in Chrome and Edge; without MIDI the computer keyboard still plays the whole game.

Can I play it without an internet connection?

Yes. The simulator is plain HTML, CSS and JavaScript with no dependencies, so it works from a local file on your own computer. Only the optional interface translation needs a network connection.

Where are my recordings stored?

In your browser. Saved melodies live in localStorage and never leave your device. The only outside requests are the optional Google Translate widget and anonymous Yandex Metrika visit statistics.

How do I send a recording to Suno?

Record a phrase, select it in the recording panel and press “🎛 Suno”. HARMONIA downloads a WAV and copies an English prompt. When the render finishes, press “↗ Suno”: suno.com/create opens, where you upload the WAV and paste the prompt. HARMONIA does not upload the file or need an API key.

What is Space for?

Space is the start and next-combo key. On the start screen it begins the session after ten keys and Enter (drums). In the game, after 300 points it moves to the next combo; below 300 points it does nothing. Pause is Esc, drums are Enter.

Is it a course or a game?

Closer to a trainer you can play. There are no lessons to read: the point system rewards functional harmony, so the habits that produce cadences are the ones that produce points.

Are there drums?

Optional. A synthesised kit plays a groove behind the jam or the piece — straight, half-time, shuffle, ballad or waltz — and Enter switches it on at the start screen or during the game. Drums are a backing layer only: they never earn points, never enter the recognition and never get recorded. A MIDI pad on channel 10 plays the same kit by hand.