Bounce to the Beat of Your Favorite Songs!
Music-Ball is an interactive Unity project that brings a new twist to the world of music visualization. With Music-Ball, you can watch balls bouncing on a wall in sync with the beat of your favorite songs. It's a fun and immersive experience that combines music and visuals in a unique way.
Created in the Summer of 2022
To run Music-Ball, follow these steps:
- Install Unity on your system. You can download Unity from the official Unity website: unity.com.
- Download and install the Maestro MIDI Player Toolkit plugin for Unity. You can find the plugin on the Unity Asset Store or on the developer's website: maestrointeractive.co.
- Additionally, you need to download
Midicsv.exe
, a tool for converting MIDI files to CSV format. You can find it on the internet by searching for "Midicsv.exe download" and select a reliable source.
To use Music-Ball, follow these steps:
- Convert your music file to the MIDI format using any software or online tool that supports MIDI conversion. Make sure the MIDI file represents the song you want to visualize.
- Copy the converted MIDI file to the project's directory.
- Open the project in Unity.
- In the Unity Editor, locate the
SongFormatter.cs
script and open it. - Go to line 12 in the script and modify the file path to match the name and location of your MIDI file.
- Save the changes and close the script.
- Run the game within the Unity Editor or build it for your desired platform.
- Use screen recording software to capture the visualizations while the game is running.
Here's a video of Music-Ball
- Dynamic Ball Bouncing: Music-Ball synchronizes the bouncing of balls on a wall with the beat and rhythm of the chosen song, creating an engaging and visually appealing experience.
- Customizable Ball Count: You can adjust the number of balls in the scene by modifying the
nbballs
variable. The default value is 12, but feel free to experiment and find the perfect balance for your visualizations. - Asset Customization: Music-Ball allows you to change the assets used for the balls and the surrounding space. You can replace the ball models or use different textures to create your unique visual style.
Contributions are welcome! If you have any ideas, suggestions, or improvements for Music-Ball, feel free to submit a pull request. Additionally, if you encounter any issues or bugs, please open an issue on the project's GitHub repository.
Music-Ball is licensed under the MIT License. Feel free to use, modify, and distribute the code as per the terms of the license.
Music-Ball was inspired by the creativity and innovation of the music visualization community. We would like to express our gratitude to all the developers, artists, and musicians who have contributed to this exciting field.
The Maestro MIDI Player Toolkit plugin by Maestro Interactive was instrumental in creating the music synchronization feature in Music-Ball. We appreciate their efforts in providing a powerful and flexible tool for working with MIDI files in Unity.
If you have any questions or inquiries regarding Music-Ball, please don't hesitate to contact the project maintainer:
- Email: [email protected]
- GitHub: github.com/MahdiBouafif
We hope you enjoy using Music-Ball and create amazing visualizations with your favorite songs. Let the music guide the balls!