I managed to get `pyvista` to render arbitrary 3D shapes directly to the terminal using kitty graphics.
It's a giant hack, only way to make it performant is using shm.
Had a similar setup based on an Arduino, 3 hardware filters (highs/mids/lows) for audio and a serial connection. Serial was used to read the MIDI clock from a DJ software.
This allowed the device to count the beats, and since most modern EDM music is 4/4 that means you can trigger effects every time something "changes" in the music after synching once.