Piano-playing robot for Principles of Engineering, Olin College, Fall 2014
License: MIT License
C++ 0.30%Python 25.53%Arduino 9.62%CSS 13.95%HTML 21.81%JavaScript 28.79%
piano-poe's Introduction
piano-poe
Sending midi file contents to Arduino:
Upload playNotev4.ino to Arduino (see below); take note of the serial port to which the Arduino is connected
Ensure that you have python-midi installed (see below) OR set midiOutput to testMidiOutput instead of reading from midi in sendCommandv3.py -> sendMidiOutput
Start a Python/ipython process (you may need sudo permissions to access the serial port) then run sendCommandv3.py -> serialWrapper()