Difference between revisions of "DeepHarmony"

From vjmedia
(→‎Tasks)
(→‎Dependencies:)
Line 24: Line 24:
  
 
==Dependencies:==
 
==Dependencies:==
−
* [http://jupyter.org Jupyter Notebook], an interactive programming environment and editor (necessary for using the ipynb files)
+
* [http://jupyter.org Jupyter Notebook], an interactive programming environment and editor (necessary for using the .ipynb files)
−
* Python 3.5, the programming language Deep Harmony is written in
+
* Python 3.5, and the following libraries:
−
** numpy and a few other Python libraries (can be installed through [https://www.continuum.io/downloads Anaconda] or pip.
+
** numpy and matplotlib (they are packaged in [https://www.continuum.io/downloads Anaconda], and we recommend installing it that way)
−
* [https://keras.io Keras], a machine learning library
+
** [http://web.mit.edu/music21 music21], for processing music data
−
 
+
** [https://pypi.python.org/pypi/tqdm tqdm], for nice progress bars
−
We recommend that you use Anaconda to install all of the dependencies for the project, except for Keras, which has installation instructions on its website. You can install it through pip.
+
** [https://keras.io Keras], a deep learning library. We recommend installing it with the Theano backend, but the code should work with the TensorFlow backend as well.
 +
* musescore 2+, for allowing music21 to render music as pictures
  
 
=WPI Student contributors=
 
=WPI Student contributors=

Revision as of 23:59, 11 October 2016

  1. PICTURE HERE#


Summary

Deep Harmony is a machine learning project for creating harmonies based on a given melody.

Currently, Deep Harmony is learning to mimic the behavior of Bach Chorales created by David Cope.

Tasks

Integrating Deep Harmony into a Max Patch

Deep Harmony could be used to create real-time music in Max/MSP. Other people have already created ways to run Python code in Max/MSP pyext (not actively maintained) Embedding Jython in Max (probably not what we want)

Recommended skills:
  • Basic Python programming
  • Familiarity with Max/MSP
  • Patience for figuring out installation/configuration issues

Getting Deep Harmony set up on your computer

All project files and resources are located in this git repository: https://github.com/samkhal/deepharmony

It can be downloaded as a .zip file or cloned as a repository.

Dependencies:

  • Jupyter Notebook, an interactive programming environment and editor (necessary for using the .ipynb files)
  • Python 3.5, and the following libraries:
    • numpy and matplotlib (they are packaged in Anaconda, and we recommend installing it that way)
    • music21, for processing music data
    • tqdm, for nice progress bars
    • Keras, a deep learning library. We recommend installing it with the Theano backend, but the code should work with the TensorFlow backend as well.
  • musescore 2+, for allowing music21 to render music as pictures

WPI Student contributors

2016

Sam Khalandovsky

Ezra Davis