To use this project, upload an mp3 file, using the "Upload File" button. Then, transport that music to
the audio player by pressing the "Upload to Audio Player" button. Finally, press the "Paint" button to
translate that song into art! (Note: It does take a second or two to load, so be patient!)
To customize the experience a little bit more, you have two options to choose from when it comes to
painting. You can have the structured version, which makes positions of shapes less random and more
based on the intervals in the music. Or, you can choose the random variant, where the position of the
shapes is random, but the calculation of the bounds of the shapes is still dependent on the chords.
How it works:
The translation from music to art uses two very helpful libraries: Essentia and Teoria. Essentia allowed me to get the three most
resonant notes at a given time in an uploaded mp3 file. Teoria, then, translates those notes into chords
and intervals.
For each type of interval, a different shape is drawn with a color specified by the root of the note: