An audio visualizer made using SDL and OpenGL.
-
Clone the repo and install dependencies
git clone https://github.com/ish-u/visualizer.git cd visualizer -
Install SDL2 from - SDL. For MacOS you can use brew
brew install sdl2
-
Verify SDL2 is configured correctly by running
sdl2-config --version -
Get
gladheaders at https://gen.glad.sh/ - Make sure to selectgl: 4.1andCoreand add them as following in your directory├── include/ │ ├── glad/ │ │ └── gl.h │ └── KHR/ │ └── khrplatform.h ├── src/ │ ├── gl.c └── main.c -
Run
make runto compile and run -
Switch b/w visualzation using
LeftandRightarrows. -
You can use BlackHole to add loopback in MacOS to get system audio.

