Show HN: A geometric analysis of Chopin's Prelude No. 4 using 3D topology
50 points| jimishol | 10 days ago |github.com
This is a geometric decoding of Chopin's Prelude No. 4.
I built a 3D music midi visualizer ( https://github.com/jimishol/cholidean-harmony-structure ) and realized that standard music theory couldn't explain the shapes I was seeing. So, I developed the Umbilic-Surface Grammar to map the topology of the harmony.
This document demonstrates that the prelude's tension isn't random, but a rigorous conflict between 'Gravity' (Station Shifts) and 'Will' (Pivots).
I am looking for feedback on the logic—specifically from anyone with a background in topology or music theory. Does this geometric proof hold up?
madcaptenor|10 days ago
This is the E minor prelude - I happened to recognize it by key but not by number.
See e.g. the Wikipedia article (https://en.wikipedia.org/wiki/Prelude,_Op._28,_No._4_(Chopin...) which has a recording embedded, although there are surely better ones.
Sheet music from IMSLP: https://s9.imslp.org/files/imglnks/usimg/3/3c/IMSLP319636-PM...
jimishol|10 days ago
I avoided including the MIDI/Score files in the repo to avoid licensing issues, but I have updated the analysis document immediately with the Wikipedia and IMSLP links.
The ideal experience (as shown in the README gif) is actually running the visualizer alongside a score editor like MuseScore via MIDI port sniffing, so you can see the geometric cursor sync with the sheet music cursor. But for reading the text, the recording is essential context. Thanks for the links.
anigbrowl|7 days ago
Honestly, I don't think the observation of accidentals as a way of creating tension with an established harmony is especially novel, but I do like the 3d visualization despite its limitations.
jimishol|4 days ago
> Thanks — the main repo page includes demos, screenshots, and *installation instructions in `README.md`*.
jimmySixDOF|7 days ago
jimishol|10 days ago
Note on Terminology: This analysis uses specific geometric terms (like 'Station Shift' and 'P-Rotation') defined in the Grammar Specification. If the logic seems opaque, the definitions are here:
1. The Grammar Spec: https://github.com/jimishol/cholidean-harmony-structure/blob...
2. The Topological Basis: https://github.com/jimishol/cholidean-harmony-structure/blob...
jancsika|7 days ago
That residue in m.2 is common-tone voice leading. It's a technique that was used throughout the common-practice period to avoid tension, not introduce it. I'd bet the progression in m. 1-2 could be found in the figured bass at the beginning of a slow movement by Telemann or another Baroque composer.
Speaking of Baroque composers-- in the Coda of the 4th Ballade, Chopin has an exquisite passage of basso continuo plus accompaniment that would be right at home in a minor key aria by Handel. Except that:
1. There's no melody being accompanied.
2. It moves about 4x faster than it would have in the Baroque era.
I'd love to see a pianist play that passage by suddenly looking up and frantically nodding cues to an invisible, demonic singer.
jimishol|4 days ago
When I wrote 'tension,' I was describing the Geometric Re-contextualization visible in the visualizer. The note (A) stays put, but the 'world' (the Surface) rotates underneath it.
To be clear: The Grammar is simply my attempt to describe the movements I observed in the 3D structure. I am not a theorist; I am a builder. I see the Structure itself (the lattice) as the real contribution.
My hope is that theorists will see this structure and develop their own grammars for it. I would love to see a 'Baroque Grammar' or a 'Jazz Grammar' that maps these geometric paths according to their specific stylistic rules. The geometry is neutral; the grammar is just the lens I used to read it.
efitz|7 days ago
jimishol|4 days ago
I have included a visualization GIF in the main README. While the demos in the installation section are short, they do contain audio-visual examples.
Direct link to the README: https://github.com/jimishol/cholidean-harmony-structure/blob...
lucid-dev|7 days ago
https://jimishol.github.io/post/tonality/
kavalg|7 days ago
jimishol|4 days ago
For the only piece I have ever composed ( https://jimishol.github.io/post/young_and_confused/ )—a harmony exercise written before I built this tool—I find the visualization acts primarily as a mnemonic device.
However, for pieces like Satie's Gnossienne No. 1, the geometry makes profound sense, while others like Flight of the Bumblebee are just beautiful to watch purely for the motion.
I actually just pushed a new update (v2.5.2-2) that attempts a topological estimation of keys based on the active surface. Give it a try and let me know what you find.
dhjjdjjjd|7 days ago
[deleted]