Topic: Python Audio Processing
please write python code using the numpy, scikit-learn, and pillow libraries to read in an audio file, normalize the waveform values to be in the range of 0 to 255, and then output an image with horizontal bands for each sample of the audio with the first sample at the top and the last sample at the bottom.

Topic: Python Audio Processing
create code in python to generate bass line base on key signature, chord progression and number of bars