Skip to content

Latest commit

 

History

History
56 lines (44 loc) · 1.78 KB

README.md

File metadata and controls

56 lines (44 loc) · 1.78 KB

Music visualizer

Program allows you to play audio file with wav format and show simple audio wave "visualisation".


Example of application window

Demo

Getting Started

Requirements

  • ! Your machine must have access to audio device !
  • ! Windows x64 platform !

Dependencies for Running Locally

Build and Run

  1. Get SDL2 and FFTW3.
  2. Compile: cd build && cmake .. && make.
  3. Run it ./MusicVisualizer -f test.wav.
  • test.wav contains audio of coffee machine but you can use own sounds.
  • VS code\studio set your VCPKG_ROOT in CMakeSettings.json to find libraries.

Project structure

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.

Next to Develop\Fix

- 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

License

This project is licensed with the MIT license.