Hi. I have run the code on TIMIT with no problem. However, when I wanted to test this code on another speech database, I faced with the following error:
File "TIMIT_preparation.py", line 59, in
[signal, fs] = sf.read(wav_file)
File "C:\ProgramData\Anaconda3\lib\site-packages\soundfile.py", line 372, in read
with SoundFile(file, 'r', samplerate, channels,
File "C:\ProgramData\Anaconda3\lib\site-packages\soundfile.py", line 740, in init
self._file = self._open(file, mode_int, closefd)
File "C:\ProgramData\Anaconda3\lib\site-packages\soundfile.py", line 1264, in _open
_error_check(_snd.sf_error(file_ptr),
File "C:\ProgramData\Anaconda3\lib\site-packages\soundfile.py", line 1455, in _error_check
raise RuntimeError(prefix + _ffi.string(err_str).decode('utf-8', 'replace'))
RuntimeError: Error opening 'FARSDAT/S11.WAV': System error.
Would you please help me, how can I fix the problem?
Hi. I have run the code on TIMIT with no problem. However, when I wanted to test this code on another speech database, I faced with the following error:
File "TIMIT_preparation.py", line 59, in [signal, fs] = sf.read(wav_file) File "C:\ProgramData\Anaconda3\lib\site-packages\soundfile.py", line 372, in read with SoundFile(file, 'r', samplerate, channels, File "C:\ProgramData\Anaconda3\lib\site-packages\soundfile.py", line 740, in init self._file = self._open(file, mode_int, closefd) File "C:\ProgramData\Anaconda3\lib\site-packages\soundfile.py", line 1264, in _open _error_check(_snd.sf_error(file_ptr), File "C:\ProgramData\Anaconda3\lib\site-packages\soundfile.py", line 1455, in _error_check raise RuntimeError(prefix + _ffi.string(err_str).decode('utf-8', 'replace')) RuntimeError: Error opening 'FARSDAT/S11.WAV': System error.
Would you please help me, how can I fix the problem?