Senior Project, Elliot Miller, 2016
This project was written in Python 2.7.10. There are two main programs that can be run in this project:
- Command line interface
- Web server interface
Make sure Python 2.7 is installed along with tkinter, matplotlib, and pyaudio. On a debian-based system you can install all the requirements with:
[sudo] apt install python2.7 python-tk python-pip python-pyaudio
[sudo] pip install matplotlib
From the root directory of this project, run the command,
python generator.py [filename]
Where filename
is the path to the waveform file you want the program to
analyze and generate music from.
To play a wavefile you can use the player.py
program:
python player.py filename.wav
From the root directory of this project, run the command,
python server.py
Python should immediatly start a local web server on port 8080. If it was
successful, python will print out Started httpserver on port 8080
. Open a
web browser to localhost:8080 to use the program.