Made a function that creates a png of the wav samples