Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 774 Bytes

README.md

File metadata and controls

34 lines (23 loc) · 774 Bytes

C and SDL music visualizer

NEW:Change to time domain mode with m key

This simple real-time visualizer calculates the dft of a given stream and outputs the magnitudes

Sample usage with given options size and file (if you avoid the size it will be 2048 by default):

./visualizer -s 2048 -f 'some file.wav'

NOTE: The audio format must be .wav (MP3 support still have to be implemented)

Dependencies:

  • SDL2
  • FFTW3

You can easily find those in Arch extra packages:

sudo pacman -S sdl2
sudo pacman -S fftw

Or just install them yourself.

Have fun!

It's not compatible with windows because the pthread API is different.