title: What are Python3 libraries which replace "from scikits.audiolab import Format, Sndfile"
body: <p>Hope you'll are doing good. I am new to python. I am trying to use audio.scikits library in python3 verion. I have a working code version in 2.7(with audio.scikits) . While I am running with python3 version I am getting the <strong>Import Error: No Module Named 'Version'</strong> error. I get to know that python3 is not anymore supporting audio.scikits(If I am not wrong). Can anyone suggest me replacing library for audio.scikits where I can use all the functionalities like audio.scikits do OR any other solution which might helps me. Thanks in advance.</p>
  
  <p>2.7 Version Code :</p>
  
  <pre><code>from scikits.audiolab import Format, Sndfile
  from scipy.signal import firwin, lfilter
  
  array = np.array(all)
  fmt = Format('flac', 'pcm16')
  nchannels = 1
  cd, FileNameTmp = mkstemp('TmpSpeechFile.wav')
  # making the file .flac
  afile =  Sndfile(FileNameTmp, 'w', fmt, nchannels, RawRate) 
  #writing in the file
  afile.write_frames(array)
  SendSpeech(FileNameTmp)
  </code></pre>
  
  <p>To check entire code please visit :<a href="http://%20https://github.com/ederwander/Asterisk-Google-Speech-Recognition/blob/master/pahh.py" rel="nofollow noreferrer">Google Asterisk Reference Code(modifying based on this code)</a></p>
  
  <p>I want to modify this code with python3 supported libraries. Here I am doing this for Asterisk-Microsoft-Speech To Text SDK.</p>