having errors while converting .mat file to .wav file
이전 댓글 표시
x=load('read.mat');
>> f=fieldnames(x);
>> wavwrite(x.(f{1}),8000,'foo.wav')
Warning: Data clipped during write to file:foo.wav
> In wavwrite>PCM_Quantize at 247
In wavwrite>write_wavedat at 267
In wavwrite at 112
>>
채택된 답변
추가 답변 (1개)
Daniel Shub
2012년 5월 9일
0 개 추천
The error means that at least for one sample either x<-1 or x>1.
댓글 수: 6
tammna abid
2012년 5월 9일
Daniel Shub
2012년 5월 9일
See my edit
tammna abid
2012년 5월 9일
tammna abid
2012년 5월 9일
Daniel Shub
2012년 5월 9일
Thank you equals a vote. I wasn't suggesting you ask in that thread, but rather, that the answer was in the thread.
tammna abid
2012년 5월 11일
카테고리
도움말 센터 및 File Exchange에서 MATLAB에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!