Program allows you to play audio file with wav format and show simple audio wave "visualisation".
- !
Your machine must have access to audio device
! - !
Windows x64 platform
!
- cmake >= 3.8
- All OSes: click here for installation instructions
- make >= 4.1 (Linux, Mac), 3.81 (Windows)
- Linux: make is installed by default on most Linux distros
- Mac: install Xcode command line tools to get make
- Windows: Click here for installation instructions
- VCPKG
- For all platforms: Download dependency tool
- Get
SDL2
andFFTW3
. - Compile:
cd build && cmake .. && make
. - Run it
./MusicVisualizer -f test.wav
.
test.wav
contains audio of coffee machine but you can use own sounds.VS code\studio
set yourVCPKG_ROOT
inCMakeSettings.json
to find libraries.
src
├── main.cpp // Entry point
├── Audio // Contains audio related implementation
├── Exception // Application exceptions
└── Graphic // Graphic related implementation
- Project based on SDL library so concrete implementation (wrappers) must be stored inside SDL folders, for example
Graphic/SDL
.
- Handle controls for player (Stop/play, volume, next, prev buttons etc)
- Load multiple files as playlist
- Handle playlist play (order and shuffle)
- Support Linux platform again
- Experement with Spotify API
This project is licensed with the MIT license
.