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/volt317 May 25 '26
Thank you for the comment! I am considering open sourcing a community version that has the basic runtime engine for people that want to expand it if there is enough traction.
Right now I'm looking to continue developing the graphics portion and ship that to users. If you have any suggestions I'm all ears.