Skip to content

Latest commit

 

History

History
48 lines (33 loc) · 1.12 KB

File metadata and controls

48 lines (33 loc) · 1.12 KB

visualizer

An audio visualizer made using SDL and OpenGL.

Install

  • 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 glad headers at https://gen.glad.sh/ - Make sure to select gl: 4.1 and Core and add them as following in your directory

    ├── include/
    │   ├── glad/
    │   │   └── gl.h
    │   └── KHR/
    │       └── khrplatform.h
    ├── src/
    │   ├── gl.c
    └── main.c
    
  • Run make run to compile and run

  • Switch b/w visualzation using Left and Right arrows.

  • You can use BlackHole to add loopback in MacOS to get system audio.

References