listen some bytebeat with python, portaudio (pyaudio) and tk (tkinter)
this is a minimalistic project that make it possible for you to try bytebeat formulas
http://canonical.org/~kragen/bytebeat/ https://countercomplex.blogspot.com/2011/10/some-deep-analysis-of-one-line-music.html https://countercomplex.blogspot.com/2011/10/algorithmic-symphonies-from-one-line-of.html