Image2music_2.0 allows you to compose music just by selecting a source image file. The program processes the image and creates a musical piece of configurable length.
For example, using this image as a source file:
an approximatley 5 second long piece of music was created.
- [Python Imaging Library (PIL)] (http://www.pythonware.com/products/pil/)
- PySynth
cd image2music_2.0
python image2music.py [source image] [output audio].wav [output length seconds]
The example above was created with the following:
python image2music.py tourists.jpg tourists.wav 5