The Rubik's Cube Player is a python script written for the Drexel Music Hackathon that took place at the ExCITe Center from 1/28/17-1/29/17. It converts a face of a 3x3 Rubik's Cube into waveform data that is played over a speaker system by taking a picture of it with a webcam. The more solved a face is, the more harmonious it is designed to sound.
The Rubik's Cube Player is run simply by calling:
> python3 main.py
within the project folder.
This project was created as a part of the Drexel Music Hackathon with a goal of combining music and technology together. It was created in a less than 24 hour window.
The Rubik's Cube Player is built on top of a couple technologies.
Pillow is used for image processing:
> pip3 install Pillow
PyAudio is used to play Waveform:
> sudo apt-get install python3-pyaudio
fswebcam and motion were used to preview the webcamera stream and to take quick pictures of the cube to be processed:
> sudo apt-get install fswebcam
> sudo apt-get install motion
To set up motion to work correctly, implement the follow tutorial: https://pimylifeup.com/raspberry-pi-webcam-server/
Hunter Heidenreich (me)
Emmanuel Espino (https://github.com/emanespino)
Jason Zogheb ([email protected])