- how you created the file
- how you read the file
- what you are doing with the file once loaded
Cannot read PCM file formats with more than 32 bits per sample.
10 次查看(过去 30 天)
显示 更早的评论
What does this error means?
Cannot read PCM file formats with more than 32 bits per sample.
0 个评论
回答(2 个)
Daniel Shub
2012-5-13
I am assuming this comes from trying to use the WAVREAD function. I think the error is pretty straight forward. The PCM file (aka WAV file) has a resolution of greater than 32 bits per samples and MATLAB doesn't know what to do with it.
If you want a suggestion of how to deal with the error, you need to provide more information. Ideally you should edit your question to include
3 个评论
Daniel Shub
2012-5-13
The error most likely comes from
d2=wavread(filename);
It seems like the variable "filename" will be something like word1m1.wav
How did you create these WAV files? Presumably, the format of these WAV files is greater than 32 bits per sample.
marina
2012-5-13
2 个评论
Walter Roberson
2012-5-13
Try changing the order you enter the words in. Does it always happen after 3 words, or does it happen with particular files?
Try using wavinfo() to look at the information about the files.
Generally speaking when I see random errors like that cropping up, I look to be sure that all of the commands for reading the files are correct; random strange errors can show up if a string is used in a place that MATLAB is expecting a numeric array.
Daniel Shub
2012-5-13
This is not an answer, but either a comment to my previous answer or additional information for the question. Please put it in the appropriate place (use the edit "button" to edit your question, or the "comment on this answer" link to add a comment. This information says nothing about the three questions I asked.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Speech Recognition 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!