how i can fix this error in soundsc function
조회 수: 11 (최근 30일)
이전 댓글 표시
hi hope you are well
i am using matlab 2013
please please how i can fix this error
Error using soundsc (line 25) Audio data must be real and floating point.
in code for speech recognition that compares two sound and returns as result a "matching" or a "not matching
댓글 수: 0
채택된 답변
John D'Errico
2013년 12월 22일
Read the error message.
"Error using soundsc (line 25) Audio data must be real and floating point."
Walter left one thing out.
soundsc(real(double(YourData)))
Even better, figure out why your data is either not real or not double.
Was this really worth waiting for 9 hours?
댓글 수: 0
추가 답변 (9개)
n
2013년 12월 23일
댓글 수: 1
Walter Roberson
2013년 12월 24일
Where am I? In the middle of an extended power failure due to a large ice storm. 1/2 million people without power in below-freezing temperatures.
n
2013년 12월 23일
편집: Walter Roberson
2019년 11월 3일
댓글 수: 1
Image Analyst
2013년 12월 23일
Is this the answer? You posted it as an "answer" to your original question. If it's not an answer/solution, then add it as a "Comment" to someone else's answer.
n
2013년 12월 24일
댓글 수: 2
Image Analyst
2013년 12월 24일
Please stop adding answers and make them comments instead. These are not answers. Anyway, you marked it as accepted so a lot of people probably aren't even bothering to look at this anymore, figuring you got it solved.
참고 항목
카테고리
Help Center 및 File Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
