This is a capstone project that aims to take data from .midi files and translate that to coordinates, edges and faces in a 3D space, hopefully making a 3D model based on how the program interprets the data.
This project is heavily based in Blender and utilizes the Blender API, Python Scripts and external Python Midi Libraries, so you will need to install them onto your computer in order for this program to work...
Playlist is here: https://www.youtube.com/playlist?list=PLg6uxUmvfCjP_n6_9g4Jg76WziWpGKU9A
- Musescore is free to download and install on your computer.
- Looking at musescore for the first time might be intimidating, but for our purposes, we'll be making something simple. In the video, I just create a simple C scale, but I discuss other methods to obtain midi files.
- https://youtu.be/xzgx34wspjk
- Blender is a game engine, 3D modelling software and renderer. An all-in-one package essentially!
- It can be found here at https://www.blender.org/
- Follow the installation instructions normally, it shouldn't be difficult (or painful) to do.
- Open blender for the first time to verify the version of python it has installed.
- Click anywhere to get rid of the splash screen.
- Press Ctrl+Right Arrow key until you get to a screen that has the python console below
- Record the version of python it states right next to the words "Python Interactive Console" in the black terminal.
- Close Blender
- Navigate to where Blender is installed
- This can be done by left-clicking on the blender icon on your desktop or in the windows menu and select the option to "Open File Location"
- If it opens up to a file explorer window with the shortcuts, just left click on the blender icon in the folder and repeat the same action you did for step 1
- Open the folder that has the Blender version number on it and you'll see a folder labelled "python"
- Move or delete this folder. What this does is it forces Blender to rely on the system to provide the python libraries.
- https://youtu.be/A2xdNfAEBXo
- Remember that python version you wrote down earlier? Well do a google/bing/whatever internet search like "python 3.5.3 download" on google and you should be taken to the python website that will allow you to install that version of python.
- Once you install python, you will need to open up the command line and type in
pip install mido
- Once you're done installing the packages, thats it!
- Keep in mind, that if you reinstall blender, you need to make sure that the version of python you have installed on your system matches it! Otherwise things won't work!
- https://youtu.be/IFtT18l6VWQ
Have fun with this :)