Skip to content

A music visualizer that is written in Java and plays a custom playlist of songs configured in a text file. Contains play/pause, mute/unmute, rewind, fast-forward, and repeat functionality. Utilizes Processing3 and Minim libraries.

Notifications You must be signed in to change notification settings

ultra-programmer/music-visualizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

music-visualizer

A program that can play a given list of songs while displaying the song's frequency and channels via shapes and lines. Utilizes the Processing and Minim libraries (not included).

Place desired mp3 files in resources folder. Then specify the names of the files excluding the mp3 file extension to play them in that order in resources/songPaths.txt.

Installation Instructions

  1. Download the Java Development Kit.
  2. Download IntelliJ community edition, run the exe, and follow the instructions to download the software.
  3. Download the Processing Library and unzip the file.
  4. Download Minim by scrolling down and clicking the Minim zip file, and unzipping it.
  5. Download and unzip this GitHub repository's code.

Note: For an easier way to download and run the music visualizer, click here and follow the instructions on the README.md file.

Running Instructions

  1. Open IntelliJ and either
    • Select the open/import option.
    • Click File > New > Project from Existing Sources.
  2. Select the folder containing the repository's source code and keep clicking next until the project is imported.
  3. Select File > Project Structure.
  4. Click the Libraries option on the left-hand side.
  5. Click the + icon on the top bar (it will be on the left of a - icon)
  6. Click Java to choose a Java Library.
  7. Navigate to the place where Processing is stored.
  8. Open processing > core > lib and select the core.jar file.
  9. Select okay, okay again, apply, and then okay one final time.
  10. Click the same + button again and select Java.
  11. Navigate to the directory Minim is stored.
  12. Open minim > library.
  13. Select all of the .jar files by clicking the top one and then shift clicking the last one.
  14. Click okay, okay again, apply, and then okay one final time.
  15. Close the Project Structure window.
  16. On the left-hand side of IntelliJ, expand the music-visualizer-master folder, and then the src folder.
  17. Double click on the MusicVisualizer file inside of src to open it.
  18. If all went well, you should be able to click the ▶ (play) icon on line 10 next to the public class MusicVisualizer extends PApplet line to run the code. Alternatively, when in the MusicVisualizer.java class, press ctrl (or command on MacOS) + shift + fn + f10 to run the program.

Note: To change the songs that are being played, you must first download the mp3 file and add it to the resources directory, and then list the file's name excluding the .mp3 extension in resources/songPaths.txt to have it play when the Java class is run.

About

A music visualizer that is written in Java and plays a custom playlist of songs configured in a text file. Contains play/pause, mute/unmute, rewind, fast-forward, and repeat functionality. Utilizes Processing3 and Minim libraries.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages