필터 지우기
필터 지우기

How to read audio file from file?

조회 수: 1 (최근 30일)
studentmatlaber
studentmatlaber 2022년 5월 16일
답변: Jan 2022년 5월 16일
Hello everyone, I want to read the sounds in my file with audoread, but I could not reach my files, it gives an error. I would be glad if you help.
[mSpeech,Fs] = audioread('D:\BİTİRME PROJESİ\TIMIT\data\TRAIN\DR2\FAEM0.SA1.wav');
sound(mSpeech,Fs)
  댓글 수: 2
Walter Roberson
Walter Roberson 2022년 5월 16일
What error do you see?
studentmatlaber
studentmatlaber 2022년 5월 16일
The filename specified was not found in the MATLAB path.
Error in audioread (line 136)
[y, Fs] = readaudio (filename, range, datatype)

댓글을 달려면 로그인하십시오.

채택된 답변

Jan
Jan 2022년 5월 16일
The error message tells clearly, that there is no file called
'D:\BİTİRME PROJESİ\TIMIT\data\TRAIN\DR2\FAEM0.SA1.wav'
There is no chance for the readers to guess, why this is the case. Maybe a typo in the name? Or a problem with the UTF8 characters?
Check this folders manually:
isfolder('D:\BİTİRME PROJESİ\')
isfolder('D:\BİTİRME PROJESİ\TIMIT\')
isfolder('D:\BİTİRME PROJESİ\TIMIT\data\')
isfolder('D:\BİTİRME PROJESİ\TIMIT\data\TRAIN\')
isfolder('D:\BİTİRME PROJESİ\TIMIT\data\TRAIN\DR2\')
isfile('D:\BİTİRME PROJESİ\TIMIT\data\TRAIN\DR2\FAEM0.SA1.wav')

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Audio and Video Data에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by