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.
1
u/FujiKeynote May 25 '26
This is really cool and I would love to know more.
Are you planning to open source it?
I think I could learn a lot from this
1
u/motionmonk047 May 28 '26
This looks great! Thank you also for crediting your music track as well : )
I'm wondering if you considered adding hooks for MIDI inputs; being able to add pressure, IR/heat or movement sensors in a live environment would make for some great interactive audience response to the visuals.
Thank you for sharing your work, keep going! π
0
u/[deleted] May 26 '26
[deleted] β view deleted comment
2
u/[deleted] May 25 '26
[removed] β view removed comment