title: Spectrogram of a wave file
body: <p>I am trying to obtain spectrogram of a <code>wav</code> file in python. But it gives the error: </p>
  
  <blockquote>
    <p>'module' object has no attribute 'spectrogram'.</p>
  </blockquote>
  
  <p>Here is the code :</p>
  
  <pre><code>import scipy.io.wavfile
  from scipy.io.wavfile import read
  from scipy import signal
  
  sr_value, x_value = scipy.io.wavfile.read("test.wav")
  
  f, t, Sxx= signal.spectrogram(x_value,sr_value)
  </code></pre>
  
  <p>Is there also any way to obtain the spectrogram of a <code>wav</code> file?</p>