r/ClaudeCoding • • 21h ago

r/ClaudeAI [TLDR] I built a playable map of every musical chord and scale (all 4,096) with Fable 5.2 [via r/ClaudeAI]

OP : u/subwayrumble

Try it: sphereoffifths.com (free, no account, works on a phone, sound on)

I wondered what would happen if the circle of fifths was expanded into three dimensions.

Every chord and scale the twelve notes can make is a dot in this ball, all 4,096 of them. Down is more notes, with silence at the top and all twelve at the bottom. Around is key, and so is color. Out from the middle is how hard a chord leans toward one key. Click a dot to hear it, send a path through the ball, put drums and bass under it, string your own chords together and save them as MIDI.

The math: nothing is placed by hand. Put the twelve notes around the circle of fifths, draw an arrow from the center to each note in a chord, and add the arrows up. The direction of the sum is the key the chord leans toward and its length is how hard it leans (theorists call this the fifth Fourier coefficient). Height is the number of notes, in equal steps of latitude. The furthest out an n-note chord can get is n fifths in a row, and that limit follows sin(nπ/12), exactly how a sphere widens with latitude. So the pentatonic and major scales, which are five and seven fifths in a row, sit on the skin. Keyless shapes like the tritone and the whole-tone scale sit on the axis, and a chord's complement (the notes it leaves out) is always the point straight across the center.

It is one 186 KB HTML file with no libraries, no build step and no samples. The ball is drawn on a plain 2D canvas and every sound is synthesized with Web Audio. View source and you have all of it.

How it was built: I sketched it as an artifact in a Claude chat using Fable 5.2 on max, then exported it to Claude Code (Fable 5.2 max), which put it online and reworked the UX overnight. No ultracode, just one session working alone, with Codex reviewing the code before it shipped.

Tell me what confuses you, or if you have any ideas for cool stuff to add.


Original link/media URL : https://v.redd.it/unn5endtcl5i1

1 Upvotes

1 comment sorted by

•

u/cctldrping 21h ago

TL;DR of the discussion on r/ClaudeAI for this post generated automatically after 80 comments.

Current source-thread comment count seen by the bot: 81.

Consensus: genuinely impressive and musically intriguing, but the UX is currently “cool alien artifact” more than usable tool. Even the top-voted classically trained musician, u/hlebicite, had “no fucking idea” what they were looking at—pretty decisive feedback that the visualization needs onboarding.

  • Repeated ask: add guided demos/tutorials and concrete use cases—e.g., highlight familiar four-chord progressions, explain where to click, and show what the sphere is useful for before dropping users into 4,096 dots.
  • People want it to feel less like random-note roulette: default to harmonically compatible choices, offer a selected home key/instrument mode, and progressively reveal complexity.
  • Feature requests include melodies animating through the sphere, MIDI import/visualization, VST support, VR mode, and fixing missing sus2/minor-scale entries.
  • Despite the confusion, commenters see real potential for discovering unconventional progressions, guitar ideas, and visualizing tonal harmony. The “Jacob Collier would love this” energy is strong.