Skip to content

Latest commit

 

History

History
44 lines (34 loc) · 1.5 KB

README.md

File metadata and controls

44 lines (34 loc) · 1.5 KB

music-visualizer

A music visualizer compatibile with .mp3 or .wav files with two seperate modes of visualization.

Instructions

Press space bar to pause, left and right arrow keys will skip 10 seconds forward or backward in the song. Press the m key to change visualization mode.

Installing

Install python 3 from the official website. Also install ffmpeg from their official website.

Run the following in the terminal to install all necessary libraries:

pip3 install pygame
pip3 install numpy
pip3 install pydub

Running the application

Clone the repo and run the main.py file.

python3 main.py 

Screenshots

1 Written using PyCharm

2 Line mode, visualizes the wave form of the audio

3 Bar mode, visualizes the energy of the audio

Prerequisites

  • Python
  • Pygame Used to create all graphics and sound.
  • Numpy Used to process data in arrays.
  • Pydub Used for MP3 support.
  • ffmpeg or avconv required for pydub for file conversion.

Authors

  • Manuel Marchand - All user IO and audio processing/handling
  • Ethan Dunn - Graphics related code and menu functionalities