-
Notifications
You must be signed in to change notification settings - Fork 82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I had a problem when reading the wav file #6
Comments
Hi wangshaoce 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. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: