Skip to content

[WIP] Player with audio wave visualizer based on SDL

License

Notifications You must be signed in to change notification settings

LinMAD/MusicVisualizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

[WIP] Player with audio wave visualizer based on SDL

Topics

Resources

License

Stars

Watchers

Forks