Generate music with Python