I have .mat audio data set. But when i use following code, I can't change .mat to .wav and i can't save it. I use Ubuntu +spyder + keras.
import scipy.io as sio from scipy.io import wavfile import numpy as np import glob audio_path= ‘/home/narges/dataset/vowel/’ audios= glob.glob(audio_path+ “*.mat”) audios.sort() audio= sio.loadmat(audio_path)
When i use the .mat file, this code run correctly. But i want all of my .mat file in the vowel folder run by this code. I expected convert .mat to wav and save it.