/theme-and-variations

Generates a musical theme, then creates a composition following traditional methods of 'theme and variation'.

Primary LanguagePython

Theme and Variations

A PYTHON-A-THON 2016 PROJECT

by Zach Caceres (@zachcaceres)

Generate a musical composition in the theme-and-variations style through math. Uses numpy to generate a seed for tones. Applies a series of theme-and-variations rules (inversion, reverse, extend intervals etc.) to create a composition algorithmically.

Requires:

Instructions:

  1. Press Button
  2. Receive MIDI music

To do:

  • Add more variation rules