title: How to plot a waveform from wav file in python?
body: <pre class="lang-py prettyprint-override"><code>import os
  import scipy.io
  import scipy.io.wavfile
  import numpy as np
  import matplotlib.pyplot as plt
  dataset_path = os.path.join(os.environ['HOME'], 'shared', 'data', 'assignment_1')
  wavedata = os.path.join(dataset_path, 'example.wav')
     
  fs, audio_buffer = scipy.io.wavfile.read(wavedata)
  
  </code></pre>
  <p>And I kinda cannot understand how to further use matplotlib.pyplot
  Would be grateful for any advice or right documentation!</p>