how i can fix this error in soundsc function
8 views (last 30 days)
Show older comments
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 Comments
Accepted Answer
John D'Errico
on 22 Dec 2013
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 Comments
More Answers (9)
n
on 23 Dec 2013
1 Comment
Walter Roberson
on 24 Dec 2013
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
on 23 Dec 2013
Edited: Walter Roberson
on 3 Nov 2019
1 Comment
Image Analyst
on 23 Dec 2013
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
on 24 Dec 2013
2 Comments
Image Analyst
on 24 Dec 2013
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.
See Also
Categories
Find more on Deep Learning Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!