The goal of this project for the Principle of Engineering class is to print the music notes and rythmn encoded in a midi file in braille. We hope to make music resources more available to people who are visually impaired
These instructions will get you a copy of the project up and running on your local machine.
The project runs with Python2.7.
The python-midi library used for this project depends on Swig.
sudo apt-get install swig
The following libraries are required to run the project.
- python-midi
- pyserial
- espeak
- Adafruit_Python_CharLCD
- adfruit_lcd_plate_menu
Clone the repository of python-midi, Adafruit_Python_CharLCD and adafruit_lcd_plate_menu library into any location of choice on your computer. For each library, run
sudo python setup.py install
Use the package manager pip to install pyserial, pyttsx3 2.7 and espeak .
sudo pip install pyserial
sudo pip install pyttsx3
sudo pip install espeak
- Load code in
DemoDay\DemoDay.inoto an Arduino Board. Check the port and modify it accordingly inPACommunication.py.Then run the following command to perform Midi to Braille conversion and Python to Arduino communication:python displayUI.py - Once the LCD screen displays the available songs, press the right button to select and print corresponding music brailles.