Skip to content

ascent12/visualiser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A visualiser for audio using OpenGL.

screenshot

Note: this is not high-quality code intended for other people to use. It was mainly written as a learning experience for audio programming and OpenGL. I might improve it in the future, but for the time being, it remains as a hack-job.

Dependencies:

  • GLFW
  • FFTW
  • ALSA

Usage:

Compile with

make

Run with

./main some_file.wav

Controls:

  • ESC: Quit
  • Up: Scale +10%
  • Down: Scale -10%
  • Left: Double FFT size
  • Right: Half FFT size
  • L: Switch between Logarithmic/Linear views (Default: Logarithmic)

FFT size:

The FFT size has a direct impact on the horizontal resolution of the output, and how long a signal will stay on the display.
Setting the FFT size to be too large will have strange results, where the audio signals stay on the screen for far too long.
Setting the FFT too low will also have strange results, with the audio signals appearing 'jittery'.
Staying reasonably close to the default value has the best results.

About

An OpenGL audio frequency visualiser

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published