Skip to content

AhmedDawoud3/Love2d-Midi-Visualizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Love2d Midi Visualizer

Music Visualizer with love2d using Midi Files

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. Usage
  5. Contributing
  6. License
  7. Contact

About The Project

By using the midi files, firstly converting them into json files to make them readable with lua. Then parsing the music data to play the corresponding notes with luamidi.dll. Then using the flocking simulation, The boids are triggered by the notes.

Animation

Built With

LOVE

Getting Started

  • First install LÖVE if you haven't already.

  • Then download luamidi.dll_32 OR luamidi.dll_64 depending on the version of love you downloaded then rename it to luamidi.dll and place it in your Love2d folder (typically C:\Program Files\LOVE) .

  • Then find a midi song you wish to play. Check bitmidi for free midi files.
    Then you'll have to convert it to a json file using this Converter.
    I've provided an example song in the repo.

USAGE

  • Clone the project

git clone https://github.com/AhmedDawoud3/Love2d-Midi-Visualizer
cd Love2d-Midi-Visualizer/

  • Run The Game

    You'll have to provide the json file as a command line argument as following: love . [The Song File]
love . song.json

Et voilà

Contributing

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Branch (git checkout -b NewBranch)
  3. Commit your Changes (git commit -m 'new commit')
  4. Push to the Branch (git push origin NewBranch)
  5. Open a Pull Request

License

Distributed under the MIT License. See License for more information.

Contact

Ahmed Dawoud - @AhmedDawoud314 - adawoud1000@hotmail.com

Project Link: https://github.com/AhmedDawoud3/Love2d-Midi-Visualizer

About

Music Visualizer with love2d using Midi Files

Topics

Resources

License

Stars

Watchers

Forks

Languages