title: I have problem when I use Librosa to tranform audio wav to mfcc
body: <p>FutureWarning: Pass y=[-3.2441342e-06 -9.7864104e-06 -3.0368642e-06 ...  4.6918821e-04   6.3271471e-04  5.8934174e-04] as keyword args. From version 0.10 passing these as positional arguments will result in an error   mfccs = librosa.feature.mfcc(x, sr=sr)
  import pyaudio
  import os
  from tqdm import tqdm
  import wave
  import librosa
  import librosa.display</p>
  <p>def main():
  &quot;&quot;&quot;
  # On definit les chemins d'acces au différentes hyper parametre
  &quot;&quot;&quot;</p>
  <pre><code># On définit les specs de notre fichier audio de test
  format = pyaudio.paInt16
  channels = 2
  rate = 44100
  chunk = 1024
  recordTime = 2
  soundPath = '.\\testAudio\\test.wav'
  
  record(format, channels, rate, chunk, recordTime, soundPath)
  </code></pre>
  <p>def record(format, channels, rate, chunk, recordTime, soundPath):
  while True:</p>
  <pre><code>    audio = pyaudio.PyAudio()
  
      # Début enregistrement
      stream = audio.open(format=format, channels=channels, rate=rate, input=True, frames_per_buffer=chunk)
  
      os.system('cls')
  
      # Enregistrement de la voix
      frames = []
      for i in tqdm(range(0, int(rate / chunk * recordTime)), &quot;&gt; Enregistrement... &quot;):
          data = stream.read(chunk)
          frames.append(data)
  
      # On stop l'enregistrement
      stream.stop_stream()
      stream.close()
      audio.terminate()
      print(&quot;Enregistrement OK&quot;)
  
      # On enregistre l'extrait audio en fichier wav
      waveFile = wave.open(soundPath, 'wb')
      waveFile.setnchannels(channels)
      waveFile.setsampwidth(audio.get_sample_size(format))
      waveFile.setframerate(rate)
      waveFile.writeframes(b''.join(frames))
      waveFile.close()
  
      print(&quot;\n&gt; Début...&quot;)
      x, sr = librosa.load(soundPath)
      mfccs = librosa.feature.mfcc(x, sr=sr)
      print(mfccs.shape)
      # Display the MFCCs
      librosa.display.specshow(mfccs, sr=sr, x_axis='time')
  
      again = input(&quot;\nRecommencer ? (O/N) &quot;)
      if again == 'n':
          return
  </code></pre>
  <p>if <strong>name</strong> == &quot;<strong>main</strong>&quot;:
  &quot;&quot;&quot;
  # MAIN
  &quot;&quot;&quot;
  main()</p>
  <pre><code></code></pre>