Sphere-Vis is a visualizer which deforms the shape of a sphere in sync with the currently playing sound or music. In essence, it is a reimagination of a Music Spectrum Analyzer where vertices of a sphere are displaced based on the magnitude of the buckets of frequencies. The motivation behind the project is my interest in ways of visualizing music aiming for the "coolness" factor.
The project is written in C++ using minimal system dependencies, in order to make the software easy to distribute on Linux systems. The audio data is transferred from the audio thread to the rendering thread using a wait-free single-consumer single-producer queue. In the rendering thread, the audio data is subjected to a Fast Fourier Transformation, after which the frequency magnitudes are grouped into buckets and computed into the position of the vertices of the sphere.
Project Repository: https://github.com/alexge50/sphere-vis