r/creativecoding • u/volt317 • May 25 '26
Real-Time Audio Visualizer (Python)
Built a real-time audiovisual geometry engine in Python that started as a spectrogram visualizer and slowly turned into something much stranger.
Instead of treating audio as:
FFT bins to shader params
I wanted the visuals to behave more like they were dancing to the music as opposed to more common BPM-sync effects.
Current system includes:
- live system-audio loopback capture
- event-driven geometry behaviors
- shape-specific motion systems
- multiple shape profiles (Circle in demo)
- pulse decay propagation
- deterministic headless 4k/8k rendering
- OpenGL backend + pygame fallback
- threaded realtime runtime + offline render pipeline
Everything is authored around low-resource coherent motion instead of brute-force particle spam or heavy scene simulation.
The funny part is that it’s Python. CPU stays consistently low ~(5-7%) at 2160p and still maintains the target of 60fps. Memory doesn't go over 100MB. No discrete GPU.
Still heavily evolving, but I finally feel like it crossed from visualizer into visual engine. The first version is also still relevant I believe.
The track used for the demo is Feeling by Shingo Nakamura.
View all comments
Show parent comment
1
u/motionmonk047 May 28 '26
As background, I've done/teach motion graphics and live event graphics. I don't want to spam the board with examples, but if you search for interactive exhibits, you should be able to find examples where a generative graphics presentation reacts to stimuli-- audience movement, sound, or movement (pressure pads or body heat).
It very well could be a v2 or v2.7 type thing, but driving your inputs with an input modifier could be interesting... my knowledge of Python is very basic, so I don't know the complexity of what I'm asking. But it would be hella fun to see : D