libprojectM reads audio input and renders OpenGL visuals from Milkdrop-style presets, with beat detection and FFT analysis for integrators.
Overview
projectM is an open-source music visualizer library that reimplements the Winamp Milkdrop approach for modern, cross-platform use. It ingests audio, detects tempo, runs FFT and beat analysis, applies preset equations, and draws the result with OpenGL, either to a dedicated context or a texture.
This codebase ships libprojectM for developers: preset parsing, audio feature extraction, and rendering. End-user viewers and plugins live in separate repositories for Windows, macOS, Linux, Android, and other targets. Preset packs are also distributed separately; frontends bundle varying collections, and users can add community preset packs.
Presets are defined with pixel shaders and Milkdrop-style parameters. The library itself does not bundle presets. Integrations have appeared in media players and jukebox software; those bindings are maintained independently.
The core depends primarily on OpenGL. It can be built from source with CMake, including WebAssembly builds via Emscripten. The shared library is intended for use inside both open-source and proprietary applications when license terms are followed.
Key features
- Milkdrop-compatible preset engine
- Beat detection and FFT audio analysis
- OpenGL rendering to context or texture
- Cross-platform C/C++ library
- Preset parsing without bundled packs
- PipeWire, PulseAudio, JACK backends elsewhere
- CMake and Emscripten build paths
- Third-party player integrations
Use cases
- Embedding visuals in a media player
- Building a desktop music visualizer app
- Reusing Milkdrop-style preset collections
- Audio-reactive OpenGL integrations