You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think it shouldn't be a problem (it's just a warning). Scipy's wav read function just can't read some of the wav file's meta data. But this should have no influence on the audio signal.
If you don't like the warning, just write the signals with Scipy's wav write function to new files (meta data will be removed) and read this files again.
log:
/Users/wangshaoce/test_project/pysepm/test.py:6: WavFileWarning: Chunk (non-data) not understood, skipping it.
fs, clean_speech = scipy.io.wavfile.read('1_speech_16000_Hz.wav')
/Users/wangshaoce/test_project/pysepm/test.py:7: WavFileWarning: Chunk (non-data) not understood, skipping it.
fs, noisy_speech = scipy.io.wavfile.read('1_noisySpeech_16000_Hz.wav')
this is my code:
import pysepm
import scipy.io.wavfile
import wavio
import sys
sys.path.append("../")
fs, clean_speech = scipy.io.wavfile.read('1_speech_16000_Hz.wav')
fs, noisy_speech = scipy.io.wavfile.read('1_noisySpeech_16000_Hz.wav')
fs, enhanced_speech = scipy.io.wavfile.read('1_processed_16000_Hz.wav')
pysepm.pesq(clean_speech, noisy_speech, fs)
pysepm.pesq(clean_speech, enhanced_speech, fs)
Google didn't solve my problem
I look forward to your reply
best wishes
The text was updated successfully, but these errors were encountered: